openerp-prestashop-sync

Bug #1185086 reported by margarita
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP Prestashop Sync
New
Undecided
Unassigned

Bug Description

Hi there!!!!
I am trying to connect openerp and prestashop using "openerp-prestashop.sync" connector but when I have to aprove connection appears the next computer error:

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/openerp_prestashop_sync/sale/shop/sale_shop.py", line 160, in approve_shop
    self.import_language(cr, uid, ids, context=context)
  File "/opt/openerp/server/openerp/addons/openerp_prestashop_sync/sale/shop/sale_shop.py", line 219, in import_language
    self.do_synch(cr, uid, ids, 'prestashop.lang', context=new_cnt)
  File "/opt/openerp/server/openerp/addons/openerp_prestashop_sync/sale/shop/sale_shop.py", line 212, in do_synch
    context=context)
  File "/opt/openerp/server/openerp/addons/openerp_prestashop_sync/prestashop_osv.py", line 631, in import_from_prestashop
    convert_presta, Thread=False)
  File "/opt/openerp/server/openerp/addons/openerp_prestashop_sync/prestashop_osv.py", line 655, in import_from_prestashop_thread
    ids = self.search_from_prestashop(cr, uid, shop_id, context=context)
  File "/opt/openerp/server/openerp/addons/openerp_prestashop_sync/prestashop_osv.py", line 430, in search_from_prestashop
    res_val = connection.search_prestashop(self._prestashop_name,options)
  File "/opt/openerp/server/openerp/addons/openerp_prestashop_sync/utils/prestashop.py", line 277, in search_prestashop
    requests.get(url, auth=(self.server_key,'')))
  File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 55, in get
    return request('get', url, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 44, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 324, in request
    prep = req.prepare()
  File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 222, in prepare
    p.prepare_url(self.url, self.params)
  File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 288, in prepare_url
    scheme, auth, host, port, path, query, fragment = parse_url(url)
  File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util.py", line 156, in parse_url
    raise LocationParseError("Failed to parse: %s" % url)
LocationParseError: Failed to parse: Failed to parse: http:

Someone who could help me, please????

Revision history for this message
Evgeniy (aquazone) wrote :

please, help me too with it bug!!!

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.