Trying to deploy web2py app in the Virtual Server with Debian installed
using
http://bazaar.launchpad.net/~mdipierro/web2py/devel/download/head:/setupweb2pyubuntu.sh-20091113071543-nuyvk7g9cfu086wk-1/setup-web2py-ubuntu.sh

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