I do not know but ...
Not all modules can go in the modules folder. Some of them exepect to
be in sys.path

On Sep 18, 3:18 pm, Julius Minka <j...@minka.sk> wrote:
> Trying to deploy web2py app in the Virtual Server with Debian installed
> usinghttp://bazaar.launchpad.net/~mdipierro/web2py/devel/download/head:/se...
>
> results in this error:
>
> Error traceback
> 1.
> 2.
> 3.
> 4.
> 5.
> 6.
> 7.
> 8.
> 9.
> 10.
> 11.
> Traceback (most recent call last):
>   File "gluon/restricted.py", line 186, in restricted
>     exec ccode in environment
>   File "/home/www-data/web2py/applications/real/models/db.py", line 140, in 
> <module>
>     webgrid = local_import('webgrid')
>   File "gluon/compileapp.py", line 243, in <lambda>
>     local_import_aux(name,reload,app)
>   File "gluon/compileapp.py", line 174, in local_import_aux
>     module = __import__(name)
> ImportError: No module named applications.real.modules.webgrid
> Error snapshot
> Detailed traceback description
>       * Exception: <type 'exceptions.ImportError'>(No module named
>         applications.real.modules.webgrid)
>       * Python 2.5.2: /usr/bin/python
>       *
>
> the webgrid.py is available in the modules directory
> Why the import has failed?
> Julius

Reply via email to