Please check that your python version is 2.5. If this is not the case, 
change the app.yaml to use python2.7 runtime.

-rif

luni, 9 aprilie 2012, 20:57:21 UTC+3, waglik a scris:
>
> Hi guys.
>
>
> I try playing with web2py on GAE but on a very beginning I fail with 
> running my app. when I start my app I get :
>
> Internal errorTicket issued: 
> unrecoverable<http://localhost:8080/admin/default/ticket/unrecoverable>
>
> and in the dev_appserver console I get : 
>
>
> WARNING  2012-04-09 17:51:57,679 dev_appserver_import_hook.py:546] 
> Blocking access to skipped file "/home/waglik/workspace/aaa/gluon/rocket.py"
> WARNING  2012-04-09 17:51:57,687 dev_appserver_import_hook.py:546] 
> Blocking access to skipped file 
> "/home/waglik/workspace/aaa/applications/myapp/languages/en-us.py"
> WARNING  2012-04-09 17:51:57,687 dev_appserver_import_hook.py:546] 
> Blocking access to skipped file 
> "/home/waglik/workspace/aaa/applications/myapp/compiled"
> WARNING  2012-04-09 17:51:57,688 dev_appserver_import_hook.py:546] 
> Blocking access to skipped file 
> "/home/waglik/workspace/aaa/applications/myapp/models/db.py"
>
> ERROR    2012-04-09 17:51:57,798 restricted.py:155] Traceback (most recent 
> call last):
>   File "/home/waglik/workspace/aaa/gluon/main.py", line 498, in wsgibase
>     serve_controller(request, response, session)
>   File "/home/waglik/workspace/aaa/gluon/main.py", line 200, in 
> serve_controller
>     run_models_in(environment)
>   File "/home/waglik/workspace/aaa/gluon/compileapp.py", line 512, in 
> run_models_in
>     code = getcfs(model, model, None)
>   File "/home/waglik/workspace/aaa/gluon/cfs.py", line 37, in getcfs
>     t = os.stat(filename)[stat.ST_MTIME]
>   File 
> "/home/waglik/Applications/google_appengine/google/appengine/tools/dev_appserver_import_hook.py",
>  
> line 620, in __call__
>     raise OSError(errno.EACCES, 'path not accessible', path)
> OSError: [Errno 13] path not accessible: 
> '/home/waglik/workspace/aaa/applications/myapp/models/db.py'
>
>
> my db.py is :
>
> from gluon.contrib.gql import GQLDB
> db = GQLDB()
> session.connect(request,response,db=db)
>
> db.define_table('book',
>    Field('name'),
>    Field('code', unique=True),
>    Field('file', 'upload'),
>    format = '%(title)s')
>
>
> What do I do wrong? Is there a documentation that covers GAE integration 
> (I just find video on vimeo and some short post on old web2py blog)
>
> thanks for help
>
>
>

Reply via email to