[web2py] Re: GAE SDK: Getting ImportError for gluon.contrib.populate import populate

2015-05-27 Thread Massimo Di Pierro
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  
> 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.


[web2py] Re: GAE SDK: Getting ImportError for gluon.contrib.populate import populate

2015-05-25 Thread Davy Jacops
I have the same issue
So what did you do about this?

Thx
Davy


Op maandag 13 augustus 2012 12:53:10 UTC+2 schreef Jaymin Oh:
>
> 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  
>> 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.


[web2py] Re: GAE SDK: Getting ImportError for gluon.contrib.populate import populate

2012-08-13 Thread Jaymin Oh
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  
> 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 
>

--