Import a record from Magento(product) getting error

Bug #1468003 reported by pushparaj on 2015-06-23
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP Connector - Magento
Undecided
Unassigned

Bug Description

Below error showed in odoo8 on import magento products
Odoo Admin --> connector->magento -> backends -> API -- import products

Traceback (most recent call last):
  File "/opt/odoo/addons/connector/queue/worker.py", line 124, in run_job
    job.perform(session)
  File "/opt/odoo/addons/connector/queue/job.py", line 466, in perform
    self.result = self.func(session, *self.args, **self.kwargs)
  File "/opt/odoo/.local/share/Odoo/addons/8.0/magentoerpconnect/unit/import_synchronizer.py", line 379, in import_record
    importer.run(magento_id, force=force)
  File "/opt/odoo/.local/share/Odoo/addons/8.0/magentoerpconnect/unit/import_synchronizer.py", line 197, in run
    self.magento_record = self._get_magento_data()
  File "/opt/odoo/.local/share/Odoo/addons/8.0/magentoerpconnect/unit/import_synchronizer.py", line 61, in _get_magento_data
    return self.backend_adapter.read(self.magento_id)
  File "/opt/odoo/.local/share/Odoo/addons/8.0/magentoerpconnect/product.py", line 245, in read
    [int(id), storeview_id, attributes, 'id'])
  File "/opt/odoo/.local/share/Odoo/addons/8.0/magentoerpconnect/product.py", line 210, in _call
    return super(ProductProductAdapter, self)._call(method, arguments)
  File "/opt/odoo/.local/share/Odoo/addons/8.0/magentoerpconnect/unit/backend_adapter.py", line 168, in _call
    result = api.call(method, arguments)
  File "/usr/local/lib/python2.7/dist-packages/magento/api.py", line 159, in call
    return self.client.call(self.session, resource_path, arguments)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1297, in single_request
    return self.parse_response(response)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1473, in parse_response
    return u.close()
  File "/usr/lib/python2.7/xmlrpclib.py", line 793, in close
    raise Fault(**self._stack[0])
Fault: <Fault 3: 'Invalid api path.'>

Please refer my attachement
please check and advice the solution to further move.

Thanks advance.

pushparaj (pushparajbewithyou) wrote :

Please use the bug tracker of the project which is https://github.com/OCA/connector-magento/issues
Now, this specific error denotes that the module on the Magento PHP side is not installed correctly.
Follow these steps http://odoo-magento-connector.com/guides/installation_guide.html#magento

Changed in openerp-connector-magento:
status: New → Invalid
pushparaj (pushparajbewithyou) wrote :

we have followed same process in our side.we can get store,category names and website details form our magento.The problem was can't get customer list,customer groups and products. We are getting this error on admin->connectors->jobs.

For your reference:
we have followed this steps on ubuntu server. The magento and oodo projects are in same server.

Please advise me for further process to execute our projects.

Thanks advance.

From what I read, definitely, the module on the Magento side is not correctly installed.

Eino Järvinen (eino-jarvinen) wrote :

I have the same problem. I CAN get customers and categories from magento. But I CAN'T get products due this error message.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments