콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
5 답글
19276 화면

I am trying to restart openerp , but getting the following error:

No handlers could be found for logger "openerp.addons.base_gengo.wizard.base_gengo_translations" Traceback (most recent call last): File "/usr/bin/openerp-server", line 10, in <module> openerp.cli.main() File "/usr/lib/pymodules/python2.7/openerp/cli/__init__.py", line 51, in main __import__(m) File "/usr/lib/pymodules/python2.7/openerp/modules/module.py", line 133, in load_module mod = imp.load_module('openerp.addons.' + module_part, f, path, descr) File "/usr/lib/pymodules/python2.7/openerp/addons/account_test/__init__.py", line 1, in <module> import account_test File "/usr/lib/pymodules/python2.7/openerp/addons/account_test/account_test.py", line 32, in <module> import pooler ImportError: No module named pooler

What could be the issue here? How can i resolve this?

아바타
취소

Duplicate question: https://www.odoo.com/forum/Help-1/question/Why-am-I-getting-no-module-named-pooler-netsvc-etc-when-I-try-to-shut-down-31750

베스트 답변

I have the same problem when i change openerp7 to openerp8.

I solved the problem ImportError: No module named report.

from openerp.report import report_sxw instead of from report import report_sxw in .py

Thanks

 

 

 

아바타
취소
베스트 답변

This is and old question, and actually the module pooler is deprecated as for version >=7.

Nevertheless, this is because this has been moved, you need to do:

    from openerp import pooler

아바타
취소
작성자 베스트 답변

I resolved the first issue by prefixing openerp.pooler... i.e import openerp.pooler. Now i am getting the error: No handlers could be found for logger "openerp.addons.base_gengo.wizard.base_gengo_translations" Traceback (most recent call last): File "/usr/bin/openerp-server", line 10, in <module> openerp.cli.main() File "/usr/lib/pymodules/python2.7/openerp/cli/__init__.py", line 51, in main __import__(m) File "/usr/lib/pymodules/python2.7/openerp/modules/module.py", line 133, in load_module mod = imp.load_module('openerp.addons.' + module_part, f, path, descr) File "/usr/lib/pymodules/python2.7/openerp/addons/account_test/__init__.py", line 2, in <module> import report File "/usr/lib/pymodules/python2.7/openerp/addons/account_test/report/__init__.py", line 1, in <module> import account_test_report File "/usr/lib/pymodules/python2.7/openerp/addons/account_test/report/account_test_report.py", line 25, in <module> from report import report_sxw ImportError: No module named report

How do i resolve the issue of having to prefix...openerp.module?

아바타
취소
베스트 답변

Hi i have the same problem on my wheezy install of OpenERP v7 did you find a way to solve this ... thanks Best regards

아바타
취소
베스트 답변

You need to add one line in your account_test.py.

Just write from openerp import pooler on first line in your account_test.py then restart the OpenERP server.

You can find pooler.py in server->openerp->pooler.py

아바타
취소
관련 게시물 답글 화면 활동
1
4월 25
920
1
12월 23
1561
0
11월 23
1726
1
5월 23
3318
0
4월 23
2384