Not sure but you do not need

from applications.omniavx_joe.modules.app_constants import *

try instead:

from app_constants import *

less things can go bad

On Sunday, 28 June 2015 08:19:46 UTC-5, Auden RovelleQuartz wrote:
>
> Error ticket for "omniavx_joe"Ticket ID
>
> 24.211.17.122.2015-06-28.08-43-36.388910c0-3f65-456d-bcf2-7ee2c50e441e
> <type 'exceptions.ImportError'> No module named 
> omniavx_joe.modules.app_constantsVersionweb2py™Version 
> 2.11.2-stable+timestamp.2015.05.30.16.33.24PythonPython 2.7.6: 
> /usr/bin/python (prefix: /usr)Traceback
>
> 1.
> 2.
> 3.
> 4.
> 5.
> 6.
> 7.
> 8.
> 9.
>
> Traceback (most recent call last):
>   File "/home/www-data/web2py/gluon/restricted.py", line 227, in restricted
>     exec ccode in environment
>   File "/home/www-data/web2py/applications/omniavx_joe/models/db.py" 
> <https://128.199.142.115/admin/default/edit/omniavx_joe/models/db.py>, line 
> 23, in <module>
>     from applications.omniavx_joe.modules.app_constants import * #CDN-000016
>   File "/home/www-data/web2py/gluon/custom_import.py", line 108, in 
> custom_importer
>     return NATIVE_IMPORTER(name, globals, locals, fromlist, level)
> ImportError: No module named omniavx_joe.modules.app_constants
>
>
> this one is stumping me.... anyone has a clue on what could be causing 
> this error?
>
> (__init__.py is in the modules folder...)
>

-- 
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.

Reply via email to