[google-appengine] Dispatch routing to specific module
Is there anyway to achieve this at all? We are currently using a specific version, "dev", of our module, alongside the live version. Ideally we want to use a custom subdomain to point to the dev version, rather then using the horrible long URL. However, as stated here, https://cloud.google.com/appengine/docs/php/config/dispatchref, it seems you can only target a module, not a version. We have a subdomain setup for the module, but it obviously sends users to the live version, as that is set to 100% of the traffic. We don't want to use traffic splitting to send users to the dev version, as it is for company use only, as it may be drastically different to the live environment and not suitable for our users. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/43126731-77f5-481f-9307-a4ec60db021b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Appengine routing rules not working ...
Some of the app engine console was updated. Instead of setting a "default" version, it now uses traffic splitting. So your live version is the default, as it gets 100% of the traffic. I also believe you cannot dispatch to specific module versions. Dispatch.yaml only allows routing to a module (the version is then determined by the traffic splitting) NB - if you had two separate modules, you would need to use a dispatch.yaml to assign the custom domains, it is not done automatically. On Thursday, September 15, 2016 at 2:26:26 AM UTC+1, Aaron Alpar wrote: > > We have an Appengine application that has long used the version routing > described in the "Routing via URL" section of > https://cloud.google.com/appengine/docs/go/how-requests-are-routed. > > We have two version of our application, "live" and "master". "live" is > our production application, while "master" is used for testing. > > We have a custom domain, "taviti.com" assigned. > > Normally we use "https://live.taviti.com; to access our live site and " > https://master.taviti.com; to access our testing site. Using this > convention takes advantage of the default version routing described in the > "how-requests-are-routed" page to route traffic to our production or test > versions. > > The problem is that "https://master.taviti.com; is routing to our *live* > site. This condition persists despite: > > - We don't have any rules in our "dispatch.yaml" file that conflict with > the default routing described in the "how-requests-are-routed" document. > > - We do have Custom Domains, but the "master" versions, for test, all > appear to point at "master.taviti.com". > > - Curiously the Google Cloud Console, "Appengine", "Versions" tab shows > live receiving "100%" of the traffic, although we don't use traffic > splitting. > > We can access our test site through the "appspot.com" although its not > completely functional. > > My questions: > > Have there been any recent changes to how requests are routed? > > How can I discover is traffic splitting is turned on, and how do I turn it > off? > > What else can cause all the traffic to all custom domain names to be > routed to one version of our Appengine application? > > - Aaron > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/cf1513cc-a7ef-47de-b050-e0bdb81ce91c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Daily usage has shot up, eating through thousands of instance hours
We have noticed that in the past month, instance hours (front end and Cloud SQL) have shot up, in some cases tripling what it used to be. We have 3 main app engine modules running 1. WordPress site 2. CodeIgniter based PHP web app 3. CodeIgntier based PHP custom API We don't have a ton of traffic, but we do poll the API a lot (we have other web apps that poll the API to see if it can connect and run) It is 10:40am here in the UK and already we have used 300+ instance hours for all of our app engine stuff. What is going on? We are not going over any of our quotas, it's just instance hours. So how do we keep that cost down? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/0e363d98-1911-40c5-bf7c-ac6d7a4e095b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] TaskAlreadyExistsException does not provide getMessage()
I am using named Tasks in my PHP GAE application (using the current time, to the minute, stops a ton of tasks being submitted) and noticed that when TaskAlreadyExistsException is hit, there is no getMesaage() for the exception. Same goes for InvalidArgumentException. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/e5497d4c-f3df-40cc-9496-84c58b51c513%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] How to add a task to Push Queue from a different module?
I have two "modules", one being the main application and the other acting as an API. Both use the same Cloud SQL and Storage. How can I, in my code, add a task, from the API, to the Push Queue and have it run code that sits in the main application module? Is it simply a case of adding a task to a certain queue (by name) that targets the main app? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/c947a608-1ad9-4630-809b-a094845be38c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: How to add a task to Push Queue from a different module?
I just did some testing. I didn't need to use the dispatch.yaml, I simply had a named queue that targets the main app module. The code in the API then adds the Task to this named queue. Didn't need to use a Host header in the Task options. On Monday, November 16, 2015 at 1:51:55 PM UTC, Kurt Hartmann wrote: > > I'm doing this very thing in my Java app. > > >- In the main module, you need to add a dispatch.xml file to define a >mapping to your API module. In my case, the other module is called tasks. > > >- Below is a nnippet from my dispatch.xml showing the URL mapping to > the other module called tasks >- This file will be located in the same directory as appengine-web.xml > > > > > ... > > */tasks/* > tasks > > > > >- Then, I set up a little helper class to add a task to a push queue. >Be sure to set the Host property in the header, otherwise it won't work. >- I then dependency inject the PushTaskHelper, wherever I need it and >call the helper method > > > public class PushTaskHelper { > public static final String MODULE_WEB_TASKS_NAME = "tasks"; > public static final String MODULE_WEB_TASKS_VERSION = "v1"; > > public void addTaskToQueue(String controllerPath) { > String url = TASKS_MODULE_CONTEXT_ROOT + controllerPath; > TaskOptions task = > TaskOptions.Builder.withUrl(url).method(TaskOptions.Method.GET) > .header("Host", > ModulesServiceFactory.getModulesService().getVersionHostname(MODULE_WEB_TASKS_NAME, > > MODULE_WEB_TASKS_VERSION)); > QueueFactory.getDefaultQueue().add(task); > } > ... > } > > > > On Monday, November 16, 2015 at 6:16:18 AM UTC-6, Paul Canning wrote: >> >> I have two "modules", one being the main application and the other acting >> as an API. >> >> Both use the same Cloud SQL and Storage. >> >> How can I, in my code, add a task, from the API, to the Push Queue and >> have it run code that sits in the main application module? >> >> Is it simply a case of adding a task to a certain queue (by name) that >> targets the main app? >> > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/48c359c7-322b-4b7f-ba4a-62836ca355ad%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Can Push Queue tasks be executed in order?
How can you check for an existing running Task (in PHP)? Is there a way to "label" a task or do you have to check for its ID? On Saturday, November 14, 2015 at 3:43:04 AM UTC, Adam wrote: > > Hi Paul, > > It's possible to launch a task from another task. This means each task 1-9 > can check if the work from the other tasks has completed, and then launch > task #10 if it is. Task #10 should check to see if it's not already running > (singleton). Be careful to avoid having a task launch itself as this will > lead to a condition called a fork bomb > <https://cloud.google.com/appengine/docs/python/config/queue?hl=en#Python_Setting_the_storage_limit_for_all_queues> > . > > Cheers, > Adam > > On Friday, November 13, 2015 at 9:04:05 AM UTC-5, Paul Canning wrote: >> >> Say if I have 10 tasks I need to run, is there a way I can make sure >> tasks 1-9 are complete (in any order) before task 10 is launched? >> > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/8afa66a7-2fc6-4767-ab61-1bab0e47944f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: CodeIgniter - PHP Push Tasks giving different outcomes
Nevermind, I think I got it sussed. My controller was locked down so only logged in admins could trigger the task, and so was the end point. Obviously the Task Queue could not be logged in, so it failed. I'm guessing the best way to secure a task end point is to set a handler and use login: admin? On Thursday, November 12, 2015 at 7:22:28 PM UTC, Joshua Johnston wrote: > > Can you show us what the handlers section of your yaml looks like for the > non-working module? > > On Thursday, November 12, 2015 at 12:42:42 PM UTC-5, Paul Canning wrote: >> >> I have a CI app and I am trying to get Push Tasks to work. >> >> I have a controller, controller_a, with a method, method_a, which tells >> GAE to add a task to the queue, to hit controller_a/method_b, with a basic >> payload. Method_b simply writes a file to GCS (using verified working code). >> >> Now, my tasks appear, but always return as a 302 response. Method_a is >> fully accessible, checking the logs shows a 200 response. >> >> I can even actually go to controller_a/method_b and see a 200 response in >> the logs (obv. the POST data is missing). >> >> Now, this is where it gets weird. I made a full fresh install of CI and >> made a basic task example, as above. >> >> It works. 100%. I put in on a new module, and even made a new, >> non-default version to check. And it always works. >> >> Below are the responses I got from the working and non-working tasks. >> >> I simply cannot figure out for the life of me whats wrong. >> >> Both CI installs are the same version, 2.2.6. >> >> The non-working one *does* have additional CI routes and URL handlers in >> the app.yaml, but none that go near the task methods. >> >> *Working:* >> >> 0.1.0.2 - - [12/Nov/2015:08:44:22 -0800] "POST /tasks/test HTTP/1.1" 200 >> 25 https://ci-test-dot-myapp.appspot.com/ "AppEngine-Google; (+ >> http://code.google.com/appengine)" "ci-test.myapp.appspot.com" ms=623 >> cpu_ms=111 cpm_usd=2.7928e-06 >> instance=00c61b117c97eae25cc3ab600a819360a37cb04b app_engine_release=1.9.29 >> trace_id=- >> >> 0.1.0.2 - - [12/Nov/2015:09:09:19 -0800] "POST /tasks/test HTTP/1.1" 200 >> 25 https://1-1-dot-ci-test-dot-myapp.appspot.com/ "AppEngine-Google; (+ >> http://code.google.com/appengine)" "1-1.ci-test.myapp.appspot.com" >> ms=645 cpu_ms=107 cpm_usd=2.7928e-06 >> instance=00c61b117c91285c5c7991b03cfef45e55459cf8 app_engine_release=1.9.29 >> trace_id=- >> >> *Non- Working:* >> >> 0.1.0.2 - - [12/Nov/2015:09:00:48 -0800] "POST /cleanup/task HTTP/1.1" >> 302 563 http://1-4-dot-ci-app-dot-myapp.appspot.com/ "AppEngine-Google; >> (+http://code.google.com/appengine)" "1-4.ci-app.v.appspot.com" ms=31 >> cpu_ms=35 cpm_usd=6.292e-05 instance=00c61b117ce404978751535a24ad4d36a6c8c4 >> app_engine_release=1.9.29 trace_id=5641c0ed69cda78c99e147d41f7aae05 >> > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/eae87b72-94a0-4fb6-8669-6b4fc37ba3f2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: where the release notes for app engine 1.9.29?
Would be even nicer for them to tell cusomters when new versions are made live :/ On Friday, November 13, 2015 at 3:45:28 PM UTC, Rif Kiamil wrote: > > How can you put me on a runtime with no release notes? > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/ec0bad7b-9f4b-476d-a374-525545acecc9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Re: Google App Engine & Google Play Music... making apps that manage playlists on GAE
If you want to use the API so badly, why not use a non GAE server setup? On Friday, November 13, 2015 at 3:52:56 PM UTC, Cliff Hill wrote: > > I did, it won't work because Google is blocking the url s for Google Play > Music from being accessed by Google App Engine. > > People wanting "smart playlist" capabilities are not measured "in tens", > it is something a lot of people I have seen online ask for. This, to me, is > a way it can be accomplished. They already have the api built, just not > published or available in various languages (the interface is REST, and is > how the unofficial api accesses everything). Google just needs someone to > write a thin wrapper over it and make it available, or at the very least, > remove the blocking so the existing unofficial api can work. > > On Fri, Nov 13, 2015, 10:44 AM Paul Canning <pa...@drawandcode.com > > wrote: > >> The thing is, it IS asking a lot. It's not like it'll take one guy an >> afternoon of work. >> >> I highly doubt they'll make any form of API for Google Music, as you can >> create playlists etc on the website already. People wanting an API for >> their own personal projects are going to be numbered in the tens. >> >> If there is an unofficial Python API, have you looked into why it doesn't >> work on GAE? I think you'd be able to get that working much sooner then >> Google making a GM API (ie never) >> >> >> On Friday, November 13, 2015 at 3:09:16 PM UTC, Cliff Hill wrote: >>> >>> Before I start, I want to make it very clear -- I am not talking about >>> having a google app engine app that controls streaming music in any way, >>> just having the ability to manage/manipulate playlists, as well as the >>> metadata for tracks/songs I have in google play music. I want to propose >>> Google make an API available for their music service to accomplish this. >>> There already is an unofficial API in Python that allows this, but it is >>> unofficial, and it doesn't seem to work in google app engine. >>> >>> A little backstory: >>> >>> I have a scheme for automatically manipulating a playlist that changes >>> each day, cycling through my music library, which now exists on Google Play >>> Music. I had started from iTunes, which gave me the ability to construct >>> "smart playlists", which essentially allowed me to apply set theory >>> concepts to music -- setting up relationships between songs, and using that >>> to structure sets of playlists that all automatically update as my music >>> was being played -- all for free. I used it to automatically load my phone >>> with a bunch of songs each day, which then I could play, and when I >>> re-synchronized my iPhone with iTunes, it would remove my played songs, and >>> add new songs to my phone automatically. >>> >>> However, I'm not an avid Apple user... in fact, I generally prefer >>> avoiding it. I am a Linux user (and I had to make a VM instance to install >>> Windows just to get iTunes to work correctly back then). So, when my Gen 1 >>> iPhone's 2-year contract was ended, I switched to another phone... and >>> stopped using iTunes. However, I found another way to continue my "smart >>> playlist", through the streaming server called Firefly, I just set up my >>> own server, installed, firefly, had all my music available on it, and could >>> get it to do what I did in iTunes, all without me needing my phone. >>> Eventually, I migrated to Squeezebox Server and did a similar trick on that >>> (because Firefly was... unstable). This worked (mostly) fine, until my >>> server died. As I went to rebuild my playlist, I gave up on squeezebox >>> server, because I didn't like managing it through SQL. I then switched to >>> mpd (music player daemon), and figured out how to manage the playlists >>> through my own hand in Python, and got it functional again, only after a >>> few years having my new server die as well. >>> >>> Google offers the Play Music service, which allowed me to upload my >>> music library to it, this solves the problem of my personal server failing >>> on me. Google also offers Google App Engine for Python. Essentially, these >>> two services would be a perfect fit for me -- I could build my playlist >>> generator in Google App Engine, and have it manage my playlist in Google >>> Play Music, and simply then use my playlist in Google Play Music, returning >>> back to being able to pl
[google-appengine] Re: Google App Engine & Google Play Music... making apps that manage playlists on GAE
The thing is, it IS asking a lot. It's not like it'll take one guy an afternoon of work. I highly doubt they'll make any form of API for Google Music, as you can create playlists etc on the website already. People wanting an API for their own personal projects are going to be numbered in the tens. If there is an unofficial Python API, have you looked into why it doesn't work on GAE? I think you'd be able to get that working much sooner then Google making a GM API (ie never) On Friday, November 13, 2015 at 3:09:16 PM UTC, Cliff Hill wrote: > > Before I start, I want to make it very clear -- I am not talking about > having a google app engine app that controls streaming music in any way, > just having the ability to manage/manipulate playlists, as well as the > metadata for tracks/songs I have in google play music. I want to propose > Google make an API available for their music service to accomplish this. > There already is an unofficial API in Python that allows this, but it is > unofficial, and it doesn't seem to work in google app engine. > > A little backstory: > > I have a scheme for automatically manipulating a playlist that changes > each day, cycling through my music library, which now exists on Google Play > Music. I had started from iTunes, which gave me the ability to construct > "smart playlists", which essentially allowed me to apply set theory > concepts to music -- setting up relationships between songs, and using that > to structure sets of playlists that all automatically update as my music > was being played -- all for free. I used it to automatically load my phone > with a bunch of songs each day, which then I could play, and when I > re-synchronized my iPhone with iTunes, it would remove my played songs, and > add new songs to my phone automatically. > > However, I'm not an avid Apple user... in fact, I generally prefer > avoiding it. I am a Linux user (and I had to make a VM instance to install > Windows just to get iTunes to work correctly back then). So, when my Gen 1 > iPhone's 2-year contract was ended, I switched to another phone... and > stopped using iTunes. However, I found another way to continue my "smart > playlist", through the streaming server called Firefly, I just set up my > own server, installed, firefly, had all my music available on it, and could > get it to do what I did in iTunes, all without me needing my phone. > Eventually, I migrated to Squeezebox Server and did a similar trick on that > (because Firefly was... unstable). This worked (mostly) fine, until my > server died. As I went to rebuild my playlist, I gave up on squeezebox > server, because I didn't like managing it through SQL. I then switched to > mpd (music player daemon), and figured out how to manage the playlists > through my own hand in Python, and got it functional again, only after a > few years having my new server die as well. > > Google offers the Play Music service, which allowed me to upload my music > library to it, this solves the problem of my personal server failing on me. > Google also offers Google App Engine for Python. Essentially, these two > services would be a perfect fit for me -- I could build my playlist > generator in Google App Engine, and have it manage my playlist in Google > Play Music, and simply then use my playlist in Google Play Music, returning > back to being able to play my music from my (Google Nexus) phone. Except: > There is no official Google Play Music API available to use in Google App > Engine, and using the unofficial Python API doesn't work because Google > blocks this access. I could write my code to make it work from my own > server without using Google App Engine, but I would rather a solution that > is cloud-based. Since it is Google talking to Google, I would think it > shouldn't be too hard to do. > > I don't have an All Access account, I just want to be able to play my own > music, streamed through Google Play Music, and have a way to manage my > playlist, preferably through Google App Engine. The API doesn't need to be > all that advanced: Just playlist management (CRUD) controls (listing > playlists, creating/deleting/updating a playlist), and the ability to see > all my music I have uploaded on Google Play Music. As I said before, the > unofficial Python API allows for this, but it is unofficial, and unusable > on GAE. > > I don't think this is asking too much of Google to allow for this kind of > access between two of their products. As I said at the beginning -- I am > not looking for a way to stream the music outside of the approved Google > Play Music system. I am simply wanting to be able to implement a way to > manipulate my playlists on Google Play Music to dynamically change them > based on my own sets of rules. I'd prefer this to be doable on Google App > Engine (where I could have a lot of control over it), but I could also be > persuaded to do this through a "smart
[google-appengine] Re: CodeIgniter - PHP Push Tasks giving different outcomes
Yea, I may also implement checking the request headers that the push tasks queue sets. Cheers! On Friday, November 13, 2015 at 1:45:01 PM UTC, Joshua Johnston wrote: > > login: admin is the way we do them as well. > > On Friday, November 13, 2015 at 5:00:25 AM UTC-5, Paul Canning wrote: >> >> Nevermind, I think I got it sussed. >> >> My controller was locked down so only logged in admins could trigger the >> task, and so was the end point. Obviously the Task Queue could not be >> logged in, so it failed. >> >> I'm guessing the best way to secure a task end point is to set a handler >> and use login: admin? >> >> On Thursday, November 12, 2015 at 7:22:28 PM UTC, Joshua Johnston wrote: >>> >>> Can you show us what the handlers section of your yaml looks like for >>> the non-working module? >>> >>> On Thursday, November 12, 2015 at 12:42:42 PM UTC-5, Paul Canning wrote: >>>> >>>> I have a CI app and I am trying to get Push Tasks to work. >>>> >>>> I have a controller, controller_a, with a method, method_a, which tells >>>> GAE to add a task to the queue, to hit controller_a/method_b, with a basic >>>> payload. Method_b simply writes a file to GCS (using verified working >>>> code). >>>> >>>> Now, my tasks appear, but always return as a 302 response. Method_a is >>>> fully accessible, checking the logs shows a 200 response. >>>> >>>> I can even actually go to controller_a/method_b and see a 200 response >>>> in the logs (obv. the POST data is missing). >>>> >>>> Now, this is where it gets weird. I made a full fresh install of CI and >>>> made a basic task example, as above. >>>> >>>> It works. 100%. I put in on a new module, and even made a new, >>>> non-default version to check. And it always works. >>>> >>>> Below are the responses I got from the working and non-working tasks. >>>> >>>> I simply cannot figure out for the life of me whats wrong. >>>> >>>> Both CI installs are the same version, 2.2.6. >>>> >>>> The non-working one *does* have additional CI routes and URL handlers >>>> in the app.yaml, but none that go near the task methods. >>>> >>>> *Working:* >>>> >>>> 0.1.0.2 - - [12/Nov/2015:08:44:22 -0800] "POST /tasks/test HTTP/1.1" >>>> 200 25 https://ci-test-dot-myapp.appspot.com/ "AppEngine-Google; (+ >>>> http://code.google.com/appengine)" "ci-test.myapp.appspot.com" ms=623 >>>> cpu_ms=111 cpm_usd=2.7928e-06 >>>> instance=00c61b117c97eae25cc3ab600a819360a37cb04b >>>> app_engine_release=1.9.29 >>>> trace_id=- >>>> >>>> 0.1.0.2 - - [12/Nov/2015:09:09:19 -0800] "POST /tasks/test HTTP/1.1" >>>> 200 25 https://1-1-dot-ci-test-dot-myapp.appspot.com/ >>>> "AppEngine-Google; (+http://code.google.com/appengine)" " >>>> 1-1.ci-test.myapp.appspot.com" ms=645 cpu_ms=107 >>>> cpm_usd=2.7928e-06 >>>> instance=00c61b117c91285c5c7991b03cfef45e55459cf8 >>>> app_engine_release=1.9.29 >>>> trace_id=- >>>> >>>> *Non- Working:* >>>> >>>> 0.1.0.2 - - [12/Nov/2015:09:00:48 -0800] "POST /cleanup/task HTTP/1.1" >>>> 302 563 http://1-4-dot-ci-app-dot-myapp.appspot.com/ >>>> "AppEngine-Google; (+http://code.google.com/appengine)" " >>>> 1-4.ci-app.v.appspot.com" ms=31 cpu_ms=35 cpm_usd=6.292e-05 >>>> instance=00c61b117ce404978751535a24ad4d36a6c8c4 app_engine_release=1.9.29 >>>> trace_id=5641c0ed69cda78c99e147d41f7aae05 >>>> >>> -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/d626c464-8505-4df3-8300-1598b3e893de%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Can Push Queue tasks be executed in order?
Say if I have 10 tasks I need to run, is there a way I can make sure tasks 1-9 are complete (in any order) before task 10 is launched? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/efcde631-439b-4aba-b376-f4ce94fb661a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] CodeIgniter - PHP Push Tasks giving different outcomes
I have a CI app and I am trying to get Push Tasks to work. I have a controller, controller_a, with a method, method_a, which tells GAE to add a task to the queue, to hit controller_a/method_b, with a basic payload. Method_b simply writes a file to GCS (using verified working code). Now, my tasks appear, but always return as a 302 response. Method_a is fully accessible, checking the logs shows a 200 response. I can even actually go to controller_a/method_b and see a 200 response in the logs (obv. the POST data is missing). Now, this is where it gets weird. I made a full fresh install of CI and made a basic task example, as above. It works. 100%. I put in on a new module, and even made a new, non-default version to check. And it always works. Below are the responses I got from the working and non-working tasks. I simply cannot figure out for the life of me whats wrong. Both CI installs are the same version, 2.2.6. The non-working one *does* have additional CI routes and URL handlers in the app.yaml, but none that go near the task methods. *Working:* 0.1.0.2 - - [12/Nov/2015:08:44:22 -0800] "POST /tasks/test HTTP/1.1" 200 25 https://ci-test-dot-myapp.appspot.com/ "AppEngine-Google; (+http://code.google.com/appengine)" "ci-test.myapp.appspot.com" ms=623 cpu_ms=111 cpm_usd=2.7928e-06 instance=00c61b117c97eae25cc3ab600a819360a37cb04b app_engine_release=1.9.29 trace_id=- 0.1.0.2 - - [12/Nov/2015:09:09:19 -0800] "POST /tasks/test HTTP/1.1" 200 25 https://1-1-dot-ci-test-dot-myapp.appspot.com/ "AppEngine-Google; (+http://code.google.com/appengine)" "1-1.ci-test.myapp.appspot.com" ms=645 cpu_ms=107 cpm_usd=2.7928e-06 instance=00c61b117c91285c5c7991b03cfef45e55459cf8 app_engine_release=1.9.29 trace_id=- *Non- Working:* 0.1.0.2 - - [12/Nov/2015:09:00:48 -0800] "POST /cleanup/task HTTP/1.1" 302 563 http://1-4-dot-ci-app-dot-myapp.appspot.com/ "AppEngine-Google; (+http://code.google.com/appengine)" "1-4.ci-app.v.appspot.com" ms=31 cpu_ms=35 cpm_usd=6.292e-05 instance=00c61b117ce404978751535a24ad4d36a6c8c4 app_engine_release=1.9.29 trace_id=5641c0ed69cda78c99e147d41f7aae05 -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/bc43017f-3244-4779-b596-c4287950359e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: PHP - No HTTP_X_REQUESTED_WITH/X-Requested-With header given for ajax requests
Yes, I checked all headers, using Chrome Inspector, POSTMan and using my PHP app to spit them out in JSON format. On Tuesday, October 20, 2015 at 8:09:42 PM UTC+1, Kaan Soral wrote: > > Are you checking all the headers by the way? > > Usually the naming of headers change, but with Python, looking at all the > headers is a good way to spot a wanted header > > I don't know what kind of a framework PHP has, but as far as I remember, > the Python one (webapp) used to strip some headers during handling, they > could be reached through a deeper access, but my recollection is hazy > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/c125e3e3-f99e-4a3e-bf7e-a5fa277aaf32%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] PHP - No HTTP_X_REQUESTED_WITH/X-Requested-With header given for ajax requests
I am making various AJAX requests from a HTML5 web-app to my PHP application (CodeIgniter) on GAE (PHP), and I am not seeing the HTTP_X_REQUESTED_WITH/X-Requested-With header in the headers. In a slightly related issue, I am also not getting the Content-Length headers from GAE (PHP). -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/2b8d52b8-c7e9-4480-97a7-2e4b2dd56f71%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Cloud Storage getImageServingUrl questions
I have a page that loads in a lot of different sized images via AJAX, some "landscape" (1280x720) and some "portrait" (720x1280). I'd like to display them in Bootstrap 3, using the responsive image class. Ideally it'd be good to show all images using a max height limit, say 200px. Using getImageServingUrl's size option doesn't really do what I want, as this only serves a version where the dimension with the highest value is used. E.g a 1280x720 image sized to say 320, would have a width of 320 and a height of 180 But a 720x1280 image has its height changed, to 320, with the wdith being 180. So I have two images, with heights of 180 and 320, which doesn't look right. Add in loads more images and the grid starts to look ugly. So is there a way to achieve a uniform grid where portrait and landscape images are resized to fit the grid better? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/e4ad0634-d886-4bea-860a-babb1f1895b4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Re: Cloud Storage getImageServingUrl questions
I'm guessing then there is no way to do this without cropping? On 23 September 2015 at 15:21, Ryan (Cloud Platform Support) < rbruy...@google.com> wrote: > Salutations Paul, > > Have you looked at the crop flag > <https://cloud.google.com/appengine/docs/php/refdocs/classes/google.appengine.api.cloud_storage.CloudStorageTools#method_getImageServingUrl> > ? > > > Original[image: OriginalImage] > Cropped[image: Image] > Not Cropped[image: Image] > > > On Wednesday, September 23, 2015 at 9:58:28 AM UTC-4, Paul Canning wrote: >> >> I have a page that loads in a lot of different sized images via AJAX, >> some "landscape" (1280x720) and some "portrait" (720x1280). >> >> I'd like to display them in Bootstrap 3, using the responsive image class. >> >> Ideally it'd be good to show all images using a max height limit, say >> 200px. >> >> Using getImageServingUrl's size option doesn't really do what I want, as >> this only serves a version where the dimension with the highest value is >> used. >> >> E.g a 1280x720 image sized to say 320, would have a width of 320 and a >> height of 180 >> >> But a 720x1280 image has its height changed, to 320, with the wdith being >> 180. >> >> So I have two images, with heights of 180 and 320, which doesn't look >> right. >> >> Add in loads more images and the grid starts to look ugly. >> >> So is there a way to achieve a uniform grid where portrait and landscape >> images are resized to fit the grid better? >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "Google App Engine" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/google-appengine/zOsPCICZQqo/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > google-appengine+unsubscr...@googlegroups.com. > To post to this group, send email to google-appengine@googlegroups.com. > Visit this group at http://groups.google.com/group/google-appengine. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-appengine/ffc41374-38a7-4377-a56e-7c394043bed3%40googlegroups.com > <https://groups.google.com/d/msgid/google-appengine/ffc41374-38a7-4377-a56e-7c394043bed3%40googlegroups.com?utm_medium=email_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- - Paul Canning [ software artist ] - [draw] digital creative studio +44 (0)151 329 0900 Website <http://www.drawandcode.com/> / Twitter <https://twitter.com/DrawAndCode> / Facebook <https://www.facebook.com/drawandcode> / Vimeo <https://vimeo.com/drawandcode> - -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAH%2B40aPaDHUsUxbj1r%2BHhUh-ZLmd-S9T_ubUt0mrSdUSrXcfFA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Download specific Module code?
I know you can download your default module code using appcfg.py download_app and even a specific version of the default module. Nut is it possible to download the code of a MODULE? E.G I have the the default app, Website A. I thne have a module, which is an entirely different site, Website B. The appcfg.py command will only let me download versions of Website A. Here is the usage: Usage: appcfg.py [options] download_app -A app_id [ -V version ] out-dir See, no options for module. So, how can I download specific module code? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/a8eb8e77-2eaa-4dc1-aecc-18995c1271d8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Re: Download specific Module code?
I think you have misunderstood. The download_app command ONLY downloads the default app engine module for a project. Example: - Project - top level, google Cloud Platform project - App Engine Apps - Default Module - Website A (worpdress site) - Version 1 - Version 2 - etc - 2nd Module - Website B (bespoke PHP site) - Version 1 - Version 2 - etc Now, if I did appcfg.py download_app -A adgen-web-2015 This will ONLY download Website A. I can specify a version of Website A, but it will only ever be Website A. You CANNOT specify anyway to download Website B, left alone a version of it. On Tue, Aug 4, 2015 at 3:59 PM, Ryan (Cloud Platform Support) rbruy...@google.com wrote: Salutations Paul, When you download code for a version it downloads all the modules in that version. There is no need to specify a module. On Tuesday, August 4, 2015 at 6:32:00 AM UTC-4, Paul Canning wrote: I know you can download your default module code using appcfg.py download_app and even a specific version of the default module. Nut is it possible to download the code of a MODULE? E.G I have the the default app, Website A. I thne have a module, which is an entirely different site, Website B. The appcfg.py command will only let me download versions of Website A. Here is the usage: Usage: appcfg.py [options] download_app -A app_id [ -V version ] out-dir See, no options for module. So, how can I download specific module code? -- You received this message because you are subscribed to a topic in the Google Groups Google App Engine group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/YOSxlbn-SbY/unsubscribe . To unsubscribe from this group and all its topics, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/f75a69ff-7fc1-4aca-a636-254d649ee9d6%40googlegroups.com https://groups.google.com/d/msgid/google-appengine/f75a69ff-7fc1-4aca-a636-254d649ee9d6%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- - Paul Canning [ software artist ] - [drawcode] digital creative studio +44 (0)151 329 0900 Website http://www.drawandcode.com/ / Twitter https://twitter.com/DrawAndCode / Facebook https://www.facebook.com/drawandcode / Vimeo https://vimeo.com/drawandcode - -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAH%2B40aNrt4X2oaZtR8my1tCacurC-xya7trywi0c-K4-s%3DC2qQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Re: Download specific Module code?
To add to this, here is the output is I try to target a Module name instead of a project name (appcfg.py download_app -A module_name 04:05 PM Host: appengine.google.com 04:05 PM Fetching file list... Error 403: --- begin server output --- You do not have permission to modify this app (app_id=u'module_name'). --- end server output --- On Tue, Aug 4, 2015 at 4:05 PM, Paul Canning p...@drawandcode.com wrote: I think you have misunderstood. The download_app command ONLY downloads the default app engine module for a project. Example: - Project - top level, google Cloud Platform project - App Engine Apps - Default Module - Website A (worpdress site) - Version 1 - Version 2 - etc - 2nd Module - Website B (bespoke PHP site) - Version 1 - Version 2 - etc Now, if I did appcfg.py download_app -A adgen-web-2015 This will ONLY download Website A. I can specify a version of Website A, but it will only ever be Website A. You CANNOT specify anyway to download Website B, left alone a version of it. On Tue, Aug 4, 2015 at 3:59 PM, Ryan (Cloud Platform Support) rbruy...@google.com wrote: Salutations Paul, When you download code for a version it downloads all the modules in that version. There is no need to specify a module. On Tuesday, August 4, 2015 at 6:32:00 AM UTC-4, Paul Canning wrote: I know you can download your default module code using appcfg.py download_app and even a specific version of the default module. Nut is it possible to download the code of a MODULE? E.G I have the the default app, Website A. I thne have a module, which is an entirely different site, Website B. The appcfg.py command will only let me download versions of Website A. Here is the usage: Usage: appcfg.py [options] download_app -A app_id [ -V version ] out-dir See, no options for module. So, how can I download specific module code? -- You received this message because you are subscribed to a topic in the Google Groups Google App Engine group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/YOSxlbn-SbY/unsubscribe . To unsubscribe from this group and all its topics, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/f75a69ff-7fc1-4aca-a636-254d649ee9d6%40googlegroups.com https://groups.google.com/d/msgid/google-appengine/f75a69ff-7fc1-4aca-a636-254d649ee9d6%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- - Paul Canning [ software artist ] - [drawcode] digital creative studio +44 (0)151 329 0900 Website http://www.drawandcode.com/ / Twitter https://twitter.com/DrawAndCode / Facebook https://www.facebook.com/drawandcode / Vimeo https://vimeo.com/drawandcode - -- - Paul Canning [ software artist ] - [drawcode] digital creative studio +44 (0)151 329 0900 Website http://www.drawandcode.com/ / Twitter https://twitter.com/DrawAndCode / Facebook https://www.facebook.com/drawandcode / Vimeo https://vimeo.com/drawandcode - -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAH%2B40aM3%2BMrgx51Tq1AefPcLxWbs-MyHs-XNVwtCzG223sWS8A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Download specific Module code?
Also, for download_app the -A option does not work (for me) unless I put the PROJECT name. I tried app (modules) names but it says the application doesnt exist. I have full permissions. Do you have to login to appcfg.py download_app in any way to show you are authorized? I tried appcfg.py download_py -A default . (default is the app name of Website A) and it failed. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/9f5a0752-2fe7-4b18-9d76-bafb6f257655%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Re: Download specific Module code?
What's the difference between App Engine Modules and Company modules? My modules are uploaded separately, so Website A uses app.yaml and Website B uses app-b.yaml They exist on app engine as separate modules, each with their own versions. The appcfg command cannot grab anything other then Website A. And when it downloaded Website A, it only download the active (default) version. On 4 Aug 2015 17:39, Ryan (Cloud Platform Support) rbruy...@google.com wrote: The error you are seeing means you do not have access to the code https://cloud.google.com/appengine/docs/python/tools/uploadinganapp?hl=en#Python_Downloading_source_code . For sanity sake I tested this: Created a fresh app Create 2 modules (modulea, moduleb) Uploaded using appcfg.py update app.yaml modulea moduleb Confirmed all pages worked Downloaded using: appcfg.py download_app -A app-id-here . All files for ALL modules are present. What I think is happening with you is you are confusing App Engine modules https://cloud.google.com/appengine/docs/python/modules/ and company decided modules. Do they have different app ids? On Tuesday, August 4, 2015 at 6:32:00 AM UTC-4, Paul Canning wrote: I know you can download your default module code using appcfg.py download_app and even a specific version of the default module. Nut is it possible to download the code of a MODULE? E.G I have the the default app, Website A. I thne have a module, which is an entirely different site, Website B. The appcfg.py command will only let me download versions of Website A. Here is the usage: Usage: appcfg.py [options] download_app -A app_id [ -V version ] out-dir See, no options for module. So, how can I download specific module code? -- You received this message because you are subscribed to a topic in the Google Groups Google App Engine group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/YOSxlbn-SbY/unsubscribe . To unsubscribe from this group and all its topics, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/55cb7ed9-538d-4324-b389-f70a9790dafe%40googlegroups.com https://groups.google.com/d/msgid/google-appengine/55cb7ed9-538d-4324-b389-f70a9790dafe%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAH%2B40aPxxFhsGDddBWNScJnbLyUTsNTeP2Rkgin9F0HJS6vpnA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Billing issue
Hi, I have an outstanding bill to pay (due to a card being cloned and therefore cancelled) but I'd like to know if there is a way to pay the bill by assigning it to a new billing account, transferring the balance if you will. I understand I can just pay the bill with a new card (I think!) but I'd like to assign it to the newly set up billing account (someone else is in charge of payments now, so a whole new billing account was made, rather then just change the card on the current account). So, is this possible? Or am I just going to have to pay the bill one off with the new billable accounts card? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/18945943-0169-407a-9060-189e87e72d66%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Dev App server giving error Call to undefined function move_uploaded_file()
I got it to work using the PHP executable path flag, but yea, would be nice for it to work as it did previously! On 29 Jul 2015 22:31, Mars Lan mars...@google.com wrote: I believe this is a known issue of gcloud. Please use the App Engine SDK for now: https://cloud.google.com/appengine/downloads On Tue, Jul 28, 2015 at 2:03 AM, Paul Canning p...@drawandcode.com wrote: Google Cloud SDK 0.9.70 app 2015.07.16 app-engine-java 1.9.23 app-engine-python 1.9.23 app-engine-python-extras 1.9.21 bq 2.0.18 bq-win 2.0.18 core 2015.07.16 core-win 2015.06.02 gcloud 2015.07.16 gsutil 4.13 gsutil-win 4.12 preview 2015.07.16 windows-ssh-tools 2015.06.02 On Tue, Jul 28, 2015 at 12:31 AM, Mars Lan mars...@google.com wrote: What version of SDK are you using? On Mon, Jul 27, 2015 at 4:25 PM, Paul Canning p...@drawandcode.com wrote: I'll give it a go, but like I said, I've never used those flags before and it's worked fine. Why all of a sudden do I need to use them? On 28 Jul 2015 00:16, Mars Lan mars...@google.com wrote: The documentation is a bit behind, but the corresponding flags are --php_executable_path --php_gae_extension_path. They are automatically specified when running from the launcher, and you can see the exact command from the log window. On Mon, Jul 27, 2015 at 4:11 PM, Paul Canning p...@drawandcode.com wrote: Can you link to any documentation? I've never had to do that before. I've always just ran dev_appserver.py app.yaml and it worked. On 28 Jul 2015 00:07, Mars Lan mars...@google.com wrote: In the command line you'll need to point to the bundled PHP interpreter and GAE extension in order for things to work correctly. On Mon, Jul 27, 2015 at 2:34 PM, Paul Canning p...@drawandcode.com wrote: Sorry my reply was to the message above yours. I'll do a full break down tomorrow. Despite posting in the wrong place, has anyone got any insight on this issue? On 27 Jul 2015 22:21, Nick (Cloud Platform Support) pay...@google.com wrote: Hey Paul, It's great to provide that info. As I mentioned in my reply, I think this should move to stackoverflow, where you'll find a lot more people who can help. Be sure to include the full error message and code context when you do so. Best wishes, Nick On Monday, July 27, 2015 at 5:19:20 PM UTC-4, Paul Canning wrote: Windows 7, 64bit. Via terminal. This worked in the same dev environment just a week or so ago. And as mentioned, works flawlessly on my deployment module. Same code, same PHP version. On 27 Jul 2015 22:03, Mars Lan mars...@google.com wrote: What OS are you running dev_appserver on? Are you using terminal or launcher? On Monday, July 27, 2015 at 3:27:21 AM UTC-7, Paul Canning wrote: The dev app server has started giving me the error: Call to undefined function move_uploaded_file() I am using this same function on a live module and it has worked perfectly in the past on the dev server. I am using PHP 5.5, defined in the config yaml file. -- - Paul Canning [ software artist ] - [drawcode] digital creative studio +44 (0)151 329 0900 Website http://www.drawandcode.com/ / Twitter https://twitter.com/DrawAndCode / Facebook https://www.facebook.com/drawandcode / Vimeo https://vimeo.com/drawandcode - -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAH%2B40aOFzzOu0RPm9%3DuC2-%3DbwPOqdG2wnnzVL%3DXyLXa9jaR%2B%2Bg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Dev App server giving error Call to undefined function move_uploaded_file()
Google Cloud SDK 0.9.70 app 2015.07.16 app-engine-java 1.9.23 app-engine-python 1.9.23 app-engine-python-extras 1.9.21 bq 2.0.18 bq-win 2.0.18 core 2015.07.16 core-win 2015.06.02 gcloud 2015.07.16 gsutil 4.13 gsutil-win 4.12 preview 2015.07.16 windows-ssh-tools 2015.06.02 On Tue, Jul 28, 2015 at 12:31 AM, Mars Lan mars...@google.com wrote: What version of SDK are you using? On Mon, Jul 27, 2015 at 4:25 PM, Paul Canning p...@drawandcode.com wrote: I'll give it a go, but like I said, I've never used those flags before and it's worked fine. Why all of a sudden do I need to use them? On 28 Jul 2015 00:16, Mars Lan mars...@google.com wrote: The documentation is a bit behind, but the corresponding flags are --php_executable_path --php_gae_extension_path. They are automatically specified when running from the launcher, and you can see the exact command from the log window. On Mon, Jul 27, 2015 at 4:11 PM, Paul Canning p...@drawandcode.com wrote: Can you link to any documentation? I've never had to do that before. I've always just ran dev_appserver.py app.yaml and it worked. On 28 Jul 2015 00:07, Mars Lan mars...@google.com wrote: In the command line you'll need to point to the bundled PHP interpreter and GAE extension in order for things to work correctly. On Mon, Jul 27, 2015 at 2:34 PM, Paul Canning p...@drawandcode.com wrote: Sorry my reply was to the message above yours. I'll do a full break down tomorrow. Despite posting in the wrong place, has anyone got any insight on this issue? On 27 Jul 2015 22:21, Nick (Cloud Platform Support) pay...@google.com wrote: Hey Paul, It's great to provide that info. As I mentioned in my reply, I think this should move to stackoverflow, where you'll find a lot more people who can help. Be sure to include the full error message and code context when you do so. Best wishes, Nick On Monday, July 27, 2015 at 5:19:20 PM UTC-4, Paul Canning wrote: Windows 7, 64bit. Via terminal. This worked in the same dev environment just a week or so ago. And as mentioned, works flawlessly on my deployment module. Same code, same PHP version. On 27 Jul 2015 22:03, Mars Lan mars...@google.com wrote: What OS are you running dev_appserver on? Are you using terminal or launcher? On Monday, July 27, 2015 at 3:27:21 AM UTC-7, Paul Canning wrote: The dev app server has started giving me the error: Call to undefined function move_uploaded_file() I am using this same function on a live module and it has worked perfectly in the past on the dev server. I am using PHP 5.5, defined in the config yaml file. -- - Paul Canning [ software artist ] - [drawcode] digital creative studio +44 (0)151 329 0900 Website http://www.drawandcode.com/ / Twitter https://twitter.com/DrawAndCode / Facebook https://www.facebook.com/drawandcode / Vimeo https://vimeo.com/drawandcode - -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAH%2B40aOh2Uwy6yH1fBxU2h%2BJKYabBujBuTKbj0njnw8E3PW7eQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Dev App server giving error Call to undefined function move_uploaded_file()
Windows 7, 64bit. Via terminal. This worked in the same dev environment just a week or so ago. And as mentioned, works flawlessly on my deployment module. Same code, same PHP version. On 27 Jul 2015 22:03, Mars Lan mars...@google.com wrote: What OS are you running dev_appserver on? Are you using terminal or launcher? On Monday, July 27, 2015 at 3:27:21 AM UTC-7, Paul Canning wrote: The dev app server has started giving me the error: Call to undefined function move_uploaded_file() I am using this same function on a live module and it has worked perfectly in the past on the dev server. I am using PHP 5.5, defined in the config yaml file. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAH%2B40aNchBO6uQKWSYdptTW9uyCrdbVQWSYh5AW2-5XzDcY07Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Dev App server giving error Call to undefined function move_uploaded_file()
Sorry my reply was to the message above yours. I'll do a full break down tomorrow. Despite posting in the wrong place, has anyone got any insight on this issue? On 27 Jul 2015 22:21, Nick (Cloud Platform Support) pay...@google.com wrote: Hey Paul, It's great to provide that info. As I mentioned in my reply, I think this should move to stackoverflow, where you'll find a lot more people who can help. Be sure to include the full error message and code context when you do so. Best wishes, Nick On Monday, July 27, 2015 at 5:19:20 PM UTC-4, Paul Canning wrote: Windows 7, 64bit. Via terminal. This worked in the same dev environment just a week or so ago. And as mentioned, works flawlessly on my deployment module. Same code, same PHP version. On 27 Jul 2015 22:03, Mars Lan mars...@google.com wrote: What OS are you running dev_appserver on? Are you using terminal or launcher? On Monday, July 27, 2015 at 3:27:21 AM UTC-7, Paul Canning wrote: The dev app server has started giving me the error: Call to undefined function move_uploaded_file() I am using this same function on a live module and it has worked perfectly in the past on the dev server. I am using PHP 5.5, defined in the config yaml file. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAH%2B40aMoMugspHFv1PrjTNcxZVjPvkqkeEGkfwiYQy4mh%2BhSmw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Dev App server giving error Call to undefined function move_uploaded_file()
I'll give it a go, but like I said, I've never used those flags before and it's worked fine. Why all of a sudden do I need to use them? On 28 Jul 2015 00:16, Mars Lan mars...@google.com wrote: The documentation is a bit behind, but the corresponding flags are --php_executable_path --php_gae_extension_path. They are automatically specified when running from the launcher, and you can see the exact command from the log window. On Mon, Jul 27, 2015 at 4:11 PM, Paul Canning p...@drawandcode.com wrote: Can you link to any documentation? I've never had to do that before. I've always just ran dev_appserver.py app.yaml and it worked. On 28 Jul 2015 00:07, Mars Lan mars...@google.com wrote: In the command line you'll need to point to the bundled PHP interpreter and GAE extension in order for things to work correctly. On Mon, Jul 27, 2015 at 2:34 PM, Paul Canning p...@drawandcode.com wrote: Sorry my reply was to the message above yours. I'll do a full break down tomorrow. Despite posting in the wrong place, has anyone got any insight on this issue? On 27 Jul 2015 22:21, Nick (Cloud Platform Support) pay...@google.com wrote: Hey Paul, It's great to provide that info. As I mentioned in my reply, I think this should move to stackoverflow, where you'll find a lot more people who can help. Be sure to include the full error message and code context when you do so. Best wishes, Nick On Monday, July 27, 2015 at 5:19:20 PM UTC-4, Paul Canning wrote: Windows 7, 64bit. Via terminal. This worked in the same dev environment just a week or so ago. And as mentioned, works flawlessly on my deployment module. Same code, same PHP version. On 27 Jul 2015 22:03, Mars Lan mars...@google.com wrote: What OS are you running dev_appserver on? Are you using terminal or launcher? On Monday, July 27, 2015 at 3:27:21 AM UTC-7, Paul Canning wrote: The dev app server has started giving me the error: Call to undefined function move_uploaded_file() I am using this same function on a live module and it has worked perfectly in the past on the dev server. I am using PHP 5.5, defined in the config yaml file. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAH%2B40aMQOyO7xxHcPKkfy-Vizvv1Kz1bH%3DqQyMz7o1Pnj28GBA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Dev App server giving error Call to undefined function move_uploaded_file()
Can you link to any documentation? I've never had to do that before. I've always just ran dev_appserver.py app.yaml and it worked. On 28 Jul 2015 00:07, Mars Lan mars...@google.com wrote: In the command line you'll need to point to the bundled PHP interpreter and GAE extension in order for things to work correctly. On Mon, Jul 27, 2015 at 2:34 PM, Paul Canning p...@drawandcode.com wrote: Sorry my reply was to the message above yours. I'll do a full break down tomorrow. Despite posting in the wrong place, has anyone got any insight on this issue? On 27 Jul 2015 22:21, Nick (Cloud Platform Support) pay...@google.com wrote: Hey Paul, It's great to provide that info. As I mentioned in my reply, I think this should move to stackoverflow, where you'll find a lot more people who can help. Be sure to include the full error message and code context when you do so. Best wishes, Nick On Monday, July 27, 2015 at 5:19:20 PM UTC-4, Paul Canning wrote: Windows 7, 64bit. Via terminal. This worked in the same dev environment just a week or so ago. And as mentioned, works flawlessly on my deployment module. Same code, same PHP version. On 27 Jul 2015 22:03, Mars Lan mars...@google.com wrote: What OS are you running dev_appserver on? Are you using terminal or launcher? On Monday, July 27, 2015 at 3:27:21 AM UTC-7, Paul Canning wrote: The dev app server has started giving me the error: Call to undefined function move_uploaded_file() I am using this same function on a live module and it has worked perfectly in the past on the dev server. I am using PHP 5.5, defined in the config yaml file. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAH%2B40aOy_naAu2%3D1Bqi7yg0N%3DihzbmTtYZ1QU8814QTcKqF9sw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Dev App server giving error Call to undefined function move_uploaded_file()
The dev app server has started giving me the error: Call to undefined function move_uploaded_file() I am using this same function on a live module and it has worked perfectly in the past on the dev server. I am using PHP 5.5, defined in the config yaml file. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/9ace9601-59aa-4c65-b764-8279aa5a8f86%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Cron - targeting a particular version of a particular module
to add, my above answer only works for cron.yaml On Wednesday, July 22, 2015 at 3:59:48 PM UTC+1, Paul Canning wrote: Wait, I got it. You can target the versions using the format: version-dot-module e.g. 1-5-dot-main-module On Wednesday, July 22, 2015 at 3:53:36 PM UTC+1, Paul Canning wrote: I am facing a similar issue. Firstly, how do you target a specific version of a module in the dispatch.yaml? The docs only talk about modules. Secondly, is there anyway to use more then 10 dispatch rules? I have already had to use 5 for routing subdomains (unless there is another way to achieve this?) On Tuesday, April 7, 2015 at 6:55:29 PM UTC+1, Shobhit wrote: Hi Dawid. First thing in cron.yaml, you are supposed to use version or module in the target parameter. If you wish to target the cron job for a particular version and module you can use the dispatch.yaml as described by Vinny in the previous messages. On Thursday, February 20, 2014 at 12:29:04 PM UTC-5, Dawid wrote: Hi all, How can have a cron job target a particular version of a particular module? I've tried: *target: version.module* Unfortunately, appcfg.py won't accept it: *Unable to assign value 'debug.reports' to attribute 'target':* *Value 'debug.reports' for target does not match expression '^(?:^(?:(?:((?!-)[a-z\d\-]{1,63}):)?)((?!-)[a-z\d\-]{1,100})$)$'* * in ./cron.yaml, line 34, column 11* Many thanks, Dawid -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/c4428102-c19b-4551-ab70-a873e33377b1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Have you had success with Traffic Splitting? How do you use it to roll out new versions?
Any word on when we can use it with non-default modules? On Tuesday, July 21, 2015 at 6:53:17 PM UTC+1, David Hardwick wrote: Hello, We haven't used Traffic Splitting yet but it has been an available feature for a while and rumor has it that traffic splitting for non-default modules could be coming in as soon as a month. Any who, if you have experience use it, then I would like to hear how you are using it to roll out new features or versions. I've heard the term 'canary' testing where you roll out a new version to 10% of folks...you measure the results and then either rollback and fully roll it out. So if anyone is doing 'canary' testing and deployments as I've described it, then I've like to hear from you. Thanks in advance, Hardwick -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/7910bd97-7694-4363-a52a-f58227160605%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Cron - targeting a particular version of a particular module
I am facing a similar issue. Firstly, how do you target a specific version of a module in the dispatch.yaml? The docs only talk about modules. Secondly, is there anyway to use more then 10 dispatch rules? I have already had to use 5 for routing subdomains (unless there is another way to achieve this?) On Tuesday, April 7, 2015 at 6:55:29 PM UTC+1, Shobhit wrote: Hi Dawid. First thing in cron.yaml, you are supposed to use version or module in the target parameter. If you wish to target the cron job for a particular version and module you can use the dispatch.yaml as described by Vinny in the previous messages. On Thursday, February 20, 2014 at 12:29:04 PM UTC-5, Dawid wrote: Hi all, How can have a cron job target a particular version of a particular module? I've tried: *target: version.module* Unfortunately, appcfg.py won't accept it: *Unable to assign value 'debug.reports' to attribute 'target':* *Value 'debug.reports' for target does not match expression '^(?:^(?:(?:((?!-)[a-z\d\-]{1,63}):)?)((?!-)[a-z\d\-]{1,100})$)$'* * in ./cron.yaml, line 34, column 11* Many thanks, Dawid -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/744146ed-8d8f-45ae-b97f-59142a21fc8f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Cron - targeting a particular version of a particular module
Wait, I got it. You can target the versions using the format: version-dot-module e.g. 1-5-dot-main-module On Wednesday, July 22, 2015 at 3:53:36 PM UTC+1, Paul Canning wrote: I am facing a similar issue. Firstly, how do you target a specific version of a module in the dispatch.yaml? The docs only talk about modules. Secondly, is there anyway to use more then 10 dispatch rules? I have already had to use 5 for routing subdomains (unless there is another way to achieve this?) On Tuesday, April 7, 2015 at 6:55:29 PM UTC+1, Shobhit wrote: Hi Dawid. First thing in cron.yaml, you are supposed to use version or module in the target parameter. If you wish to target the cron job for a particular version and module you can use the dispatch.yaml as described by Vinny in the previous messages. On Thursday, February 20, 2014 at 12:29:04 PM UTC-5, Dawid wrote: Hi all, How can have a cron job target a particular version of a particular module? I've tried: *target: version.module* Unfortunately, appcfg.py won't accept it: *Unable to assign value 'debug.reports' to attribute 'target':* *Value 'debug.reports' for target does not match expression '^(?:^(?:(?:((?!-)[a-z\d\-]{1,63}):)?)((?!-)[a-z\d\-]{1,100})$)$'* * in ./cron.yaml, line 34, column 11* Many thanks, Dawid -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/f6077981-8696-43e3-9262-db8eccbf7d8f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Naked domain has stopped working
It was not a Google error page, just a simple browser error page. However, a few hours later, it seems to have come back. I'm guessing it may have been due to an update in progress at the time? Seems OK for now. On Tuesday, April 21, 2015 at 5:19:07 AM UTC+1, Vinny P wrote: On Mon, Apr 20, 2015 at 11:12 AM, Paul Canning pa...@drawandcode.com javascript: wrote: I have just checked today and it seems like the naked domain for my app is no longer working. Has anything changed in the past few days about naked domains? Can you screenshot the error page? Is it a standard Google-branded error page, or does it come from somewhere else? Can you look up the response headers and see what they say? - -Vinny P Technology Media Consultant Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/64863f1b-81c7-4672-acdc-828701591bc9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Naked domain has stopped working
I have just checked today and it seems like the naked domain for my app is no longer working. Previously, I could go to http://mydomain.com and it would load up http://www.mydomain.com (this isn't my actual domain!) BUT, now, going to http://mydomain.com simply shows This web page is not available Has anything changed in the past few days about naked domains? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/d252a7fe-0929-4c55-8aa1-b171e44f6d5d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] How to dispatch to a specific version of a module?
Is there a way to route URLs, Tasks or CRON jobs to specific module versions? E.g in dispatch.yaml - url: */mobile/* module: mobile Say I have two versio n of the mobile module, alpha and beta. Can I specify to send the request to alpha mobile module? Or will it always send it to the default version (set in the dashboard)? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/c0c8cd7d-d626-4b66-869e-d133efe0dbdf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Re: Modules and GAE Launcher (PHP)
Not really the solution I was after, but ho-hum. On Thursday, April 16, 2015 at 11:48:53 PM UTC+1, Mars Lan wrote: If you really want precise control over the loading order, please run dev_appserver directly from command line. On Thursday, April 16, 2015 at 1:55:50 AM UTC-7, Paul Canning wrote: Why assume I'm on Mac? I'm on Windows 7. I got it to work by typing in the full file path, but it likes to load the secondary module first, which I feel is wrong. Settings defined as extra flags should be loaded after the default module. If I try and put the default module in the flags, before the second module, it fails. On 15 Apr 2015 21:37, Mars Lan mar...@google.com wrote: I assume you're on Mac? Is so, you should be able to set the Extra Flags to /absolute/path/to/your/module.yaml and expect it to work. On Wednesday, April 15, 2015 at 7:19:49 AM UTC-7, Paul Canning wrote: Any help with this? Still can't get it to work On Thursday, April 9, 2015 at 11:58:36 AM UTC+1, Paul Canning wrote: I tried the following in the Launch Settings: module_dir/module_config.yaml module_dir /module_dir /module_dir/module_config.yaml Nothing works. -- You received this message because you are subscribed to a topic in the Google Groups Google App Engine group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/7B4UnbkBvPg/unsubscribe . To unsubscribe from this group and all its topics, send an email to google-appengi...@googlegroups.com. To post to this group, send email to google-a...@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/d5e46150-0d87-4f24-a494-a6cbd12b0e89%40googlegroups.com https://groups.google.com/d/msgid/google-appengine/d5e46150-0d87-4f24-a494-a6cbd12b0e89%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/9925ae96-0e64-4f48-99f0-0d65acc9806d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Re: Modules and GAE Launcher (PHP)
Why assume I'm on Mac? I'm on Windows 7. I got it to work by typing in the full file path, but it likes to load the secondary module first, which I feel is wrong. Settings defined as extra flags should be loaded after the default module. If I try and put the default module in the flags, before the second module, it fails. On 15 Apr 2015 21:37, Mars Lan mars...@google.com wrote: I assume you're on Mac? Is so, you should be able to set the Extra Flags to /absolute/path/to/your/module.yaml and expect it to work. On Wednesday, April 15, 2015 at 7:19:49 AM UTC-7, Paul Canning wrote: Any help with this? Still can't get it to work On Thursday, April 9, 2015 at 11:58:36 AM UTC+1, Paul Canning wrote: I tried the following in the Launch Settings: module_dir/module_config.yaml module_dir /module_dir /module_dir/module_config.yaml Nothing works. -- You received this message because you are subscribed to a topic in the Google Groups Google App Engine group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/7B4UnbkBvPg/unsubscribe . To unsubscribe from this group and all its topics, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/d5e46150-0d87-4f24-a494-a6cbd12b0e89%40googlegroups.com https://groups.google.com/d/msgid/google-appengine/d5e46150-0d87-4f24-a494-a6cbd12b0e89%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAH%2B40aPQzn2-wK6kXQG-5rSiXk7jgU%2BfMa5WVbK8pgnfYVMqhQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Modules and GAE Launcher (PHP)
Any help with this? Still can't get it to work On Thursday, April 9, 2015 at 11:58:36 AM UTC+1, Paul Canning wrote: I tried the following in the Launch Settings: module_dir/module_config.yaml module_dir /module_dir /module_dir/module_config.yaml Nothing works. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/a911a0a6-a11a-4841-ba4d-96d026e0a454%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Modules and GAE Launcher (PHP)
I tried the following in the Launch Settings: module_dir/module_config.yaml module_dir /module_dir /module_dir/module_config.yaml Nothing works. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/4d0e3e4e-6337-41c6-87e2-237f8471933f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Modules and GAE Launcher (PHP)
What exactly do I need to type into the extra settings box? Would be nice to have this documented somewhere On Wednesday, April 8, 2015 at 8:59:09 PM UTC+1, Mars Lan wrote: From https://cloud.google.com/appengine/docs/php/modules/#devserver Likewise, if you use the GoogleAppEngineLauncher application, open the Application Settings window and add the list of modules to the Launch Settings Extra Flags field. On Wednesday, April 8, 2015 at 3:35:38 AM UTC-7, Paul Canning wrote: I am unable to figure out how you use modules with the GAE launcher (PHP version). Is it even possible? I can use local modules by using the dev_appserver.py command line tool, but I'd like to control it with the launcher. I have added my main app, which is the default module, and then tried to add another application, but it says there is no app.yaml file (because it is a module, so its named differently). I can't see any options for modules... -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/ffd00870-556e-416e-8aae-453de26298ba%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Modules and GAE Launcher (PHP)
I am unable to figure out how you use modules with the GAE launcher (PHP version). Is it even possible? I can use local modules by using the dev_appserver.py command line tool, but I'd like to control it with the launcher. I have added my main app, which is the default module, and then tried to add another application, but it says there is no app.yaml file (because it is a module, so its named differently). I can't see any options for modules... -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/b63e8cf6-684e-4d00-af88-29aa7e153372%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Managing your App Engine solution from your mobile device
Will there be apps for the Play Store Console and Cast Console? On Tuesday, April 7, 2015 at 8:20:32 PM UTC+1, Michael Thomsen (Google Inc.) wrote: We recently announced the beta of Cloud Console for Android, and I wanted to make sure everyone here was aware of that. Details here: http://googlecloudplatform.blogspot.com/2015/03/manage-Google-Cloud-Platform-on-the-go-with-Cloud-Console-for-Android.html If you have feedback please send a quick note to android-cl...@google.com javascript: Regards, Michael Thomsen -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/d6e49db1-18bf-4e9e-b565-4dbee92cb25d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Re: More Quota issues
From what I understood, under the free trial, anything above the free daily quota would be taken from the $300 credit. (with budget set to 0, which was the default. Again, in the trial, I assumed this value didn't matter at all) Under the free trial, we went over a quota (instance hours I think) but the quota details page never showed anything on the new dashboard BUT there was a message on the old dashboard! I've never had a quota issue since turning to full billing, as if we hit the quota, with the budget set, that's OK. But I'm sure the quota details page doesn't really give you any proper feedback, with it saying okay despite being over or close to the quota limit. On 2 Apr 2015 20:13, Patrice pvoutsi...@google.com wrote: Even with billing enabled, if your daily budget is at 0, you will have the same problem. Can you confirm if the daily budget is setup to a number and not fully filled? The dashboard won't show errors if the problem is billing-related -- You received this message because you are subscribed to a topic in the Google Groups Google App Engine group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/uDAFdgFy_lg/unsubscribe . To unsubscribe from this group and all its topics, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/614e889f-88aa-40eb-a179-e92711c59d4c%40googlegroups.com https://groups.google.com/d/msgid/google-appengine/614e889f-88aa-40eb-a179-e92711c59d4c%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAH%2B40aOpuCsSPDLLynr90N%2Be5_LwEjZnLcFUJPcUsGd9dwFXtw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Re: More Quota issues
We hit issues using the free trial, and had plenty of credit. Also, all quotas in the dashboard said OK. We have now turned on full billing. On 1 Apr 2015 18:07, Patrice pvoutsi...@google.com wrote: Hey Paul. From the way you speak, it seems like it might be a daily budget that's not sufficient. Once you hit that limit, all quotas return errors. Could you try increasing it and then letting us know? Thanks On Monday, March 23, 2015 at 10:12:54 AM UTC-4, Paul Canning wrote: Yet again I am getting the 503 Over Quota message, despite all my quota report being OK. Currently, my mail quota has gone over, due to testing some CRON jobs, but now, with mail disabled, I am unable to access any of my application. I have attached 2 screen shots to show that all but my mail quotas are OK So what's the deal? Once any one quota is over, I can't use anything?! -- You received this message because you are subscribed to a topic in the Google Groups Google App Engine group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/uDAFdgFy_lg/unsubscribe . To unsubscribe from this group and all its topics, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/1a5f556f-6548-483e-8413-ed19313b9cac%40googlegroups.com https://groups.google.com/d/msgid/google-appengine/1a5f556f-6548-483e-8413-ed19313b9cac%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAH%2B40aMuuZKp8G1zEu2KqVBTPm%3DsJU28qf0QxDUX3SHThyTNNQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Urgent caching issues
I am getting serious caching issues with GAE PHP that I need to resolve. I have set headers in the PHP script to: $this-output-set_header(Cache-Control: no-store, no-cache, must-revalidate, max-age=0); $this-output-set_header(Pragma: no-cache); $this-output-set_header(Access-Control-Allow-Origin: *); (in CodeIgniter) And I have deployed the app, but I am getting an erroneous cached output when I hit the URL. My file changes simply are not being updated. How do I disable the cache for a module, or simply wipe the app engine cache? I really need my file changes to be reflected! -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/8ad5ef26-1996-4201-94ef-0fe045b5e379%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] How to redirect a URL (static directory file) to an object in GCS?
I have a static file in my app that ideally needs to sit in a bucket in GCS. Unfortunately, there are old references to the direct URL, so I am unable to use the GCS public URL. How can I redirect (think htaccess 301) the static file URL to the GCS object URL? Example: http://www.domain.com/folder/file.zip http://storage.googleapis.com/bucket-name/file.zip -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/94e5b22d-6214-4b6b-872a-8d3705cf1592%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Dashboard show old/renamed modules
I have some modules that I renamed to better names for organisation purposes. In the dashboard, the old name are still showing in the drop down. How can I remove them? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/eddff3b9-ef9c-4705-9331-fd0877507bc4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Custom Domain DNS setup changed, probably
I was under the impression naked domain don't work now. I recently setup app engine and added a custom domain. The naked domain doesn't work alone, and I had to add the www sub domain. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/583a9f77-3af3-40a2-b5da-575f7a10caf8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Google Cloud Storage caching files despite disabling cache
enable_cache has nothing to do with the Cache-Control headers I get this. I fully understand they are two different things. Again, I tried setting both, first one, then the other, then both. In all cases my objects were being cached. On Sunday, March 22, 2015 at 2:42:15 AM UTC, Stuart Langley wrote: As Mars mentioned, enable_cache has nothing to do with the Cache-Control headers that are used when serving objects from Google Cloud Storage. If controls the read-through cache that is used internally inside of app engine. On Saturday, 21 March 2015 14:41:57 UTC-7, Paul Canning wrote: Again I understand, but it was still caching with it set to false -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/d937b6d0-7ea0-49e2-b511-0ce63d793a5c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Unable to use gsutil despite doing authentication steps
Turns out it was due to a current bug where you can't run it from any driver other then C: On 23 Mar 2015 06:40, Vinny P vinny...@gmail.com wrote: Hi Paul, After you authenticate, can you look in gsutil's config file and see if any changes were made? If you move the configuration file setting, does it start to work? Here's how to locate the config file: https://cloud.google.com/storage/docs/gsutil/commands/config#configuration-file-selection-procedure - -Vinny P Technology Media Consultant Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com On Fri, Mar 20, 2015 at 7:08 AM, Paul Canning p...@drawandcode.com wrote: As per the title, I am unable to use gsutil CLI despite running gcloud auth login and trying gsutil config It seems to let me authenticate, but when I try to run a command such as gsutil ls I get: You are attempting to access protected data with no configured credentials. Please visit https://cloud.google.com/console#/project and sign up for an account, and then run the gcloud auth login command to configure gsutil to use these credentials. But these steps I've already done. -- You received this message because you are subscribed to a topic in the Google Groups Google App Engine group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/0a_opNjZ5ZY/unsubscribe . To unsubscribe from this group and all its topics, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CALSvALDkG_OA511gA6WJgUo9qM3T_%2BPiUvEiYLHFerxyzj4qzA%40mail.gmail.com https://groups.google.com/d/msgid/google-appengine/CALSvALDkG_OA511gA6WJgUo9qM3T_%2BPiUvEiYLHFerxyzj4qzA%40mail.gmail.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAH%2B40aNV5mqa9R_bbTGh3r3FLSydiNpJ7%3D-sFcENV0fGKs%3D_Xg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Error 302 with Tasks in CodeIgniter
I am trying to get some Tasks working with Codegniter, but they simply fail after being added to the queue, with Error 302. You can read here for more info: http://stackoverflow.com/questions/29077055/gae-task-queues-and-error-302-app-error I am thinking its due to how CI uses routes and controllers, but I have no clue how to fix the issue. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/38741f43-d159-41cc-b047-1e02c754798f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Google Cloud Storage caching files despite disabling cache
Again I understand, but it was still caching with it set to false -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/6470ca8c-42b1-4269-9ed9-2a66f1511e42%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Increasing EMail quota from 100 ( Paid app )
Whilst not a fix per se, have you looked at a service like Mandrill? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/059feb6c-6a38-4c88-a4df-6f59e0562774%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Unable to use gsutil despite doing authentication steps
As per the title, I am unable to use gsutil CLI despite running gcloud auth login and trying gsutil config It seems to let me authenticate, but when I try to run a command such as gsutil ls I get: You are attempting to access protected data with no configured credentials. Please visit https://cloud.google.com/console#/project and sign up for an account, and then run the gcloud auth login command to configure gsutil to use these credentials. But these steps I've already done. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/90f1f5b9-7fce-425c-9140-1068debc0863%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Google Cloud Storage caching files despite disabling cache
Understood, but why is GCS caching with the current enable_cache setting set to false? Do I have to do anything specific with the way I use file_put_contents or fwrite? Should I delete the object first? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/296acf2b-1d53-47f7-bfdd-d3b8d7c89b00%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: CodeIgniter PHP Framework RewriteRules
I have a CodeIgniter application running on GAE. There are plenty of answers on Google if you look, but to replace the .htaccess (as GAE doesn't use htaccess), use the following in your app.yaml: handlers: - url: /.* script: index.php On Thursday, March 19, 2015 at 11:51:32 AM UTC, Victor Angelier wrote: Hi there, I want to launch a website that uses CodeIgniter as PHP application framework. The problem is Google Friendly URL's don't work because I can't get the app.yaml setup correctly. I need to have the below rewrite rules translated to Google App Engine rules and I can't get it to work!. Please help me out! .htaccess (RewriteRules that work on our private web-server) RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?/$1 [L] I tried everything, different config.php settings and even de mod_rewrite.php trick. All don't work! Cheers, Victor Angelier #PHP #CodeIgniter #Framework #RewriteRules #AppEngine #Yaml -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/39f24a01-423a-4ebb-8802-00142424e512%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Google Cloud Storage caching files despite disabling cache
I am using file_put_contents and in some cases fopen + fwrite to create files in GCS. I am setting enable_cache to false in the stream context, yet the files are being cached and hard-refreshing the page does nothing. I even added in the header Cache-Control = no-cache even though I don't think it's supported yet. In GCS, it shows the file was updated, but following the public link just shows a cached version. How can I force it not to cache, and to show me the latest file? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/a7585d0d-886d-4538-b76a-29587628dc51%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: TinyWebDB problem
Well, are you a direct member of the project? On Thursday, March 19, 2015 at 11:53:49 AM UTC, Developer Account wrote: I'm using App engine to create tinyWebDB when I click on dashboard it takes me to page that says: Access denied to group members To access App Engine, you must be a direct member of the project anyone can help ? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/b8af6422-bec5-45a6-bb78-c553503fd55a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Local app.yaml file gives different results to remote file
Ah, typo in the question, I was trying to access task.php in both environments! For some reason, it is working now, and to answer your other question, it was beneath some static file handlers and above the handler for the index.php page. On Wednesday, March 18, 2015 at 6:06:15 AM UTC, Vinny P wrote: On Tue, Mar 17, 2015 at 5:22 AM, Paul Canning pa...@drawandcode.com javascript: wrote: handlers: - url: /task.php script: task.php Locally, I can access http://localhost:8080/test.php, remotely, I get the CI 404 page. Why would there be a difference? Well, first of all I want to point out that your handler is handling *task*.php, while your test url is calling for *test*.php, so it's probably worthwhile to double-check that you're attempting to access the right page. If you're still having problems, is that handler instruction the first handler command in app.yaml, or are there other handlers previous to it? If there are other handlers present, try moving your task.php handler to the top. Can you post your entire app.yaml and a picture of your directory structure? If you can't share your directory structure for confidentiality reasons, you can create a small test case that replicates the issue and post that. - -Vinny P Technology Media Consultant Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/dc3c44a9-2306-49c9-803c-a6104ae1acad%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Error 302 for Tasks
As I said, I get a HTTP 302 App Error (that's what it says in the task queue console) Its something to do with not being able to handle CodeIgniter style URIs, but I don't know how to make it understand them, as the task queue uses include to use the task worker script, something you cannot do with an MVC style controller. On 18 Mar 2015 06:04, Vinny P vinny...@gmail.com wrote: Task queue requests, even failed ones/ones where the route can't be matched, should show up in the application logs. Do you see any error requests in the console? Task queues run from the requesting IP 0.1.0.2, so try looking for request logs originated from that IP. If you do find error logs, can you describe the error you're seeing and what the request looks like? - -Vinny P Technology Media Consultant Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com On Mon, Mar 16, 2015 at 10:11 AM, Paul Canning p...@drawandcode.com wrote: I am trying to use Tasks in my application, but when they try to run, I get a 302 error. I am using the CodeIgniter framework. Below is my code to add a task (I can see the task in the queue, it just fails for some reason) I think the issue is to do with the URL defined in the PusTask. CodeIgniter uses routes to handle the controller methods and I think it is looking for a bog standard *.php file, which I don't have (and don't really want to use). Has anyone got CI working with Tasks? $task = new PushTask('/path/to/controller', ['id' = $id]); $task_name = $task-add('my_queue'); -- You received this message because you are subscribed to a topic in the Google Groups Google App Engine group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/V3qKwhXqGLw/unsubscribe . To unsubscribe from this group and all its topics, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CALSvALBtiM4hbng%2BhyDFagyb_OsYN%2Bagtc5mmK7CtRPTNoCKhA%40mail.gmail.com https://groups.google.com/d/msgid/google-appengine/CALSvALBtiM4hbng%2BhyDFagyb_OsYN%2Bagtc5mmK7CtRPTNoCKhA%40mail.gmail.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAH%2B40aPxJ7WYh4L2E1rMf1M8b1Hs1GEn9CrXA24kf7Tp4hZTvg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Local app.yaml file gives different results to remote file
In my CodeIgniter application, I have set a handler in the app.yaml file for the following: handlers: - url: /task.php script: task.php This file is in the root directory. In a typical LAMP/WAMP environment, a .htaccess file would be used to allow access, as typically you are only allowed to access the index.php file (that's how CI works). So, there is no .htaccess in GAE, only app.yaml (and dispatch.yaml etc) Locally, I can access http://localhost:8080/test.php, remotely, I get the CI 404 page. Why would there be a difference? (I understand this is most likely an issue with how CI works, but the fact that the yaml file gives different results must be something to do with GAE?) -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/2513210d-d82e-4485-860b-83bc48403ae7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Setting log level when running dev_appserver.py still shows INFO messages?
I am trying to run the app engine and only show errors in the log console. I tried: dev_appserver.py my_app --log_level=error The app runs fine, but I still see a ton of INFO messages in the console?! I thought it was supposed to filter them out? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/ef309140-3f59-41c9-b6a9-e3b120e242bd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Error 302 for Tasks
I am trying to use Tasks in my application, but when they try to run, I get a 302 error. I am using the CodeIgniter framework. Below is my code to add a task (I can see the task in the queue, it just fails for some reason) I think the issue is to do with the URL defined in the PusTask. CodeIgniter uses routes to handle the controller methods and I think it is looking for a bog standard *.php file, which I don't have (and don't really want to use). Has anyone got CI working with Tasks? $task = new PushTask('/path/to/controller', ['id' = $id]); $task_name = $task-add('my_queue'); -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/e7bc30b9-c80a-48a5-8d52-ad72c852b54f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] All qupates show OK, reports as Over Quota when visiting app
As the title. All quotas in the dev console for my app say OK, yet i get a 503 Over Quota error when visiting the app. I am currently using the free $300 and 30 days. If it is the case that I have reached some limits for the free account, why are all quotas reporting OK? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/478d6fd9-bf18-4f65-97e8-3ca45a28f14c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [google-appengine] Re: All qupates show OK, reports as Over Quota when visiting app
The app ID is adgen-web-2015 On 16 Mar 2015 23:40, Shobhit shobh...@google.com wrote: Can you please tell us your project ID, so that we can look over it. On Monday, March 16, 2015 at 1:17:33 PM UTC-4, Paul Canning wrote: As the title. All quotas in the dev console for my app say OK, yet i get a 503 Over Quota error when visiting the app. I am currently using the free $300 and 30 days. If it is the case that I have reached some limits for the free account, why are all quotas reporting OK? -- You received this message because you are subscribed to a topic in the Google Groups Google App Engine group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/eRnJpPgLV5s/unsubscribe . To unsubscribe from this group and all its topics, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/d0ee78fd-acd0-4ebf-ad95-1efb7fe161aa%40googlegroups.com https://groups.google.com/d/msgid/google-appengine/d0ee78fd-acd0-4ebf-ad95-1efb7fe161aa%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAH%2B40aNUC%3DEU%2B%2BGCYFzMaZGkbCoq1NZEmn4wuShUbWq-nrCrqw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.