Doh! You're right. I had it in the application and module folder, but forgot to check the higher level web2py/applications/ folder itself. Thanks Richard.
On Mar 9, 12:56 pm, Richard <richar...@gmail.com> wrote: > that works for me on Linux. Do you have __init__.py in all those > folders? > > On Mar 9, 10:31 am, Russell <russell.mcmur...@gmail.com> wrote: > > > 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 web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.