The error is

/usr/lib64/python2.6/uuid.py

I think you are runn dev_appserver with python2.6 but you should be
using 2.5.

Massimo

On Nov 22, 5:49 am, Julian Yap <julianok...@gmail.com> wrote:
> Is it me or is this issue happening again?  Running GAE 1.2.7 and
> latest web2py from SVN.
>
> $ google_appengine/dev_appserver.py web2py_svn/
> /home/me/google_appengine/google/appengine/tools/appcfg.py:41:
> DeprecationWarning: the sha module is deprecated; use the hashlib
> module instead
>   import sha
> /home/me/google_appengine/google/appengine/api/datastore_file_stub.py:
> 40: DeprecationWarning: the md5 module is deprecated; use hashlib
> instead
>   import md5
> INFO     2009-11-22 11:38:35,186 appengine_rpc.py:157] Server:
> appengine.google.com
> INFO     2009-11-22 11:38:35,189 appcfg.py:348] Checking for updates
> to the SDK.
> INFO     2009-11-22 11:38:35,871 appcfg.py:362] The SDK is up to date.
> WARNING  2009-11-22 11:38:35,871 datastore_file_stub.py:443] Could not
> read datastore data from /tmp/dev_appserver.datastore
> INFO     2009-11-22 11:38:35,892 dev_appserver_main.py:478] Running
> application web2py on port 8080:http://localhost:8080
> WARNING  2009-11-22 11:38:42,851 py_zipimport.py:103] Can't open
> zipfile /usr/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg:
> IOError: [Errno 13] file not accessible: '/usr/lib/python2.6/site-
> packages/setuptools-0.6c9-py2.6.egg'
> WARNING  2009-11-22 11:38:42,851 py_zipimport.py:103] Can't open
> zipfile /usr/lib/python2.6/site-packages/TurboJson-1.2.1-py2.6.egg:
> IOError: [Errno 13] file not accessible: '/usr/lib/python2.6/site-
> packages/TurboJson-1.2.1-py2.6.egg'
> WARNING  2009-11-22 11:38:42,852 py_zipimport.py:103] Can't open
> zipfile /usr/lib/python2.6/site-packages/Genshi-0.5.1-py2.6-linux-
> x86_64.egg: IOError: [Errno 13] file not accessible: '/usr/lib/
> python2.6/site-packages/Genshi-0.5.1-py2.6-linux-x86_64.egg'
> WARNING  2009-11-22 11:38:42,852 py_zipimport.py:103] Can't open
> zipfile /usr/lib/python2.6/site-packages/prioritized_methods-0.2.1-
> py2.6.egg: IOError: [Errno 13] file not accessible: '/usr/lib/
> python2.6/site-packages/prioritized_methods-0.2.1-py2.6.egg'
> WARNING  2009-11-22 11:38:42,852 py_zipimport.py:103] Can't open
> zipfile /usr/lib/python2.6/site-packages/PEAK_Rules-0.5a1.dev_r2582-
> py2.6.egg: IOError: [Errno 13] file not accessible: '/usr/lib/
> python2.6/site-packages/PEAK_Rules-0.5a1.dev_r2582-py2.6.egg'
> WARNING  2009-11-22 11:38:42,853 py_zipimport.py:103] Can't open
> zipfile /usr/lib/python2.6/site-packages/Tempita-0.2-py2.6.egg:
> IOError: [Errno 13] file not accessible: '/usr/lib/python2.6/site-
> packages/Tempita-0.2-py2.6.egg'
> WARNING  2009-11-22 11:38:42,853 py_zipimport.py:103] Can't open
> zipfile /usr/lib/python2.6/site-packages/WebOb-0.9.6.1-py2.6.egg:
> IOError: [Errno 13] file not accessible: '/usr/lib/python2.6/site-
> packages/WebOb-0.9.6.1-py2.6.egg'
> WARNING  2009-11-22 11:38:42,853 py_zipimport.py:103] Can't open
> zipfile /usr/lib/python2.6/site-packages/WebTest-1.1-py2.6.egg:
> IOError: [Errno 13] file not accessible: '/usr/lib/python2.6/site-
> packages/WebTest-1.1-py2.6.egg'
> WARNING  2009-11-22 11:38:42,854 py_zipimport.py:103] Can't open
> zipfile /usr/lib/python2.6/site-packages/Extremes-1.1-py2.6.egg:
> IOError: [Errno 13] file not accessible: '/usr/lib/python2.6/site-
> packages/Extremes-1.1-py2.6.egg'
> WARNING  2009-11-22 11:38:42,854 py_zipimport.py:103] Can't open
> zipfile /usr/lib/python2.6/site-packages/AddOns-0.6-py2.6.egg:
> IOError: [Errno 13] file not accessible: '/usr/lib/python2.6/site-
> packages/AddOns-0.6-py2.6.egg'
> WARNING  2009-11-22 11:38:42,855 py_zipimport.py:103] Can't open
> zipfile /usr/lib/python2.6/site-packages/DecoratorTools-1.7-py2.6.egg:
> IOError: [Errno 13] file not accessible: '/usr/lib/python2.6/site-
> packages/DecoratorTools-1.7-py2.6.egg'
> WARNING  2009-11-22 11:38:42,855 py_zipimport.py:103] Can't open
> zipfile /usr/lib/python2.6/site-packages/BytecodeAssembler-0.3-
> py2.6.egg: IOError: [Errno 13] file not accessible: '/usr/lib/
> python2.6/site-packages/BytecodeAssembler-0.3-py2.6.egg'
> WARNING  2009-11-22 11:38:42,855 py_zipimport.py:103] Can't open
> zipfile /usr/lib/python2.6/site-packages/SymbolType-1.0-py2.6.egg:
> IOError: [Errno 13] file not accessible: '/usr/lib/python2.6/site-
> packages/SymbolType-1.0-py2.6.egg'
> WARNING  2009-11-22 11:38:42,856 py_zipimport.py:103] Can't open
> zipfile /usr/lib/python2.6/site-packages/tgext.admin-0.2.6-py2.6.egg:
> IOError: [Errno 13] file not accessible: '/usr/lib/python2.6/site-
> packages/tgext.admin-0.2.6-py2.6.egg'
> WARNING  2009-11-22 11:38:42,856 py_zipimport.py:103] Can't open
> zipfile /usr/lib/python2.6/site-packages/tgext.crud-0.2.4-py2.6.egg:
> IOError: [Errno 13] file not accessible: '/usr/lib/python2.6/site-
> packages/tgext.crud-0.2.4-py2.6.egg'
> WARNING  2009-11-22 11:38:42,904 portalocker.py:91] no file locking
> WARNING  2009-11-22 11:38:43,189 cache.py:36] unable to import dbhash
> WARNING  2009-11-22 11:38:43,218 main.py:58] unable to import
> wsgiserver
> INFO     2009-11-22 11:38:43,223 gaehandler.py:56] **** Request:
> 0.45ms/0.00ms (real time/cpu time)
> INFO     2009-11-22 11:38:43,227 dev_appserver.py:3038] "GET / HTTP/
> 1.1" 303 -
> INFO     2009-11-22 11:38:43,228 dev_appserver_index.py:205] Updating /
> home/me/web2py_svn/index.yaml
> ERROR    2009-11-22 11:38:43,236 restricted.py:154] Traceback (most
> recent call last):
>   File "/home/me/web2py_svn/gluon/main.py", line 443, in wsgibase
>     session.connect(request, response)
>   File "/home/me/web2py_svn/gluon/globals.py", line 276, in connect
>     '-'), uuid.uuid4())
>   File "/usr/lib64/python2.6/uuid.py", line 519, in uuid4
>     _buffer = ctypes.create_string_buffer(16)
> NameError: global name 'ctypes' is not defined
>
> INFO     2009-11-22 11:38:43,236 gaehandler.py:56] **** Request:
> 1.30ms/0.00ms (real time/cpu time)
> INFO     2009-11-22 11:38:43,240 dev_appserver.py:3038] "GET /welcome/
> default/index HTTP/1.1" 500 -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to