I have a local module in /web2py/applications/test/modules/helpers.py
Which is imported like this:
h = local_import('helpers', reload=True)
This works on my windows box, but fails when I moved the application
to Linux:
File "gluon/compileapp.py", line 258, in <lambda>
local_import_aux(name,reload,app)
File "gluon/compileapp.py", line 196, in local_import_aux
exec("import %s as mymodule" % name) in env
File "<string>", line 1, in <module>
ImportError: No module named applications.test.modules.helpers
Both boxes are running 1.76.3 from source. I tried changing
permissions on the module folder and everything inside it, but no
luck. Does anyone have any suggestions?
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.