Help please.

I am preparing for a PaaS deployment on Heroku or Dotcloud.

I am following the setup on this page 
(https://devcenter.heroku.com/articles/django), which is essentially the 
same steps as in scripts/setup-virtualenv-web2py.sh.

However, I am getting an import error within virtualenv. The error doesn't 
exist if I run the app natively. I pretty much exhausted all the existing 
resource and still have no clues so far. Any suggestion is greatly 
appreciated. 

web2py Web Framework
Created by Massimo Di Pierro, Copyright 2007-2011
Version 1.99.4 (2011-12-14 14:46:14) stable
Database drivers available: SQLite3, pymysql, PostgreSQL

Traceback (most recent call last):
  File "/home/www-data/web2py/gluon/restricted.py", line 204, in restricted
    exec ccode in environment
  File "applications/mvc/models/db.py", line 92, in <module>
    import dbf
  File "/home/www-data/web2py/gluon/custom_import.py", line 293, in __call__
    fromlist, level)
  File "/home/www-data/web2py/gluon/custom_import.py", line 78, in __call__
    level)
ImportError: No module named mymodule



-- 



Reply via email to