Thanks! The thing that convinced me to use web2py was a claim that the support in the google group was extremely fast - apparently it's true.
Where can I get the latest version of web2py? The one I have was downloaded from here: http://mdp.cti.depaul.edu/examples/default/download ("source code"). Should I be using "latest development snapshot"? On Nov 23, 8:56 pm, mdipierro <[EMAIL PROTECTED]> wrote: > Hi Hoben, > > The error here is that ctypes is missing therefore uuid.uddi4 is not > working. This is probably because you are using python2.6 but > dev_appserver is supposed to run on Python2.5. I suggest you > reinstall 2.5 and the the google stuff. > > I also noticed you are running an older version of web2py. It is not > affecting you right now but it is better to be up to date. > > Massimo > > On Nov 23, 5:48 pm, hoben <[EMAIL PROTECTED]> wrote: > > > I tried working through the Vimeo tutorial. Everything worked fine > > until I tried to deploy locally with dev_appserver.py. It's giving me > > "Internal error; Ticket issued: unrecoverable" > > > Here is the debug from the terminal. I'm just trying to figure out how > > to get a basic web2py app deployed on GAE and working with the > > datastore, but I've had some bad luck. > > > Please help? > > > Debug output from terminal: > > > Microsoft Windows [Version 6.0.6001] > > Copyright (c) 2006 Microsoft Corporation. All rights reserved. > > > C:\Users\hocine>cd c:\program files\google\google_appengine\ > > > c:\Program Files\Google\google_appengine>dev_appserver.py --debug > > web2py > > C:\Program Files\Google\google_appengine\google\appengine\tools > > \appcfg.py:40: De > > precationWarning: the sha module is deprecated; use the hashlib module > > instead > > import sha > > INFO 2008-11-23 23:44:58,424 appcfg.py] Server: > > appengine.google.com > > INFO 2008-11-23 23:44:58,461 appcfg.py] Checking for updates to > > the SDK. > > DEBUG 2008-11-23 23:44:58,464 appcfg.py] Creating request for: > > 'http://appeng > > ine.google.com/api/updatecheck? > > release=1.1.7×tamp=1227225249&api_versions=% > > 5B%271%27%5D' with payload: > > > INFO 2008-11-23 23:44:58,766 appcfg.py] The SDK is up to date. > > WARNING 2008-11-23 23:44:58,891 dev_appserver.py] Could not > > initialize images A > > PI; you are likely missing the Python "PIL" module. ImportError: No > > module named > > PIL > > INFO 2008-11-23 23:44:58,915 dev_appserver_main.py] Running > > application web2 > > py on port 8080:http://localhost:8080 > > DEBUG 2008-11-23 23:45:08,259 dev_appserver.py] Matched "/" to CGI > > dispatcher > > with path gaehandler.py > > DEBUG 2008-11-23 23:45:08,270 dev_appserver.py] Executing CGI with > > env: > > {'APPLICATION_ID': 'web2py', > > 'AUTH_DOMAIN': 'gmail.com', > > 'CONTENT_LENGTH': '', > > 'CONTENT_TYPE': 'application/x-www-form-urlencoded', > > 'CURRENT_VERSION_ID': '1.1', > > 'GATEWAY_INTERFACE': 'CGI/1.1', > > 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/ > > xml;q=0.9,*/*;q=0.8 > > ', > > 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', > > 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', > > 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', > > 'HTTP_CONNECTION': 'keep-alive', > > 'HTTP_COOKIE': 'session_id_welcome=127-0-0-1-b1e299cb-ea90-466d-970b- > > dff4c7db47 > > 97; session_id_admin=127-0-0-1-b2ecf05e-eb17-4bc9-a3a2-08eaafd9d4ca; > > session_id_ > > hocinetest=127-0-0-1-7b601da4-0c69-4acc-bdb3-3ec66a4d39d0', > > 'HTTP_HOST': '127.0.0.1:8080', > > 'HTTP_KEEP_ALIVE': '300', > > 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; > > rv:1.9.1b2p > > re) Gecko/20081121 Minefield/3.1b2pre', > > 'PATH_INFO': '/', > > 'PATH_TRANSLATED': 'c:\\Program Files\\Google\\google_appengine\ > > \web2py\\gaehan > > dler.py', > > 'QUERY_STRING': '', > > 'REMOTE_ADDR': '127.0.0.1', > > 'REQUEST_METHOD': 'GET', > > 'SCRIPT_NAME': '', > > 'SERVER_NAME': '127.0.0.1', > > 'SERVER_PORT': '8080', > > 'SERVER_PROTOCOL': 'HTTP/1.0', > > 'SERVER_SOFTWARE': 'Development/1.0', > > 'TZ': 'UTC', > > 'USER_EMAIL': ''} > > DEBUG 2008-11-23 23:45:09,917 dev_appserver.py] Could not import > > "_ssl": Disa > > llowed C-extension or built-in module > > WARNING 2008-11-23 23:45:10,851 portalocker.py] no file locking > > DEBUG 2008-11-23 23:45:11,184 dev_appserver.py] Could not import > > "_ctypes": D > > isallowed C-extension or built-in module > > DEBUG 2008-11-23 23:45:13,223 dev_appserver.py] Could not import > > "_sqlite3": > > Disallowed C-extension or built-in module > > DEBUG 2008-11-23 23:45:13,308 sql.py] no sqlite3 or dbapi2 driver > > DEBUG 2008-11-23 23:45:13,404 sql.py] no MySQLdb driver > > DEBUG 2008-11-23 23:45:13,482 sql.py] no psycopg2 driver > > DEBUG 2008-11-23 23:45:13,565 sql.py] no cx_Oracle driver > > DEBUG 2008-11-23 23:45:13,658 sql.py] no MSSQL driver > > DEBUG 2008-11-23 23:45:13,750 sql.py] no kinterbasdb driver > > DEBUG 2008-11-23 23:45:13,828 sql.py] no informixdb driver > > DEBUG 2008-11-23 23:45:14,095 dev_appserver.py] Could not import > > "_bsddb": Di > > sallowed C-extension or built-in module > > WARNING 2008-11-23 23:45:14,099 cache.py] unable to import dbhash > > WARNING 2008-11-23 23:45:15,071 compileapp.py] unable to import > > py_compile > > WARNING 2008-11-23 23:45:16,105 main.py] unable to import wsgiserver > > DEBUG 2008-11-23 23:45:16,714 dev_appserver.py] Could not import > > "_ssl": Disa > > llowed C-extension or built-in module > > C:\Program Files\Google\google_appengine\google\appengine\tools > > \dev_appserver.py > > :1301: DeprecationWarning: the md5 module is deprecated; use hashlib > > instead > > description) > > INFO 2008-11-23 23:45:18,157 dev_appserver.py] "GET / HTTP/1.1" > > 303 - > > INFO 2008-11-23 23:45:18,180 dev_appserver_index.py] Updating c: > > \Program Fil > > es\Google\google_appengine\web2py\index.yaml > > DEBUG 2008-11-23 23:45:18,440 dev_appserver.py] Matched "/welcome/ > > default/ind > > ex" to CGI dispatcher with path gaehandler.py > > DEBUG 2008-11-23 23:45:18,460 dev_appserver.py] Executing CGI with > > env: > > {'APPLICATION_ID': 'web2py', > > 'AUTH_DOMAIN': 'gmail.com', > > 'CONTENT_LENGTH': '', > > 'CONTENT_TYPE': 'application/x-www-form-urlencoded', > > 'CURRENT_VERSION_ID': '1.1', > > 'GATEWAY_INTERFACE': 'CGI/1.1', > > 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/ > > xml;q=0.9,*/*;q=0.8 > > ', > > 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', > > 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', > > 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', > > 'HTTP_CONNECTION': 'keep-alive', > > 'HTTP_COOKIE': 'session_id_welcome=127-0-0-1-b1e299cb-ea90-466d-970b- > > dff4c7db47 > > 97; session_id_admin=127-0-0-1-b2ecf05e-eb17-4bc9-a3a2-08eaafd9d4ca; > > session_id_ > > hocinetest=127-0-0-1-7b601da4-0c69-4acc-bdb3-3ec66a4d39d0', > > 'HTTP_HOST': '127.0.0.1:8080', > > 'HTTP_KEEP_ALIVE': '300', > > 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; > > rv:1.9.1b2p > > re) Gecko/20081121 Minefield/3.1b2pre', > > 'PATH_INFO': '/welcome/default/index', > > 'PATH_TRANSLATED': 'c:\\Program Files\\Google\\google_appengine\ > > \web2py\\gaehan > > dler.py', > > 'QUERY_STRING': '', > > 'REMOTE_ADDR': '127.0.0.1', > > 'REQUEST_METHOD': 'GET', > > 'SCRIPT_NAME': '', > > 'SERVER_NAME': '127.0.0.1', > > 'SERVER_PORT': '8080', > > 'SERVER_PROTOCOL': 'HTTP/1.0', > > 'SERVER_SOFTWARE': 'Development/1.0', > > 'TZ': 'UTC', > > 'USER_EMAIL': ''} > > DEBUG 2008-11-23 23:45:18,502 dev_appserver.py] Reusing main() > > function of mo > > dule "gaehandler" > > ERROR 2008-11-23 23:45:18,529 main.py] Traceback (most recent call > > last): > > File "c:\Program Files\Google\google_appengine\web2py\gluon > > \main.py", line 202 > > , in wsgibase > > session.connect(request,response) > > File "c:\Program Files\Google\google_appengine\web2py\gluon > > \globals.py", line > > 148, in connect > > response.session_id='%s-%s' % (request.client.replace > > ('.','-'),uuid.uuid4()) > > > File "C:\Python26\lib\uuid.py", line 519, in uuid4 > > _buffer = ctypes.create_string_buffer(16) > > NameError: global name 'ctypes' is not defined > > > INFO 2008-11-23 23:45:18,802 dev_appserver.py] "GET /welcome/ > > default/index H > > TTP/1.1" 200 - > > DEBUG 2008-11-23 23:45:18,812 dev_appserver_index.py] No need to > > update index > > .yaml --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---