Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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.
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.
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 5/15/15, 3:34 AM|
|Seen: 1074 times|
|Last updated: 5/15/15, 6:24 AM|