{"action":"created","issue":{"url":"https://api.github.com/repos/OCA/connector-prestashop/issues/32","repository_url":"https://api.github.com/repos/OCA/connector-prestashop","labels_url":"https://api.github.com/repos/OCA/connector-prestashop/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/OCA/connector-prestashop/issues/32/comments","events_url":"https://api.github.com/repos/OCA/connector-prestashop/issues/32/events","html_url":"https://github.com/OCA/connector-prestashop/issues/32","id":188685531,"number":32,"title":"Bug while exporting products from Odoo","user":{"login":"mcassuto","id":7649098,"avatar_url":"https://avatars.githubusercontent.com/u/7649098?v=3","gravatar_id":"","url":"https://api.github.com/users/mcassuto","html_url":"https://github.com/mcassuto","followers_url":"https://api.github.com/users/mcassuto/followers","following_url":"https://api.github.com/users/mcassuto/following{/other_user}","gists_url":"https://api.github.com/users/mcassuto/gists{/gist_id}","starred_url":"https://api.github.com/users/mcassuto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcassuto/subscriptions","organizations_url":"https://api.github.com/users/mcassuto/orgs","repos_url":"https://api.github.com/users/mcassuto/repos","events_url":"https://api.github.com/users/mcassuto/events{/privacy}","received_events_url":"https://api.github.com/users/mcassuto/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-11T05:00:28Z","updated_at":"2016-11-11T17:28:26Z","closed_at":"2016-11-11T17:28:26Z","body":"Using the module connector_prestashop_catalog_manager, when exporting products, most of the product_product and product_variant are transferred.\r\n\r\nOver a total of 1500 products, 12 have not been transferred; the job is showing the following error: \r\n\r\nTask\r\nopenerp.addons.connector_prestashop.unit.exporter.export_record('prestashop.product.template', 2, {'list_price': 12.55})\r\nJob Function\r\nopenerp.addons.connector_prestashop.unit.exporter.export_record \r\nChannel\r\nroot.prestashop\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/odoo8dev/git/connector/connector/controllers/main.py\", line 90, in runjob\r\n    self._try_perform_job(session_hdl, job)\r\n  File \"/home/odoo8dev/git/connector/connector/controllers/main.py\", line 66, in _try_perform_job\r\n    job.perform(session)\r\n  File \"/home/odoo8dev/git/connector/connector/queue/job.py\", line 512, in perform\r\n    self.result = self.func(session, *self.args, **self.kwargs)\r\n  File \"/home/odoo8dev/git/connector-prestashop/connector_prestashop/unit/exporter.py\", line 198, in export_record\r\n    return exporter.run(binding_id, fields=fields)\r\n  File \"/home/odoo8dev/git/connector-prestashop/connector_prestashop/unit/exporter.py\", line 48, in run\r\n    result = self._run(*args, **kwargs)\r\n  File \"/home/odoo8dev/git/connector-prestashop/connector_prestashop/unit/exporter.py\", line 126, in _run\r\n    self._update(record)\r\n  File \"/home/odoo8dev/git/connector-prestashop/connector_prestashop_catalog_manager/product.py\", line 138, in _update\r\n    self.backend_adapter.write(self.prestashop_id, data)\r\n  File \"/home/odoo8dev/git/connector-prestashop/connector_prestashop/unit/backend_adapter.py\", line 185, in write\r\n    self._prestashop_model, {self._export_node_name: attributes})\r\n  File \"/home/odoo8dev/git/client/tools/eggs/prestapyt-0.7.0-py2.7.egg/prestapyt/prestapyt.py\", line 385, in edit\r\n    return self.edit_with_url(full_url, content)\r\n  File \"/home/odoo8dev/git/client/tools/eggs/prestapyt-0.7.0-py2.7.egg/prestapyt/prestapyt.py\", line 579, in edit_with_url\r\n    return _super.edit_with_url(url, xml_content)\r\n  File \"/home/odoo8dev/git/client/tools/eggs/prestapyt-0.7.0-py2.7.egg/prestapyt/prestapyt.py\", line 396, in edit_with_url\r\n    response = self._execute(url, 'PUT', data=content, add_headers=headers)\r\n  File \"/home/odoo8dev/git/client/tools/eggs/prestapyt-0.7.0-py2.7.egg/prestapyt/prestapyt.py\", line 210, in _execute\r\n    self._check_status_code(response.status_code, response.content)\r\n  File \"/home/odoo8dev/git/client/tools/eggs/prestapyt-0.7.0-py2.7.egg/prestapyt/prestapyt.py\", line 155, in _check_status_code\r\n    ps_error_code, ps_error_msg = self._parse_error(content)\r\n  File \"/home/odoo8dev/git/client/tools/eggs/prestapyt-0.7.0-py2.7.egg/prestapyt/prestapyt.py\", line 122, in _parse_error\r\n    error_answer = self._parse(xml_content)\r\n  File \"/home/odoo8dev/git/client/tools/eggs/prestapyt-0.7.0-py2.7.egg/prestapyt/prestapyt.py\", line 588, in _parse\r\n    parsed_content = super(PrestaShopWebServiceDict, self)._parse(content)\r\n  File \"/home/odoo8dev/git/client/tools/eggs/prestapyt-0.7.0-py2.7.egg/prestapyt/prestapyt.py\", line 234, in _parse\r\n    (e, content[:512])\r\nPrestaShopWebServiceError: 'HTTP XML response is not parsable : undefined entity: line 57, column 26. <!DOCTYPE HTML>\\n<!--[if lt IE 7]> <html class=\"no-js lt-ie9 lt-ie8 lt-ie7\" lang=\"fr-ca\"><![endif]-->\\n<!--[if IE 7]><html class=\"no-js lt-ie9 lt-ie8 ie7\" lang=\"fr-ca\"><![endif]-->\\n<!--[if IE 8]><html class=\"no-js lt-ie9 ie8\" lang=\"fr-ca\"><![endif]-->\\n<!--[if gt IE 8]> <html class=\"no-js ie9\" lang=\"fr-ca\"><![endif]-->\\n<html lang=\"fr-ca\"  class=\"default\" >\\n\\t    \\n\\t<head>\\n\\t\\t<meta charset=\"utf-8\" />\\n\\t\\t<title>Erreur 404 - mysite </title>\\n\\t\\t\\t\\t\\t<meta name=\"description\" content=\"Impossible de trouver la page\"'"},"comment":{"url":"https://api.github.com/repos/OCA/connector-prestashop/issues/comments/260009640","html_url":"https://github.com/OCA/connector-prestashop/issues/32#issuecomment-260009640","issue_url":"https://api.github.com/repos/OCA/connector-prestashop/issues/32","id":260009640,"user":{"login":"pedrobaeza","id":7165771,"avatar_url":"https://avatars.githubusercontent.com/u/7165771?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrobaeza","html_url":"https://github.com/pedrobaeza","followers_url":"https://api.github.com/users/pedrobaeza/followers","following_url":"https://api.github.com/users/pedrobaeza/following{/other_user}","gists_url":"https://api.github.com/users/pedrobaeza/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrobaeza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrobaeza/subscriptions","organizations_url":"https://api.github.com/users/pedrobaeza/orgs","repos_url":"https://api.github.com/users/pedrobaeza/repos","events_url":"https://api.github.com/users/pedrobaeza/events{/privacy}","received_events_url":"https://api.github.com/users/pedrobaeza/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T17:28:26Z","updated_at":"2016-11-11T17:28:26Z","body":"This shouldn't be put as an issue, as there's an opened PR. This seems to be on your side, as there's a 404 error page, probably because the product is not found."}}
{"actor":{"display_login":"pedrobaeza"}}