I just found by myself. populate method in db.py doesn't support in GAE.
On Thursday, September 29, 2011 6:52:16 PM UTC+9, glomde wrote: > > Hi, > > I am trying to use GAE but I get import error on populate in > db_wizard_populate.py. > > It seems to do with the restricted environment. Do anybody know how to > fix this? > > The traceback is: > > Traceback (most recent call last): > File "/home/g/web2py/gluon/restricted.py", line 192, in restricted > exec ccode in environment > File "/home/g/web2py/applications/myapp2/models/ > db_wizard_populate.py", line 3, in <module> > from gluon.contrib.populate import populate > File "/home/g/web2py/gluon/custom_import.py", line 280, in __call__ > fromlist, level) > File "/home/g/web2py/gluon/custom_import.py", line 74, in __call__ > level) > ImportError: No module named populate > --