Re: [google-appengine] Can't get a module to start via a cron job

2014-01-08 Thread Adrian
Okay... I can load cron.yaml now... turns out if I launch my dev_server from the folder that the app is in, it doesn't load pytz property, but if I load dev_server from my home directory and just address my yaml files via [myappname]/app.yaml and [myappname]/loadandprocess.yaml it works.. not s

Re: [google-appengine] Can't get a module to start via a cron job

2014-01-08 Thread Adrian
Hey Alex, Thanks for the reply -- it's very strange.. pytz is installed as I can import it, but I can't load America/New_York... I just tried uninstalling and reinstalling pytz and that didn't work either.. $ python -c "import pytz; print pytz.timezone('America/New_York')" Traceback (most rec

Re: [google-appengine] Can't get a module to start via a cron job

2014-01-08 Thread alex
> If it doesn't, something's wrong with pytz. Note that it's not included in App Engine SDK. Usually it's installed as a system package. Anyway, if there's no such package as "pytz" you could try installing it by running "sudo pip install pytz" or "sudo easy_install pytz". On 8 January 2014 15:3

Re: [google-appengine] Can't get a module to start via a cron job

2014-01-08 Thread alex
Are you sure you have pytz installed on your system? Try this from cmd line: python -c "import pytz; print pytz.timezone('America/New_York')" Should print out "America/New_York". If it doesn't, something's wrong with pytz. Note that it's not included in App Engine SDK. Usually it's installed as a

Re: [google-appengine] Can't get a module to start via a cron job

2014-01-08 Thread Adrian
This is the part of the cron.yaml file it is getting upset with (line 5): cron: - description: call frontend instance to call a module to download data url: /callLoadAndProcess schedule: every day 01:00 timezone: America/New_York On Wednesday, January 8, 2014 9:08:50 AM UTC-5, Adrian wrote

Re: [google-appengine] Can't get a module to start via a cron job

2014-01-08 Thread Adrian
Hey Alex, Thanks for the reply -- when I load in all of my modules (app.yaml and loadandprocess.yaml), I now have this error when I go to the cron tab on the devserver admin page: Error loading cron.yaml: Traceback (most recent call last): File "/home/adrian/google_appengine/google/appengi

Re: [google-appengine] Can't get a module to start via a cron job

2014-01-07 Thread Vinny P
+1 to Alex's post. You can also try running Google's modules example: https://github.com/GoogleCloudPlatform/appengine-modules-helloworld-pythonto make sure there's nothing wrong with your dev environment. - -Vinny P Technology & Media Advisor Chicago, IL App Engine Code Samples

Re: [google-appengine] Can't get a module to start via a cron job

2014-01-07 Thread alex
> Aside from just having the [module name].yaml file in the directory with my default app.yaml file, do I need to do anything else to get the dev_server to recognize the additional module? Make sure you supply all *.yaml files to dev_appserver in cmdline args, e.g.: dev_appserver.py app.yaml m

Re: [google-appengine] Can't get a module to start via a cron job

2014-01-07 Thread Adrian
Thank you for the suggestions... this is odd... my directory has a "loadandprocess.yaml" module, with the following text: application: [my app name] module: loadandprocess version: one runtime: python27 api_version: 1 threadsafe: true instance_class: B4_1G basic_scaling: max_instances: 1 han

Re: [google-appengine] Can't get a module to start via a cron job

2014-01-06 Thread Vinny P
On Mon, Jan 6, 2014 at 7:03 PM, Adrian wrote: > File "/home/adrian/arapphost/callLoadAndProcess.py", line 10, in get > modules.start_module("loadandprocess","1") > File > "/home/adrian/google_appengine/google/appengine/api/modules/modules.py", > line 385, in start_module > rpc.get_res

Re: [google-appengine] Can't get a module to start via a cron job

2014-01-06 Thread Adrian
Thanks Vinny -- here is the full traceback: Traceback (most recent call last): File "/home/adrian/google_appengine/lib/webapp2-2.5.1/webapp2.py", line 1536, in __call__ rv = self.handle_exception(request, response, e) File "/home/adrian/google_appengine/lib/webapp2-2.5.1/webapp2.py", line

Re: [google-appengine] Can't get a module to start via a cron job

2014-01-06 Thread Vinny P
On Mon, Jan 6, 2014 at 8:05 AM, Adrian wrote: > I am having trouble with getting a cron job to start a module... I made a > post to Stackoverflow that has the problem. > Can you supply the full traceback from the error? - -Vinny P Technology & Media Advisor Chicago, IL App En

[google-appengine] Can't get a module to start via a cron job

2014-01-06 Thread Adrian
I am having trouble with getting a cron job to start a module... I made a post to Stackoverflow that has the problem... I was going to repost here, but everything is formatted on Stackoverflow. http://stackoverflow.com/questions/20941622/how-to-load-a-basic-module-from-a-cron-job Does anyone h