主题: [Bug 1337067] Re: OpenERP Connector - Magento conflict with the basemodule
I have the same exception
Exception in thread openerp.service.cron.cron1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/dav/dvp/7/OCB/openerp/service/cron.py", line 73, in target
cron_runner(i)
File "/home/dav/dvp/7/OCB/openerp/service/cron.py", line 52, in cron_runner
base = sys.modules['addons.base']
KeyError: 'addons.base'
in my case 'addons.base' in not in sys.modules
Instead there is 'openerp.addons.base' key
Here is an extract of sys.modules list
..., 'connector.collections', 'openerp.report.int_to_text', 'base.module.re', 'openerp.addons.procurement.wizard.openerp', 'openerp.addons.product_custom_attributes.openerp', 'openerp.addons.crm.report.crm_lead_report', 'pychart.line_plot', 'openerp.addons.stock.wizard.stock_inventory_merge', 'mail.controllers.base64', 'openerp.addons.portal.logging', 'pychart.area_doc', 'osv.pytz', 'hr_timesheet_sheet.report.hr_timesheet_report', 'openerp.addons.project.report.project_report', 'openerp.addons.base', 'openerp.addons.point_of_sale.report.pos_sales_user', 'openerp.addons.base_setup.res_config', 'psutil', 'OpenSSL.crypto', 'openerp.addons.crm_claim_rma.stock', 'openerp.datetime', 'openerp.addons.l10n_in_hr_payroll.report.datetime', 'babel.localtime.subprocess', 'sale_exceptions.sale', 'openerp.addons.web.cli.test_js', 'openerp.addons.base.res.datetime', 'base.ir.ir_ui_menu', 'PIL._binary', 'openerp.addons.base.ir.wizard.wizard_menu', 'openerp.addons.base.res.locale', 'docutils', 'math', 'report_webkit.os', 'workflow', 'fetchmail.base64', ...
When crons are deactivate, the exception is yet raised
It happens in 2 of our clients with magento connector.
No case up to now with other install than magento
Title:
OpenERP Connector - Magento conflict with the base module
Status in OpenERP Connector - Magento:
New
Bug description:
Sometimes,when my OpenERP Connector is running,the OpenERP 7.0 log
will show the base module error.Then my OpenERP Connector will did not
work,all the jobs status are always in pending,Could you help me?
Hi,the log show:
Exception in thread openerp.service.cron.cron1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 504, in run
self.__target(*self.__args, **self.__kwargs)
File "/opt/openerp/server/openerp/service/cron.py", line 71, in target
cron_runner(i)
File "/opt/openerp/server/openerp/service/cron.py", line 50, in cron_runner
base = sys.modules['addons.base']
KeyError: 'addons.base'
When I uninstall OpenERP Connector - Magento and reinstall OpenERP Connector - Magento,it can back to work,Otherwise all the jobs status are always in pending
Thank you very much!
------------------ 原始邮件 ------------------
发件人: "David BEAL (ak)";<email address hidden>;
发送时间: 2014年10月20日(星期一) 晚上11:34
收件人: "Amatsukaz"<email address hidden>;
主题: [Bug 1337067] Re: OpenERP Connector - Magento conflict with the basemodule
I have the same exception
Exception in thread openerp. service. cron.cron1: python2. 7/threading. py", line 810, in __bootstrap_inner python2. 7/threading. py", line 763, in run __target( *self._ _args, **self.__kwargs) dav/dvp/ 7/OCB/openerp/ service/ cron.py" , line 73, in target dav/dvp/ 7/OCB/openerp/ service/ cron.py" , line 52, in cron_runner 'addons. base']
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
self.
File "/home/
cron_runner(i)
File "/home/
base = sys.modules[
KeyError: 'addons.base'
in my case 'addons.base' in not in sys.modules addons. base' key
Instead there is 'openerp.
Here is an extract of sys.modules list collections' , 'openerp. report. int_to_ text', 'base.module.re', 'openerp. addons. procurement. wizard. openerp' , 'openerp. addons. product_ custom_ attributes. openerp' , 'openerp. addons. crm.report. crm_lead_ report' , 'pychart. line_plot' , 'openerp. addons. stock.wizard. stock_inventory _merge' , 'mail.controlle rs.base64' , 'openerp. addons. portal. logging' , 'pychart.area_doc', 'osv.pytz', 'hr_timesheet_ sheet.report. hr_timesheet_ report' , 'openerp. addons. project. report. project_ report' , 'openerp. addons. base', 'openerp. addons. point_of_ sale.report. pos_sales_ user', 'openerp. addons. base_setup. res_config' , 'psutil', 'OpenSSL.crypto', 'openerp. addons. crm_claim_ rma.stock' , 'openerp.datetime', 'openerp. addons. l10n_in_ hr_payroll. report. datetime' , 'babel. localtime. subprocess' , 'sale_exception s.sale' , 'openerp. addons. web.cli. test_js' , 'openerp. addons. base.res. datetime' , 'base.ir. ir_ui_menu' , 'PIL._binary', 'openerp. addons. base.ir. wizard. wizard_ menu', 'openerp. addons. base.res. locale' , 'docutils', 'math', 'report_webkit.os', 'workflow', 'fetchmail.base64', ...
..., 'connector.
When crons are deactivate, the exception is yet raised
It happens in 2 of our clients with magento connector.
No case up to now with other install than magento
Seems the question is known by OpenERP /github. com/odoo/ odoo/blob/ 7.0/openerp/ service/ cron.py# L48
https:/
-- /bugs.launchpad .net/bugs/ 1337067
You received this bug notification because you are subscribed to the bug
report.
https:/
Title:
OpenERP Connector - Magento conflict with the base module
Status in OpenERP Connector - Magento:
New
Bug description:
Sometimes,when my OpenERP Connector is running,the OpenERP 7.0 log
will show the base module error.Then my OpenERP Connector will did not
work,all the jobs status are always in pending,Could you help me?
Hi,the log show: service. cron.cron1: python2. 7/threading. py", line 551, in __bootstrap_inner python2. 7/threading. py", line 504, in run __target( *self._ _args, **self.__kwargs) server/ openerp/ service/ cron.py" , line 71, in target runner( i) server/ openerp/ service/ cron.py" , line 50, in cron_runner 'addons. base']
Exception in thread openerp.
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
self.
File "/opt/openerp/
cron_
File "/opt/openerp/
base = sys.modules[
KeyError: 'addons.base'
When I uninstall OpenERP Connector - Magento and reinstall OpenERP Connector - Magento,it can back to work,Otherwise all the jobs status are always in pending
To manage notifications about this bug go to: /bugs.launchpad .net/openerp- connector- magento/ +bug/1337067/ +subscriptions
https:/