Community mailing list archives

community@mail.odoo.com

Re: New Magento to Odoo 8.0 Connector

by
Leonardo Donelli
- 02/10/2015 04:13:12
2015-02-05 16:32 GMT+01:00 OpenERP Master <openerpmaster@gmail.com>:
> What error do you get?

  File "/srv/openerp/8.0/addons/mage2odoo/models/job.py", line 26, in
button_execute_job
    result = self.import_resources(cr, uid, job)
  File "/srv/openerp/8.0/openerp/api.py", line 237, in wrapper
    return old_api(self, *args, **kwargs)
  File "/srv/openerp/8.0/addons/mage2odoo/models/job.py", line 42, in
import_resources
    return getattr(job_obj, job.python_function_name)(cr, uid, job)
  File "/srv/openerp/8.0/openerp/api.py", line 237, in wrapper
    return old_api(self, *args, **kwargs)
  File "/srv/openerp/8.0/addons/mage2odoo/jobs/product.py", line 39,
in import_products
    product_ids = self._get_job_data(cr, uid, job,
'oo_catalog_product.allsqlsearch', [])
  File "/srv/openerp/8.0/openerp/api.py", line 237, in wrapper
    return old_api(self, *args, **kwargs)
  File "/srv/openerp/8.0/addons/mage2odoo/models/mage_api.py", line
30, in _get_job_data
    return self._mage_call(credentials, method, arguments)
  File "/srv/openerp/8.0/addons/mage2odoo/models/mage_api.py", line
38, in _mage_call
    credentials['password']) as mage_api:
  File "/usr/local/lib/python2.7/dist-packages/magento/api.py", line
135, in __enter__
    self.connect()
  File "/usr/local/lib/python2.7/dist-packages/magento/api.py", line
125, in connect
    self.client = ServerProxy(self.url, allow_none=True)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1549, in __init__
    raise IOError, "unsupported XML-RPC protocol"
IOError: unsupported XML-RPC protocol