Export catalog : Property Product->weight is not valid

Bug #1254478 reported by extento
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Prestashop OpenERP Connector
New
Undecided
Unassigned

Bug Description

Hi,

Just installed Catalog_manager to export my products to Prestashop.
Filled all fields in product form (meta, description...)

And the export job firing an error:
2013-11-24 17:00:02,098 13714 INFO oe7_dev requests.packages.urllib3.connectionpool: Starting new HTTP connection (1):
2013-11-24 17:00:02,177 13714 ERROR oe7_dev openerp.addons.connector.queue.worker: Traceback (most recent call last):
  File "/opt/openerp/addons_prestashop/connector/queue/worker.py", line 122, in run_job
    job.perform(session)
  File "/opt/openerp/addons_prestashop/connector/queue/job.py", line 460, in perform
    self.result = self.func(session, *self.args, **self.kwargs)
  File "/opt/openerp/addons_prestashop/prestashoperpconnect/unit/export_synchronizer.py", line 205, in export_record
    return exporter.run(binding_id, fields=fields)
  File "/opt/openerp/addons_prestashop/prestashoperpconnect/unit/export_synchronizer.py", line 79, in run
    result = self._run(*args, **kwargs)
  File "/opt/openerp/addons_prestashop/prestashoperpconnect/unit/export_synchronizer.py", line 153, in _run
    self._update(record)
  File "/opt/openerp/addons_prestashop/prestashoperpconnect/unit/export_synchronizer.py", line 129, in _update
    self.backend_adapter.write(self.prestashop_id, data)
  File "/opt/openerp/addons_prestashop/prestashoperpconnect/unit/backend_adapter.py", line 151, in write
    self._export_node_name: attributes
  File "/opt/openerp/addons_prestashop/src/prestapyt/prestapyt/prestapyt.py", line 417, in edit
    return self.edit_with_url(full_url, content)
  File "/opt/openerp/addons_prestashop/src/prestapyt/prestapyt/prestapyt.py", line 610, in edit_with_url
    return super(PrestaShopWebServiceDict, self).edit_with_url(url, xml_content)
  File "/opt/openerp/addons_prestashop/src/prestapyt/prestapyt/prestapyt.py", line 428, in edit_with_url
    r = self._execute(unicode_encode.encode(url), 'PUT', data=unicode_encode.encode(content), add_headers=headers)
  File "/opt/openerp/addons_prestashop/src/prestapyt/prestapyt/prestapyt.py", line 206, in _execute
    self._check_status_code(r.status_code, r.content)
  File "/opt/openerp/addons_prestashop/src/prestapyt/prestapyt/prestapyt.py", line 146, in _check_status_code
    status_code, ps_error_msg, ps_error_code)
PrestaShopWebServiceError: 'Validation error: "Property Product->weight is not valid"'

Am I missing something in configuration ?

Revision history for this message
Belkacem Mohammed (belkacem77) wrote :

I'am facing the same error. Is here some one who can help me. It's happenoing when I try to export products from openERP to Prestashop. Everything seems correct with weights product on oprneRP and Prestashop.

I am using prestashop 1.6 and OpenERP 7.0

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.