I've added a file to the modules folder, in a controller I import this
module which works fine locally (Windows). When I deploy my application to
the server (linux, apache) I get the following error when I try to import
my module:
File "web2pypath/gluon/custom_import.py", line 82, in custom_importer
modules_prefix, globals, locals, [itemname], level)
ImportError: No module named myapp.modules
I did not activate the custom importer (track_changes) and there is a file
__init__.py (which is empty) in the modules folder. Does someone have an
idea what could be wrong or what I could try to fix this?
thanks, Alex
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.