It would be nice to be able to deploy bytecode compiled code on GAE
but they seem to use a different magic_number which prevents it.

On Jan 23, 9:50 am, devGS <[email protected]> wrote:
> Thanks a lot! I removed the compiled version and it works now.
>
> On Jan 23, 5:27 pm, Massimo Di Pierro <[email protected]>
> wrote:
>
>
>
>
>
>
>
> > You may be trying to run a compiled app on GAE. You cannot do that.
> > Run web2py normally first (no appserver), remove the compiled one,
> > then run it.
>
> > On Jan 23, 7:32 am, devGS <[email protected]> wrote:
>
> > > Update: there is an error I found in the log
>
> > > ERROR    2011-01-23 06:30:11,664 restricted.py:151] Traceback (most
> > > recent call last):
> > >   File "C:\Users\vitamin\Desktop\web2py\gluon\main.py", line 446, in
> > > wsgibase
> > >     serve_controller(request, response, session)
> > >   File "C:\Users\vitamin\Desktop\web2py\gluon\main.py", line 184, in
> > > serve_controller
> > >     run_models_in(environment)
> > >   File "C:\Users\vitamin\Desktop\web2py\gluon\compileapp.py", line
> > > 340, in run_models_in
> > >     restricted(read_pyc(model), environment, layer=model)
> > >   File "C:\Users\vitamin\Desktop\web2py\gluon\compileapp.py", line
> > > 261, in read_pyc
> > >     fp = open(filename, 'rb')
> > >   File "D:\Program Files\Google\google_appengine\google\appengine\tools
> > > \dev_appserver.py", line 1214, in __init__
> > >     raise IOError(errno.EACCES, 'file not accessible', filename)
> > > IOError: [Errno 13] file not accessible: 'C:\\Users\\vitamin\\Desktop\
> > > \web2py\\applications\\welcome/compiled/models_db.pyc'
>
> > > However, running with web2py first doesn't help.
>
> > > On Jan 22, 11:29 pm, devGS <[email protected]> wrote:
>
> > > > I'm getting "Internal error Ticket issued: unrecoverable" after running 
> > > > the
> > > > sample app
> > > > few times and deleting some entities from my local datastore.
> > > > I don't know what stack trace I can look into since my log console 
> > > > doesn't
> > > > show any errors.
> > > > The error happens when running web2py from GAE Launcher on Win. Vista.
>
> > > > Please help.

Reply via email to