My Environment
---------------------------
OS: Ubuntu 12.04
Python: 2.7
OpenERP: 6.1
I have installed all the addons mentioned in https://bugs.launchpad.net/prestashoperpconnect
I get the following error when I click on Sync Prestashop base objects.
Client Traceback (most recent call last):
File "/opt/openerp/server/openerp/addons/web/common/http.py", line 180, in dispatch
response["result"] = method(controller, self, **self.params)
File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1004, in call_button
action = self.call_common(req, model, method, args, domain_id, context_id)
File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 948, in call_common
return self._call_kw(req, model, method, args, {})
File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 962, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/opt/openerp/server/openerp/addons/web/common/openerplib/main.py", line 250, in proxy
args, kw)
File "/opt/openerp/server/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
result = self.connector.send(self.service_name, method, *args)
File "/opt/openerp/server/openerp/addons/web/common/http.py", line 611, in send
raise fault
Server Traceback (most recent call last):
File "/opt/openerp/server/openerp/addons/web/common/http.py", line 592, in send
result = openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/opt/openerp/server/openerp/netsvc.py", line 360, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/opt/openerp/server/openerp/service/web_services.py", line 572, in dispatch
res = fn(db, uid, *params)
File "/opt/openerp/server/openerp/osv/osv.py", line 167, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/opt/openerp/server/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/server/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/server/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/server/openerp/addons/base_external_referentials/decorator.py", line 49, in wrapped
return func(self, cr, uid, argument, *args, **kwargs)
File "/opt/openerp/server/openerp/addons/prestashoperpconnect/external_referential.py", line 192, in import_base_objects
compare_function=self._compare_languages, context=context)
File "/opt/openerp/server/openerp/addons/prestashoperpconnect/external_referential.py", line 108, in _bidirectional_synchro
ps_ids = oe_obj._get_external_resource_ids(cr, uid, external_session, context=context)
File "/opt/openerp/server/openerp/addons/base_external_referentials/decorator.py", line 49, in wrapped
return func(self, cr, uid, argument, *args, **kwargs)
File "/opt/openerp/server/openerp/addons/prestashoperpconnect/prestashop_osv.py", line 168, in _get_external_resource_ids
return external_session.connection.search(ext_resource, options = resource_filter)
File "/usr/local/lib/python2.7/dist-packages/prestapyt-0.4.0-py2.7.egg/prestapyt/prestapyt.py", line 499, in search
search(resource, options=options)
File "/usr/local/lib/python2.7/dist-packages/prestapyt-0.4.0-py2.7.egg/prestapyt/prestapyt.py", line 352, in search
return self.get(resource, options=options)
File "/usr/local/lib/python2.7/dist-packages/prestapyt-0.4.0-py2.7.egg/prestapyt/prestapyt.py", line 521, in get
response = super(PrestaShopWebServiceDict, self).get(resource, resource_id=resource_id, options=options)
File "/usr/local/lib/python2.7/dist-packages/prestapyt-0.4.0-py2.7.egg/prestapyt/prestapyt.py", line 370, in get
return self.get_with_url(full_url)
File "/usr/local/lib/python2.7/dist-packages/prestapyt-0.4.0-py2.7.egg/prestapyt/prestapyt.py", line 541, in get_with_url
response = super(PrestaShopWebServiceDict, self).get_with_url(url)
File "/usr/local/lib/python2.7/dist-packages/prestapyt-0.4.0-py2.7.egg/prestapyt/prestapyt.py", line 384, in get_with_url
return self._parse(r.content)
File "/usr/local/lib/python2.7/dist-packages/prestapyt-0.4.0-py2.7.egg/prestapyt/prestapyt.py", line 625, in _parse
parsed_content = super(PrestaShopWebServiceDict, self)._parse(content)
File "/usr/local/lib/python2.7/dist-packages/prestapyt-0.4.0-py2.7.egg/prestapyt/prestapyt.py", line 231, in _parse
parsed_content = ElementTree.fromstring(unicode_encode.unicode2encoding(content))
File "<string>", line 124, in XML
ParseError: undefined entity : line 277, column 24
Any help would be appreciated.
Thanks in advance
Samanth
Can anyone reply to this issue? It's been over a week since posted!