Community mailing list archives

community@mail.odoo.com

Re:Odoo 8 + CentOS 7 (500

by
tderp
- 11/02/2014 06:44:03

我也在学习,大家一起研究啊。
有兴趣加QQ:2721343434

 
 
------------------ Original ------------------
Date:  Sat, Nov 1, 2014 10:53 PM
To:  "Community"<community@mail.odoo.com>;
Subject:  Odoo 8 + CentOS 7 (500
 
Hi all,

I followed the instructions here for installing Odoo 8 (from Git) on 
CentOS 7: https://panovski.me/install-odoo-8-on-centos-7/

I started the server using this command, as user odoo: 
/opt/odoo/odoo/bin/python /opt/odoo/openerp-server 
--addons=/opt/odoo/addons/

And I get this error the first time I go to the server:

2014-11-01 14:44:41,636 13370 INFO ? werkzeug: 222.164.9.172 - - 
[01/Nov/2014 14:44:41] "GET / HTTP/1.1" 500 -
2014-11-01 14:44:41,642 13370 ERROR ? werkzeug: Error on request:
Traceback (most recent call last):
   File 
"/opt/odoo/odoo/lib/python2.7/site-packages/werkzeug/serving.py", line 
177, in run_wsgi
     execute(self.server.app)
   File 
"/opt/odoo/odoo/lib/python2.7/site-packages/werkzeug/serving.py", line 
165, in execute
     application_iter = app(environ, start_response)
   File "/opt/odoo/openerp/service/server.py", line 280, in app
     return self.app(e, s)
   File "/opt/odoo/openerp/service/wsgi_server.py", line 216, in application
     return application_unproxied(environ, start_response)
   File "/opt/odoo/openerp/service/wsgi_server.py", line 202, in 
application_unproxied
     result = handler(environ, start_response)
   File "/opt/odoo/openerp/http.py", line 1214, in __call__
     self.load_addons()
   File "/opt/odoo/openerp/http.py", line 1233, in load_addons
     m = __import__('openerp.addons.' + module)
   File "/opt/odoo/openerp/modules/module.py", line 77, in load_module
     mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
   File "/opt/odoo/addons/report/__init__.py", line 2, in 
     import models
   File "/opt/odoo/addons/report/models/__init__.py", line 1, in 
     import report
   File "/opt/odoo/addons/report/models/report.py", line 68, in 
     version = re.search('([0-9.]+)', out).group(0)
AttributeError: 'NoneType' object has no attribute 'group'

If I hit the server again, I get a bunch of 404 errors:

2014-11-01 14:49:13,552 13370 INFO None werkzeug: 222.164.9.172 - - 
[01/Nov/2014 14:49:13] "GET 
/web/static/lib/fontawesome/css/font-awesome.css HTTP/1.1" 404 -
2014-11-01 14:49:13,662 13370 INFO None werkzeug: 222.164.9.172 - - 
[01/Nov/2014 14:49:13] "GET 
/web/static/lib/jquery.textext/jquery.textext.css HTTP/1.1" 404 -
2014-11-01 14:49:13,663 13370 INFO None werkzeug: 222.164.9.172 - - 
[01/Nov/2014 14:49:13] "GET /web/static/lib/cleditor/jquery.cleditor.css 
HTTP/1.1" 404 -
2014-11-01 14:49:13,681 13370 INFO None werkzeug: 222.164.9.172 - - 
[01/Nov/2014 14:49:13] "GET /web/static/lib/select2/select2.css 
HTTP/1.1" 404 -
2014-11-01 14:49:13,684 13370 INFO None werkzeug: 222.164.9.172 - - 
[01/Nov/2014 14:49:13] "GET 
/web/static/lib/jquery.ui.bootstrap/css/custom-theme/jquery-ui-1.9.0.custom.css 
HTTP/1.1" 404 -
2014-11-01 14:49:13,688 13370 INFO None werkzeug: 222.164.9.172 - - 
[01/Nov/2014 14:49:13] "GET 
/web/static/lib/jquery.ui.timepicker/css/jquery-ui-timepicker-addon.css 
HTTP/1.1" 404 -
2014-11-01 14:49:13,725 13370 INFO None werkzeug: 222.164.9.172 - - 
[01/Nov/2014 14:49:13] "GET /web/static/src/css/base.css HTTP/1.1" 404 -
2014-11-01 14:49:13,726 13370 INFO None werkzeug: 222.164.9.172 - - 
[01/Nov/2014 14:49:13] "GET 
/web/static/lib/jquery.ui.notify/css/ui.notify.css HTTP/1.1" 404 -
2014-11-01 14:49:13,729 13370 INFO None werkzeug: 222.164.9.172 - - 
[01/Nov/2014 14:49:13] "GET /web/static/lib/bootstrap/css/bootstrap.css 
HTTP/1.1" 404 -
2014-11-01 14:49:13,781 13370 INFO None werkzeug: 222.164.9.172 - - 
[01/Nov/2014 14:49:13] "GET /web/static/src/css/data_export.css 
HTTP/1.1" 404 -
2014-11-01 14:49:13,785 13370 INFO None werkzeug: 222.164.9.172 - - 
[01/Nov/2014 14:49:13] "GET /base/static/src/css/modules.css HTTP/1.1" 404 -

What am I doing wrong? Help!

Thanks in advance,

pascal chong

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe