Comment 9 for bug 1337067

Revision history for this message
Learshelfy (1243099585-n) wrote : 回复:[Bug 1337067] Re: OpenERP Connector - Magento conflict with the basemodule

thank you

 ------------------ 原始邮件 ------------------
  发件人: "Bug 1337067";<email address hidden>;
 发送时间: 2014年10月22日(星期三) 晚上9:56
 收件人: "Amatsukaz"<email address hidden>;

 主题: [Bug 1337067] Re: OpenERP Connector - Magento conflict with the basemodule

This error sometimes happens when one (or several) of the module in the addons-path uses the syntax "import name_of_an_addons" instead of "import openerp.addons.name_of_an_addons".
You need to check for the addons with wrong imports and fix them.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1337067

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-connector-magento/+bug/1337067/+subscriptions