This question has been flagged
5 Replies
17934 Views

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?

Avatar
Discard

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

Best Answer

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

 

 

 

Avatar
Discard
Best Answer

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

Avatar
Discard
Author Best Answer

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?

Avatar
Discard
Best Answer

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

Avatar
Discard
Best Answer

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

Avatar
Discard