Community mailing list archives

community@mail.odoo.com

Re: New Magento to Odoo 8.0 Connector

by
OpenERP Master
- 02/10/2015 11:23:27
This error is caused by a mis-configuration. It might be something like you forgot to include http:// when you set up your Magento instance. To start using the connector go to Mage2odo > Magento Setup. Enter your url like this http://www.examplesite.com

On Tue, Feb 10, 2015 at 3:33 AM, Leonardo "LeartS" Donelli <learts92@gmail.com> wrote:
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

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe