I’m new to Python and I’m currently following the Head First Python book. I’m trying to put an example exercise to work but I’m stuck with an error from the GAE.
I installed both Python 2.5 and GAE on my Kubuntu 10.10 S.O.
First I create a folder named “mygaetest” with the files sayhello.py and app.yaml inside.
Because there is no graphical front end for Linux, I start my GAE webapp from the command line this way:
python2.5
google_appengine/dev_appserver.py
home/lucas/workspace/Python/Chapter10/src/mygaetest/
But then the following error is shown:
Traceback (most recent call last):
File
"google_appengine/dev_appserver.py",
line 78, inrun_file(__file__, globals())
File
"google_appengine/dev_appserver.py",
line 74, in run_fileexecfile(script_path, globals_)
File
"/home/lucas/Desarrollo/Python/AppEngine/google_appengine/google/appengine/tools/dev_appserver_main.py",
line 118, infrom google.appengine.tools import appcfg
File
"/home/lucas/Desarrollo/Python/AppEngine/google_appengine/google/appengine/tools/appcfg.py",
line 68, infrom google.appengine.tools import appengine_rpc
File
"/home/lucas/Desarrollo/Python/AppEngine/google_appengine/google/appengine/tools/appengine_rpc.py",
line 27, inimport fancy_urllib
File
"/home/lucas/Desarrollo/Python/AppEngine/google_appengine/lib/fancy_urllib/fancy_urllib/init.py",
line 341, inclass FancyHTTPSHandler(urllib2.HTTPSHandler):
AttributeError: 'module' object has no
attribute 'HTTPSHandler'
Can someone tell me what to do in order to solve that error?
Many thanks in advance.
Best Answer
Welcome to Python, App Engine, and Stack Overflow!
Your Python installation apparently lacks SSL support. To add support, install this.
http://code.google.com/p/googleappengine/issues/detail?id=19