Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4801 Lượt xem

I'm running Openerp v8, but now I had the need to run a second instance of Openerp but whenever I install it somehow the second instance of OpenERP tries to access the first one, and the second one crashes. Here is a little bit about the log file:

File "/home/user/lib/python2.7/Werkzeug-0.9.4-py2.7.egg/werkzeug/serving.py", line 177, in run_wsgi execute(self.server.app) File "/home/user/lib/python2.7/Werkzeug-0.9.4-py2.7.egg/werkzeug/serving.py", line 165, in execute application_iter = app(environ, start_response)

File "/home/user/openerp-8.0-acmlpsc/openerp-8.0/openerp/service/server.py", line 273, in app return self.app(e, s)

File "/home/user/openerp-8.0-acmlpsc/openerp-8.0/openerp/service/wsgi_server.py", line 215, in application return application_unproxied(environ, start_response)

File "/home/user/openerp-8.0-acmlpsc/openerp-8.0/openerp/service/wsgi_server.py", line 201, in application_unproxied result = handler(environ, start_response)

File "/home/user/openerp-8.0-acmlpsc/openerp-8.0/openerp/http.py", line 1097, in __call__ return self.dispatch(environ, start_response)

File "/home/user/openerp-8.0-acmlpsc/openerp-8.0/openerp/http.py", line 1074, in __call__ return self.app(environ, start_wrapped)

File "/home/user/lib/python2.7/Werkzeug-0.9.4-py2.7.egg/werkzeug/wsgi.py", line 579, in __call__ return self.app(environ, start_response)

File "/home/user/openerp-8.0-acmlpsc/openerp-8.0/openerp/http.py", line 1234, in dispatch result = ir_http._dispatch() #####---> Noticed that here it changes the directory here I don't know why!

File "/home/user/openerp-8.0/openerp/addons_test/trunk-restaurant-addons/base/ir/ir_http.py", line 106, in _dispatch werkzeug.exceptions.Forbidden))

File "/home/user/openerp-8.0/openerp/addons_test/trunk-restaurant-addons/base/ir/ir_http.py", line 101, in _dispatch auth_method = self._authenticate(func.routing["auth"])

File "/home/user/openerp-8.0/openerp/addons_test/trunk-restaurant-addons/base/ir/ir_http.py", line 76, in _authenticate request.session.check_security()

File "/home/user/openerp-8.0-acmlpsc/openerp-8.0/openerp/http.py", line 801, in check_security security.check(self.db, self.uid, self.password)

File "/home/user/openerp-8.0-acmlpsc/openerp-8.0/openerp/service/security.py", line 36, in check return res_users.check(db, uid, passwd)

File "/home/user/openerp-8.0/openerp/addons_test/trunk-restaurant-addons/base/res/res_users.py", line 463, in check cr = self.pool.db.cursor()

AttributeError: 'Registry' object has no attribute 'db'

Can you help me with my problem Thank you

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Omar,

Did you start another server with a different port?

Thanks.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 15
5500
0
thg 3 15
7867
0
thg 7 15
6020
1
thg 3 15
7538
2
thg 3 15
5520