you cannot use Google dev_appserver with python 2.6. It requires Python 2.5. Google App Engine runs on 2.5.
Massimo On Dec 28, 9:18 pm, reyelts <[email protected]> wrote: > Hi, I'm relatively new to both web2py and google app engine. I'm > running on Fedora 11. I played around with standalone GAE for a while > and got some things working before jumping to web2py. However, I can't > seem to get web2py to run under GAE. When I start it up, there is a > series of warnings, but it does come up: > > $ /opt/google_appengine/dev_appserver.py ~/web2py > /opt/google_appengine_1.3.0/google/appengine/tools/appcfg.py:41: > DeprecationWarning: the sha module is deprecated; use the hashlib > module instead > import sha > /opt/google_appengine_1.3.0/google/appengine/api/ > datastore_file_stub.py:40: DeprecationWarning: the md5 module is > deprecated; use hashlib instead > import md5 > INFO 2009-12-29 03:11:46,875 appengine_rpc.py:157] Server: > appengine.google.com > INFO 2009-12-29 03:11:46,884 appcfg.py:348] Checking for updates > to the SDK. > INFO 2009-12-29 03:11:47,259 appcfg.py:362] The SDK is up to date. > WARNING 2009-12-29 03:11:47,260 datastore_file_stub.py:483] Could not > read datastore data from /tmp/dev_appserver.datastore > INFO 2009-12-29 03:11:47,440 dev_appserver_main.py:399] Running > application web2py on port 8080:http://localhost:8080 > > When I try to bring it up in a brower, the server logs the following > errors: > > WARNING 2009-12-29 03:12:22,704 portalocker.py:91] no file locking > WARNING 2009-12-29 03:12:23,152 main.py:50] unable to import > wsgiserver > INFO 2009-12-29 03:12:23,181 gaehandler.py:55] **** Request: > 1.76ms/0.00ms (real time/cpu time) > INFO 2009-12-29 03:12:23,201 dev_appserver.py:3243] "GET / HTTP/ > 1.1" 303 - > INFO 2009-12-29 03:12:23,221 dev_appserver_index.py:205] Updating / > home/reyelts/web2py/index.yaml > ERROR 2009-12-29 03:12:23,264 restricted.py:143] Traceback (most > recent call last): > File "/home/reyelts/web2py/gluon/main.py", line 462, in wsgibase > session.connect(request, response) > File "/home/reyelts/web2py/gluon/globals.py", line 270, in connect > '-'), uuid.uuid4()) > File "/usr/lib/python2.6/uuid.py", line 519, in uuid4 > _buffer = ctypes.create_string_buffer(16) > NameError: global name 'ctypes' is not defined > > INFO 2009-12-29 03:12:23,264 gaehandler.py:55] **** Request: > 5.43ms/0.00ms (real time/cpu time) > INFO 2009-12-29 03:12:23,296 dev_appserver.py:3243] "GET /welcome/ > default/index HTTP/1.1" 500 - > WARNING 2009-12-29 03:12:25,705 dev_appserver.py:1147] Blocking > access to skipped file "/home/reyelts/web2py/applications/admin" > INFO 2009-12-29 03:12:25,709 gaehandler.py:55] **** Request: > 4.89ms/0.00ms (real time/cpu time) > INFO 2009-12-29 03:12:25,736 dev_appserver.py:3243] "GET /admin/ > default/ticket/unrecoverable HTTP/1.1" 400 - > > What's going on, here? -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.

