after the peek into custom_import, it was my mistake of missing __init__.py 
in /applications. actually i just notice we can use standard import instead 
of local_import now.

On Wednesday, June 6, 2012 2:49:29 AM UTC+8, vince wrote:
>
> i am using 1.99.7 with the similar errors, appsettings.py does exist in 
> modules so is it web2py or instantpress's problem?
>
> 1.
> 2.
> 3.
> 4.
> 5.
> 6.
> 7.
> 8.
> 9.
> 10.
> 11.
>
> Traceback (most recent call last):
>   File "/home/web2py/gluon/restricted.py", line 205, in restricted
>     exec ccode in environment
>   File "/home/web2py/applications/instantpress/models/00main.py" 
> <https://10.8.8.18/admin/default/edit/instantpress/models/00main.py>, line 
> 18, in <module>
>     from appsettings import app_settings
>   File "/home/web2py/gluon/custom_import.py", line 293, in __call__
>     fromlist, level)
>   File "/home/web2py/gluon/custom_import.py", line 78, in __call__
>     level)
> ImportError: No module named appsettings
>
>
>
>
>
>

Reply via email to