Community: Framework mailing list archives

expert-framework@mail.odoo.com

Re: ImportError: No module named openerp

by
Andy Torres
- 05/13/2016 08:37:14
andy@desarrollo06 ~ $ ls -l odoo-8.0-20150903/
total 92
-rw-r--r--  1 andy andy 34922 may 13 08:26 LICENSE
-rw-r--r--  1 andy andy   921 may 13 08:26 MANIFEST.in
drwxr-xr-x  2 andy andy  4096 sep  2  2015 odoo.egg-info
-rwxr-xr-x  1 andy andy  5618 may 13 08:26 odoo.py
drwxr-xr-x 12 andy andy  4096 may 13 08:27 openerp
-rwxr-xr-x  1 andy andy   196 may 13 08:26 openerp-gevent
-rwxr-xr-x  1 andy andy   155 may 13 08:26 openerp-server
-rwxrwx--x  1 andy andy  1595 may 13 08:27 openerp-wsgi.py
-rw-r--r--  1 andy andy   771 may 13 08:26 PKG-INFO
-rw-r--r--  1 andy andy  1951 may 13 08:26 README.md
-rw-r--r--  1 andy andy   621 may 13 08:27 requirements.txt
-rw-r--r--  1 andy andy   552 may 13 08:26 setup.cfg
-rw-r--r--  1 andy andy  5628 may 13 08:26 setup.py


andy@desarrollo06 ~ $ ls -l odoo-8.0-20150903/openerp
total 1024
drwxr-xr-x 278 andy andy  12288 may 13 08:27 addons
-rw-r--r--   1 andy andy  32744 may 13 08:26 api.py
-rw-r--r--   1 andy andy  37138 may 13 08:27 api.pyc
drwxr-xr-x   3 andy andy   4096 may 13 08:27 cli
drwxr-xr-x   2 andy andy   4096 may 13 08:27 conf
-rw-r--r--   1 andy andy   3157 may 13 08:27 exceptions.py
-rw-r--r--   1 andy andy   4131 may 13 08:27 exceptions.pyc
-rw-r--r--   1 andy andy  74856 may 13 08:26 fields.py
-rw-r--r--   1 andy andy  70152 may 13 08:27 fields.pyc
-rw-r--r--   1 andy andy  60957 may 13 08:27 http.py
-rw-r--r--   1 andy andy  60862 may 13 08:27 http.pyc
-rw-r--r--   1 andy andy  14607 may 13 08:27 import_xml.rng
-rw-r--r--   1 andy andy   3586 may 13 08:27 __init__.py
-rw-r--r--   1 andy andy   1521 may 13 08:27 __init__.pyc
-rw-r--r--   1 andy andy   3930 may 13 08:27 loglevels.py
-rw-r--r--   1 andy andy   3091 may 13 08:27 loglevels.pyc
-rw-r--r--   1 andy andy 284748 may 13 08:27 models.py
-rw-r--r--   1 andy andy 221797 may 13 08:27 models.pyc
drwxr-xr-x   2 andy andy   4096 may 13 08:27 modules
-rw-r--r--   1 andy andy   9506 may 13 08:26 netsvc.py
-rw-r--r--   1 andy andy   8641 may 13 08:27 netsvc.pyc
drwxr-xr-x   2 andy andy   4096 may 13 08:27 osv
-rw-r--r--   1 andy andy   2561 may 13 08:27 pooler.py
-rw-r--r--   1 andy andy   2067 may 13 08:27 pooler.pyc
-rw-r--r--   1 andy andy   2634 may 13 08:26 release.py
-rw-r--r--   1 andy andy   1455 may 13 08:27 release.pyc
drwxr-xr-x   4 andy andy   4096 may 13 08:27 report
drwxr-xr-x   2 andy andy   4096 may 13 08:27 service
-rw-r--r--   1 andy andy  23783 may 13 08:27 sql_db.py
-rw-r--r--   1 andy andy  24619 may 13 08:27 sql_db.pyc
drwxr-xr-x   3 andy andy   4096 sep  4  2015 tests
drwxr-xr-x   2 andy andy   4096 may 13 08:27 tools
drwxr-xr-x   2 andy andy   4096 may 13 08:27 workflow

Andy Torres Utra
Esp. B en Ciencias Informáticas
andy@lt.desoft.cu

El 12/05/16 a las 16:26, Stefan Becker escribió:
> I'm not very familar with gunicorn, but on the python side of view, it looks like there are one or more files missing.
> Can you post the output of the following commands?
>
> ls -l /home/andy/odoo/odoo-8.0-20150903/
> ls -l /home/andy/odoo/odoo-8.0-20150903/openerp
>
> On Do, 2016-05-12 at 18:56 +0000, Andy Torres Utra wrote:> Hi, I'm deploying Odoo 8 using Apache and mod_wsgi, I followed the 
> steps detailed here and here, but whenever I try to > start the apache 
> server, I get this error with the openerp-wsgi.py file: > import 
> openerp > ImportError: No module named openerp > I even tried to 
> launch the server running > gunicorn 
> openerp.service.wsgi_server.application -c 
> /home/andy/odoo/odoo-8.0-20150903/openerp-wsgi.py > , but it still 
> throws me the error. > I'd appreciate if someone points me in the 
> right direction. Thanks in advance > 
> _______________________________________________ > Mailing-List: 
> https://www.odoo.com/groups/community-framework-62 > Post to: 
> mailto:expert-framework@mail.odoo.com > Unsubscribe: 
> https://www.odoo.com/groups?unsubscribe
>
> _______________________________________________
> Mailing-List: https://www.odoo.com/groups/community-framework-62
> Post to: mailto:expert-framework@mail.odoo.com
> Unsubscribe: https://www.odoo.com/groups?unsubscribe
>