[web2py] local_import does not work

2011-09-23 Thread Necati Demir
Hello, local_import function randomly does not import my modules from modules directory. I have this problem when i use web2py with apache (with wsgi). Any suggestion?

[web2py] local_import() nested inside local_import() not working

2010-12-09 Thread John-Kim Murphy
I am trying to import a module 'pychimp' from another module 'inbite' using local_import(). Both modules are in my modules directory. When I nest a local_import() inside another local_import() I get an error: c...@inbite.py: local_import('pychimp', reload=True) inbite = local_import('inbite',

[web2py] local_import

2010-07-02 Thread Jose
I have problems with local_import in the latest version of the trunk. Jose

[web2py] local_import works on windows, fails on Linux

2010-03-08 Thread Russell
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

[web2py] local_import

2010-01-31 Thread pistacchio
Hi, i have a file named bb.py in my application's modules directory. i import it with local_import('bb'). i made some changes to it and i notice that the program no longer loads them (but keeps working like it were using an older version). so i renamed the file to bb2.py and it kept working. if i