Odoo Help


Problem with OpenERP 7.0 magento connector while using multiprocessing.

Nishant Jogi
on 5/15/15, 3:34 AM 1,050 views

Hello Guys,

Accept Greetings from Nishant.

Actually I stuck at one problem regarding OpenERP 7.0 magento connector while using --workers.

Here, Enque Job scheduler is not executing properly because of dead Workers.

I have refered following link to resolve this problem but not succed yet.


I always get an error :

Traceback (most recent call last):

File "openerp-connector-worker", line 13, in <module>

import openerp.service.workers as workers

ImportError: No module named workers

It will be great if someone helps me out.


Nishant Jogi
On 5/15/15, 6:24 AM


Thanks for reply.

I have openerp => server => openerp = > service => workers.py file available.

Actually I have followed following steps to do it.

1. set opener/server path as PYTHONPATH

2. start server by following command:

PYTHONPATH=/home/my_system/workspace/openerp-magento-connector/openerp-connector/connector/openerp-connector-worker --config /home/my_system/Desktop/openerp-server.conf --workers=5 --logfile=/tmp/openerp-connector.log

Please correct me if I am wrong.


`/home/my_system/workspace/openerp-magento-connector/openerp-connector/connector/openerp-connector-worker` is in PYTHONPATH instead of the openerp server

Camptocamp SA, Guewen Baconnier - Software Developer, Camptocamp
on 5/22/15, 3:41 AM


just have a look in your OpenERP structure as like below is available or not.

openerp => server => openerp = > service => workers.py

or you have as like below.

openerp => server => openerp = > service => server.py

If you have server.py instead of workers.py then you just need to change one line in file "openerp-connector-worker" as like below.

import openerp.service.server as workers. thats it.

I hope you will resolve this issue.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 5/15/15, 3:34 AM
Seen: 1050 times
Last updated: 5/15/15, 6:24 AM