There is this line in app.yaml: skip_files: ....
(contrib/(populate|taskbar_widget)\.py)| by default we do not deploy populate on GAE because of its size. remove that line. On Thursday, 29 September 2011 04:52:16 UTC-5, 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 > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.