That was the problem!  My app is online and operational!  Albeit in
alpha form, it still works!

I'm on cloud nine.  Thank you everyone!!!

On Aug 31, 1:59 am, mdipierro <[email protected]> wrote:
> GAE supports only python 2.5 you seem to be using 2.6. I am not sure
> this is the only problem but this is for sure a problem
>
> On Aug 30, 11:18 pm, hswolff <[email protected]> wrote:
>
>
>
> > Hello everyone-
>
> > I've been working on my first web2py app for the past week and a half
> > and finally came to an alpha version that is ready to be pushed to
> > Google's App Engine to share.
>
> > However I'm not having any success getting my app to run locally on
> > the GAE SDK.  Additionally the default scaffolding app 'welcome' isn't
> > running but the built in 'test' application is.
>
> > I am using web2py source Version 1.83.2 (2010-08-15 08:16:30).
>
> > I don't even know how to begin to debug what may be wrong, so any
> > advice is welcome.  Thank you!
>
> > Here's some info I got from GoogleAppEngineLauncher and from the
> > Development Console:
>
> > Log view when trying to run default scaffolding app 'welcome':
>
> > WARNING  2010-08-31 04:12:40,491 portalocker.py:91] no file locking
> > WARNING  2010-08-31 04:12:40,829 main.py:49] unable to import Rocket
> > INFO     2010-08-31 04:12:40,849 gaehandler.py:65] **** Request:
> > 0.87ms/0.87ms (real time/cpu time)
> > INFO     2010-08-31 04:12:40,851 recording.py:327] Saved; key:
> > __appstats__:060800, part: 17 bytes, full: 1206 bytes, overhead: 0.000
> > + 0.002; link:http://localhost:8081/stats/details?time=1283227960848
> > INFO     2010-08-31 04:12:40,866 dev_appserver.py:3275] "GET / HTTP/
> > 1.1" 303 -
> > INFO     2010-08-31 04:12:40,877 dev_appserver_index.py:212] Updating /
> > Users/hswolff/Downloads/web2py/index.yaml
>
> > And this is the ticket created from the GAE SDK Console:
>
> > (dp0
> > S'output'
> > p1
> > S''
> > p2
> > sS'layer'
> > p3
> > S'/Users/hswolff/Downloads/web2py/applications/bestandworst/models/
> > db.py'
> > p4
> > sS'code'
> > p5
> > S'<code object <module> at 0x102526b70, file "/Users/hswolff/Downloads/
> > web2py/applications/bestandworst/models/db.py", line 7>'
> > p6
> > sS'snapshot'
> > p7
> > (dp8
> > sS'traceback'
> > p9
> > S'Traceback (most recent call last):\n  File "/Users/hswolff/Downloads/
> > web2py/gluon/restricted.py", line 186, in restricted\n    exec ccode
> > in environment\n  File "/Users/hswolff/Downloads/web2py/applications/
> > bestandworst/models/db.py", line 29, 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 1287,
> > 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 1937, 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 1287, 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 1839, 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 1287,
> > 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 1790, in
> > LoadModuleRestricted\n    description)\n  File "/Users/hswolff/
> > Downloads/web2py/gluon/tools.py", line 3023, 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    \x00|
> > \x04\x00\x83\x01\x00}\x04\x00t\n  File "/System/Library/Frameworks/
> > Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 684, in
> > __init__\n  File "/System/Library/Frameworks/Python.framework/Versions/
> > 2.6/lib/python2.6/urllib.py", line 1558, in getproxies\n  File "/
> > System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
> > urllib.py", line 1448, in getproxies_macosx_sysconf\n  File "/
> > Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> > google/appengine/tools/dev_appserver.py", line 1287, 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 1937, 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 1287, 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 1839, 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 1287,
> > 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 1790, in
> > LoadModuleRestricted\n    description)\n  File "/System/Library/
> > Frameworks/Python.framework/Versions/2.6/lib/python2.6/ctypes/
> > __init__.py", line 10, in <module>\nImportError: No module named
> > _ctypes\n'
> > p10
> > s.

Reply via email to