Re: Error running Launcher Hello World app Python 2.7 Mac: "Invalid argument"

123 views
Skip to first unread message

Anand Mistry

unread,
Nov 14, 2012, 11:44:00 PM11/14/12
to google-a...@googlegroups.com
Looks like you're missing a '/' at the beginning of the python directory you set in the launcher. If you're using OSX 10.8, you don't need to the python directory since OSX defaults to using Python 2.7.

On Wednesday, 14 November 2012 12:52:12 UTC+11, Irv Kalb wrote:
I am attempting to run Google App Engine with Python 2.7, just the basic Hello World application that is built for me using the Google App Engine Launcher.  I have installed Python 2.7 and the latest version of Google App Engine.  I am also using the GAE Launcher.  I create my first application using the Launcher, which creates a folder, and puts in the appropriate files (all matching the documentation).  I have my preferences in GAE set to point to my python 2.7 director.  When I attempt to run from the Launcher, I get the following error in the LOG Console:

*** Running dev_appserver with the following flags:

    --admin_console_server= --port=8080

Python command: usr/local/bin/python2.7

2012-11-13 16:58:14.699 GoogleAppEngineLauncher[1312:203] *** NSTask: Task create for path 'usr/local/bin/python2.7' failed: 22, "Invalid argument".  Terminating temporary process.


According tot he documentation, this should not produce any errors, and I should be able to bring up a browser, enter localhost:8080 and get my "Hello world" output.  But when I do, I get this instead:


HTTP ERROR: 404

Problem accessing /. Reason:

    Not Found


Powered by Jetty://


I don't know what to do to resolve this.    Any help would be greatly appreciated.


Irv

Reply all
Reply to author
Forward
0 new messages