So I have followed This guide and used a simple printing python file. Problem is, when I run my dev_appserver.py file either through eclipse or in terminal i get the following errors:
/Desktop/%/google/google_appengine/dev_appserver.py
Traceback (most recent call last):
File "/Desktop/%/google/google_appengine/dev_appserver.py", line 77, in <module>
run_file(__file__, globals())
File "/Desktop/%/google/google_appengine/dev_appserver.py", line 73, in run_file
execfile(script_path, globals_)
File "/Desktop/%/google/google_appengine/google/appengine/tools/dev_appserver_main.py", line 154, in <module>
from google.appengine.tools import appcfg
File "/Desktop/%/google/google_appengine/google/appengine/tools/appcfg.py", line 68, in <module>
from google.appengine.tools import appengine_rpc
File "/Desktop/%/google/google_appengine/google/appengine/tools/appengine_rpc.py", line 27, in <module>
import fancy_urllib
File "/Desktop/%/google/google_appengine/lib/fancy_urllib/fancy_urllib/__init__.py", line 341, in <module>
class FancyHTTPSHandler(urllib2.HTTPSHandler):
AttributeError: 'module' object has no attribute 'HTTPSHandler'
Has anyone else had a similar experience?
I think ubuntu 11.04 uses Python3 so the module
HTTPSHandleris nowurllib.request.HTTPSHandlersourceGoogle AppEngine supports for the moment only Python2.5. So you need to install Python2.5
EDIT (sorry in your guide you have normaly already installed python2.5):
In your case i think you use always the environment of python 3.
python2.5python2.5 {GAE_DIR_ROOT}/dev_appserver.py