In the latest dal.py around line 3010 (may float a bit, I am looking
at the trunk)
if self.dbengine == 'google:datastore' in globals():
Change it to
if self.dbengine == 'google:datastore':
and the exception will go away
The issue is that
'GoogleDatastoreAdapter' is in globals(), not 'google:datast
In the latest dal.py around line 3010 (may float a bit, I am looking
at the trunk)
if self.dbengine == 'google:datastore' in globals():http://
groups.google.com/group/web2py/browse_thread/thread/
33b722be4316472a#Change it toif self.dbengine ==
'google:datastore':and the exception will go away
The
is it even supported to just throw a semi-random type into the Field()
call? i did this to use the geo point property type:
from gluon.dal import SQLCustomType
from google.appengine.ext.db import GeoPtProperty
db._adapter.types['geopt'] = GeoPtProperty
geo_point = SQLCustomType( # GAE GeoPt
I need your help debugging this.
In File "C:\iargu\gluon\dal.py", line 3464, in insert
tmp = table._tableobj(**dfields)
what's dfields when the error occurs?
Massimo
On Nov 3, 6:11 pm, Murray3 wrote:
> sorry for delayed response, I now get the following when I used latest
> dal.py
> from
sorry for delayed response, I now get the following when I used latest
dal.py
from trunk:
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\google\appengine\ext
\admin\__init__.py", line 295, in post
exec(compiled_code, globals())
File "", line 21, in
Fil
I think I just fixed this in trunk, please check.
On Nov 3, 9:34 am, Murray3 wrote:
> I thought this would work with custom SQL
> Using latest version of web2py in gae interactive console I have for
> testing purposes:
>
> from gluon.contrib.gql import gae
> from gluon.dal import *
> db = DAL('
6 matches
Mail list logo