[web2py] Re: GAE Import error

2012-10-14 Thread b00m_chef
This error was fixed, but now my app just throws a 500 error, with no error 
code.



On Sunday, October 14, 2012 5:33:59 PM UTC-7, b00m_chef wrote:
>
> Using web2py 2.0.9 source with AppEngine 1.7.2
>
> I get an error in GAE:
>
> ERROR2012-10-15 00:29:49,611 cgi.py:121] Traceback (most recent call 
> last):
>   File "C:\gaeapp\gaehandler.py", line 41, in 
> from gluon.settings import global_settings
> ImportError: No module named gluon.settings
>
>

-- 





[web2py] Re: gae import error

2010-05-03 Thread mattynoce
no, i'm using the source. i had a python problem with the other
project i had been working on, where i upgraded to snow leopard and i
didn't realize it upgraded me to 2.6. but in solving that problem i
changed my python path, and i just tested and it's running 2.5.

so i'm using gae launcher and i have my web2py source directory. i
don't have launcher running while i'm testing web2py -- if i import
gae, do i have to be doing it through the launcher (and thus port
8080)? i'm currently assuming test using web2py without running gae
because i figure there's source code to handle the conversion. that
may be an incorrect assumption.

thanks!

matt

On May 3, 10:21 am, mdipierro  wrote:
> Are you using the web2py binary distribution? If so that uses its own
> python and will not see GAE libs installed. Make sure you run from
> source and use Python 2.5
>
> On May 3, 5:08 am, mattynoce  wrote:
>
> > i'm on a mac and i have the google app engine launcher installed in my
> > applications folder, and it works fine for uploading and deploying. is
> > there something else i need to be doing?
>
> > matt
>
> > On May 2, 6:23 pm, mdipierro  wrote:
>
> > > You need the Google development api installed.
>
> > > On May 2, 10:01 am, mattynoce  wrote:
>
> > > > hi, i was attempting to add a listproperty to my db.py file and
> > > > encountered an import error. i haven't added the listproperty yet, i
> > > > just added the import line:
>
> > > > from gluon.contrib.gql import gae
>
> > > > and i put it after the default mail lines and before i redefined the
> > > > user table (which is working). here is the error message:
>
> > > > Traceback (most recent call last):
> > > >   File "[home directory]/web2py/gluon/restricted.py", line 178, in
> > > > restricted
> > > >     exec ccode in environment
> > > >   File "[home directory]/web2py/applications/init/models/db.py", line
> > > > 50, in 
> > > >     from gluon.contrib.gql import gae
> > > >   File "[home directory]/web2py/gluon/contrib/gql.py", line 29, in
> > > > 
> > > >     from google.appengine.ext import db as gae
> > > > ImportError: No module named google.appengine.ext
>
> > > > i have version 1.77.3. do i need to do something special to find the
> > > > google.appengine.ext module?
>
> > > > thanks,
>
> > > > matt


[web2py] Re: gae import error

2010-05-03 Thread mdipierro
Are you using the web2py binary distribution? If so that uses its own
python and will not see GAE libs installed. Make sure you run from
source and use Python 2.5

On May 3, 5:08 am, mattynoce  wrote:
> i'm on a mac and i have the google app engine launcher installed in my
> applications folder, and it works fine for uploading and deploying. is
> there something else i need to be doing?
>
> matt
>
> On May 2, 6:23 pm, mdipierro  wrote:
>
> > You need the Google development api installed.
>
> > On May 2, 10:01 am, mattynoce  wrote:
>
> > > hi, i was attempting to add a listproperty to my db.py file and
> > > encountered an import error. i haven't added the listproperty yet, i
> > > just added the import line:
>
> > > from gluon.contrib.gql import gae
>
> > > and i put it after the default mail lines and before i redefined the
> > > user table (which is working). here is the error message:
>
> > > Traceback (most recent call last):
> > >   File "[home directory]/web2py/gluon/restricted.py", line 178, in
> > > restricted
> > >     exec ccode in environment
> > >   File "[home directory]/web2py/applications/init/models/db.py", line
> > > 50, in 
> > >     from gluon.contrib.gql import gae
> > >   File "[home directory]/web2py/gluon/contrib/gql.py", line 29, in
> > > 
> > >     from google.appengine.ext import db as gae
> > > ImportError: No module named google.appengine.ext
>
> > > i have version 1.77.3. do i need to do something special to find the
> > > google.appengine.ext module?
>
> > > thanks,
>
> > > matt


[web2py] Re: gae import error

2010-05-03 Thread mattynoce
i'm on a mac and i have the google app engine launcher installed in my
applications folder, and it works fine for uploading and deploying. is
there something else i need to be doing?

matt

On May 2, 6:23 pm, mdipierro  wrote:
> You need the Google development api installed.
>
> On May 2, 10:01 am, mattynoce  wrote:
>
> > hi, i was attempting to add a listproperty to my db.py file and
> > encountered an import error. i haven't added the listproperty yet, i
> > just added the import line:
>
> > from gluon.contrib.gql import gae
>
> > and i put it after the default mail lines and before i redefined the
> > user table (which is working). here is the error message:
>
> > Traceback (most recent call last):
> >   File "[home directory]/web2py/gluon/restricted.py", line 178, in
> > restricted
> >     exec ccode in environment
> >   File "[home directory]/web2py/applications/init/models/db.py", line
> > 50, in 
> >     from gluon.contrib.gql import gae
> >   File "[home directory]/web2py/gluon/contrib/gql.py", line 29, in
> > 
> >     from google.appengine.ext import db as gae
> > ImportError: No module named google.appengine.ext
>
> > i have version 1.77.3. do i need to do something special to find the
> > google.appengine.ext module?
>
> > thanks,
>
> > matt


[web2py] Re: gae import error

2010-05-02 Thread mdipierro
You need the Google development api installed.

On May 2, 10:01 am, mattynoce  wrote:
> hi, i was attempting to add a listproperty to my db.py file and
> encountered an import error. i haven't added the listproperty yet, i
> just added the import line:
>
> from gluon.contrib.gql import gae
>
> and i put it after the default mail lines and before i redefined the
> user table (which is working). here is the error message:
>
> Traceback (most recent call last):
>   File "[home directory]/web2py/gluon/restricted.py", line 178, in
> restricted
>     exec ccode in environment
>   File "[home directory]/web2py/applications/init/models/db.py", line
> 50, in 
>     from gluon.contrib.gql import gae
>   File "[home directory]/web2py/gluon/contrib/gql.py", line 29, in
> 
>     from google.appengine.ext import db as gae
> ImportError: No module named google.appengine.ext
>
> i have version 1.77.3. do i need to do something special to find the
> google.appengine.ext module?
>
> thanks,
>
> matt