I like to develop a web2py app on gae.
Setup web2py on appengine was really easy.

My idea was to start with one of the appliances applications.
I tried different apps and always got a *useless* "unable to install".
I had to comment out the try catch in gluon/admin.py to get a useful
error (btw, the exception handling really sucks). Why isnt there a
DEBUG=True Flag somewhere to get more verbose messages?

Thats what I got:

Traceback (most recent call last):
  File "/home/www/APPENGINE/web2py/gluon/restricted.py", line 178, in
restricted
    exec ccode in environment
  File "/home/www/APPENGINE/web2py/applications/admin/controllers/
default.py:site", line 1059, in <module>
  File "/home/www/APPENGINE/web2py/gluon/globals.py", line 96, in
<lambda>
    self._caller = lambda f: f()
  File "/home/www/APPENGINE/web2py/applications/admin/controllers/
default.py:site", line 122, in site
  File "/home/www/APPENGINE/web2py/gluon/admin.py", line 217, in
app_install
    upfile = open(upname, 'wb')
  File "/home/www/APPENGINE/google_appengine/google/appengine/tools/
dev_appserver.py", line 1188, in __init__
    raise IOError('invalid mode: %s' % mode)
IOError: invalid mode: wb

Maybe appengine does not allow to access the file system?
But I did read the wiki below and there's no hint it doesn't work
http://wiki.web2py.com/Deploying_web2py_on_Google_App_Engine_GAE_

Reply via email to