5 ms·
Has anybody been able to set up PyDev for Google's App Engine? I went through http://alishabdar.com/2009/05/06/develop-google-appengine-with-aptana-studio/ http
by ez77 17y ago
Has anybody been able to set up PyDev for Google's App Engine? I went through http://alishabdar.com/2009/05/06/develop-google-appengine-with-aptana-studio/ http://alishabdar.com/2009/05/06/develop-google-appengine-wi... and the official tutorial, but it keeps giving me errors about the VERSION of the App Engine. (Sorry, I don't have the exact error handy.)
Thank you,
Eclipsed
- jules 17y agoI haven't used Google App Engine, but I did notice that in the newest version of PyDev there are two new project types (Django Project and App Engine project). To create special project type for App Engine: File > New > Project > PyDev Google App Engine Project. This is not mentioned in that tutorial, so maybe that wasn't available at the time.
- jules 17y agoTried App Engine. Was very easy to setup. Here are the steps I took: 1) Download App Engine for Linux and unpack it 2) Start PyDev and make an App Engine project 3) When it asks you for the App Engine directory, point it to the directory you unpacked in step 1 4) Select "Hello webapp world" as the template 5) Right click the src folder, then run as "PyDev: Google App Run" 6) Browse to localhost:8080 and view your hello world app Let me know if this worked for you :)
- ez77 17y agoThanks for the tips, jules! I will try this following your instructions and let you and HN at large how it went.
- ez77 17y agoYikes! I keep getting the same errors: Allow dev_appserver to check for updates on startup? (Y/n): ERROR 2010-04-18 16:51:50,678 appcfg.py:195] Could not find version file at /usr/lib/pymodules/python2.5/google/../VERSION ERROR 2010-04-18 16:51:50,678 appcfg.py:195] Could not find version file at /usr/lib/pymodules/python2.5/google/../VERSION INFO 2010-04-18 16:51:50,679 appengine_rpc.py:159] Server: appengine.google.com ERROR 2010-04-18 16:51:50,679 appcfg.py:195] Could not find version file at /usr/lib/pymodules/python2.5/google/../VERSION ERROR 2010-04-18 16:51:50,679 appcfg.py:327] Could not determine if the SDK supports the api_version requested in app.yaml.
- jules 17y agoWhat did you answer to "Allow dev_appserver to check for updates on startup? (Y/n)"? I answered "n". Also, why is it looking for files in /usr/lib/pymodules/python2.5/google/../VERSION? I don't have that file either, but I put the app engine dir in my home dir and that worked.
- ez77 17y agoI didn't really have the choice to reply... I got all of this as a lumped error message. (I'm not used to Eclipse, to be honest, so I may be getting lost in that maze with some simple setting.)
- jules 17y agoThat's strange. I was able to type in the output window and press enter. Maybe you should ask on the PyDev forums or file a bug report.
- deleted 17y ago[deleted]