Thank you ! I'm stupid. Sorry. :) Thanks for your help. Dominique
On 25 mar, 01:31, mdipierro <mdipie...@cs.depaul.edu> wrote: > You MUST use python 2.5 > > Massimo > > On Mar 24, 5:20 pm, dme69 <dmeg...@gmail.com> wrote: > > > > > Hello all, > > > I just tried to create a new gae project (on os x) by creating a new > > application with existing source : with fresh web2py folder. > > > When I try to run with the googleappenginelauncher this new > > application it goes to welcome/default/index but it's not working : > > it's creating a ticket error : > > > (dp0 > > S'output' > > p1 > > S'' > > p2 > > sS'layer' > > p3 > > S'/Applications/web2py/applications/welcome/models/db.py' > > p4 > > sS'code' > > p5 > > S'<code object <module> at 0x101c27a08, file "/Applications/web2py/ > > applications/welcome/models/db.py", line 7>' > > p6 > > sS'traceback' > > p7 > > S'Traceback (most recent call last):\n File "/Applications/web2py/ > > gluon/restricted.py", line 173, in restricted\n exec ccode in > > environment\n File "/Applications/web2py/applications/welcome/models/ > > db.py", line 28, in <module>\n from gluon.tools import *\n File "/ > > Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > > google/appengine/tools/dev_appserver.py", line 1267, in Decorate\n > > return func(self, *args, **kwargs)\n File "/Applications/ > > GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine- > > default.bundle/Contents/Resources/google_appengine/google/appengine/ > > tools/dev_appserver.py", line 1917, in load_module\n return > > self.FindAndLoadModule(submodule, fullname, search_path)\n File "/ > > Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > > google/appengine/tools/dev_appserver.py", line 1267, in Decorate\n > > return func(self, *args, **kwargs)\n File "/Applications/ > > GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine- > > default.bundle/Contents/Resources/google_appengine/google/appengine/ > > tools/dev_appserver.py", line 1819, in FindAndLoadModule\n > > description)\n File "/Applications/GoogleAppEngineLauncher.app/ > > Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/ > > google_appengine/google/appengine/tools/dev_appserver.py", line 1267, > > in Decorate\n return func(self, *args, **kwargs)\n File "/ > > Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > > google/appengine/tools/dev_appserver.py", line 1770, in > > LoadModuleRestricted\n description)\n File "/Applications/web2py/ > > gluon/tools.py", line 2523, in <module>\n > > urllib2.install_opener(urllib2.build_opener(urllib2.HTTPCookieProcessor())) > > \n File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/ > > python2.6/urllib2.py", line 464, in build_opener\n > > opener.add_handler(klass())\n File "/System/Library/Frameworks/ > > Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 684, in > > __init__\n proxies = getproxies()\n File "/System/Library/ > > Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib.py", > > line 1558, in getproxies\n return getproxies_environment() or > > getproxies_macosx_sysconf()\n File "/System/Library/Frameworks/ > > Python.framework/Versions/2.6/lib/python2.6/urllib.py", line 1448, in > > getproxies_macosx_sysconf\n from ctypes import cdll\n File "/ > > Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > > google/appengine/tools/dev_appserver.py", line 1267, in Decorate\n > > return func(self, *args, **kwargs)\n File "/Applications/ > > GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine- > > default.bundle/Contents/Resources/google_appengine/google/appengine/ > > tools/dev_appserver.py", line 1917, in load_module\n return > > self.FindAndLoadModule(submodule, fullname, search_path)\n File "/ > > Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > > google/appengine/tools/dev_appserver.py", line 1267, in Decorate\n > > return func(self, *args, **kwargs)\n File "/Applications/ > > GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine- > > default.bundle/Contents/Resources/google_appengine/google/appengine/ > > tools/dev_appserver.py", line 1819, in FindAndLoadModule\n > > description)\n File "/Applications/GoogleAppEngineLauncher.app/ > > Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/ > > google_appengine/google/appengine/tools/dev_appserver.py", line 1267, > > in Decorate\n return func(self, *args, **kwargs)\n File "/ > > Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > > google/appengine/tools/dev_appserver.py", line 1770, in > > LoadModuleRestricted\n description)\n File "/System/Library/ > > Frameworks/Python.framework/Versions/2.6/lib/python2.6/ctypes/ > > __init__.py", line 10, in <module>\n from _ctypes import Union, > > Structure, Array\nImportError: No module named _ctypes\n' > > p8 > > s. > > > Can someone help me ? how to make web2py working with gae ? > > Thanks. > > Dominique. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@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.