I get the same error  upgrading the connector 

Traceback (most recent call last):
  File "/opt/openerp/V7/server/openerp/service/__init__.py", line 60, in 
load_server_wide_modules
    openerp.modules.module.load_openerp_module(m)
  File "/opt/openerp/V7/server/openerp/modules/module.py", line 415, in 
load_openerp_module
    getattr(sys.modules['openerp.addons.' + module_name], info['post_load'])()
  File "/opt/openerp/V7/web/addons/web/http.py", line 628, in wsgi_postload
    openerp.wsgi.register_wsgi_handler(Root())
  File "/opt/openerp/V7/web/addons/web/http.py", line 517, in __init__
    self.load_addons()
  File "/opt/openerp/V7/web/addons/web/http.py", line 580, in load_addons
    m = __import__('openerp.addons.' + module)
  File "/opt/openerp/V7/server/openerp/modules/module.py", line 133, in 
load_module
    mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
  File 
"/opt/openerp/V7/openerp-connector-magento/magentoerpconnect/__init__.py", line 
6, in <module>
    import magento_model
  File 
"/opt/openerp/V7/openerp-connector-magento/magentoerpconnect/magento_model.py", 
line 34, in <module>
    from .unit.backend_adapter import GenericAdapter
  File 
"/opt/openerp/V7/openerp-connector-magento/magentoerpconnect/unit/__init__.py", 
line 5, in <module>
    import import_synchronizer
  File 
"/opt/openerp/V7/openerp-connector-magento/magentoerpconnect/unit/import_synchronizer.py",
 line 26, in <module>
    from openerp.addons.connector.queue.job import job, related_action
ImportError: cannot import name related_action

Le 28 mai 2014 à 11:19, Thierry BOULOGNE <tboulo...@gmail.com> a écrit :

> Hello,
> 
> a strange thing with openerp update via openerp contract :
> 
> i get this update suggestion :
>         Connector 7.0.2.1.1 (7.0.2.2.0)
> 
> But i still update the module via bzr to the last revision, and no duplicate 
> connector there :-).
> 
> If i accept this update it break the web interface. Should i open a ticket to 
> openerp or you need to push something to them ?
> 
> Thanks for your lights.
> 
> Regards,
> 
>>      Guewen Baconnier        28 mai 2014 07:14
>> 
>> This error means that you 'connector' module is not up-to-date.
>> So, the only advice I can give you is to check again your branches,
>> check the --addons-path option, and check if you hadn't copied the
>> previous versions of the module in another addons directory (addons or
>> server/openerp/addons).
>>      Thierry BOULOGNE        27 mai 2014 18:58
>> hello,
>> 
>> just a up on this.
>> 
>> Any tips to solve this error please :-) ?
>> 
>> Thanks for help.
>> 
>>      Guewen Baconnier        27 mai 2014 10:13
>> Hi,
>> 
>> My guess is that you didn't updated the openerp-connector branch. You
>> need to update all the branches at once, not only the Magento's one.
>> 
>>      Thierry BOULOGNE        27 mai 2014 09:46
>> Hello,
>> 
>> i update the connect and i get a strange error :
>> 
>> ==============================
>>   File "/opt/openerp/v7/web/addons/web/http.py", line 580, in load_addons
>>     m = __import__('openerp.addons.' + module)
>>   File "/opt/openerp/v7/server/openerp/modules/module.py", line 133, in 
>> load_module
>>     mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
>>   File 
>> "/opt/openerp/v7/mconnect/openerp-connector-magento/magentoerpconnect/__init__.py",
>>  line 6, in <module>
>>     import magento_model
>>   File 
>> "/opt/openerp/v7/mconnect/openerp-connector-magento/magentoerpconnect/magento_model.py",
>>  line 34, in <module>
>>     from .unit.backend_adapter import GenericAdapter
>>   File 
>> "/opt/openerp/v7/mconnect/openerp-connector-magento/magentoerpconnect/unit/__init__.py",
>>  line 5, in <module>
>>     import import_synchronizer
>>   File 
>> "/opt/openerp/v7/mconnect/openerp-connector-magento/magentoerpconnect/unit/import_synchronizer.py",
>>  line 26, in <module>
>>     from openerp.addons.connector.queue.job import job, related_action
>> ImportError: cannot import name related_action
>> ====================================
>> 
>> End then get the "No handler found." on the web interface.
>> 
>> Does anybody get a tips to solve this please.
>> 
>> Thanks for help.
>> 
>> Regards
>>   
>> 
>>      Guewen Baconnier        27 mai 2014 06:24
>> Did you restarted the server with --update=all in order to update the 
>> modules?
>> 
> -- 
> Mailing list: https://launchpad.net/~openerp-connector-community
> Post to     : openerp-connector-community@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openerp-connector-community
> More help   : https://help.launchpad.net/ListHelp

-- 
Mailing list: https://launchpad.net/~openerp-connector-community
Post to     : openerp-connector-community@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-connector-community
More help   : https://help.launchpad.net/ListHelp

Reply via email to