Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Prestashop Odoo

By
Arunagiri
on 6/20/16, 4:09 AM 413 views

I have installed prestashop module in openerp7 and also installed prestashop and generated api in prestashop i copied the api key in prestashop and paste it on openerp webservice . when I click the synchronize button 


OpenERP Server Error


Client Traceback (most recent call last):
  File "/home/arun/openerp-7.0/openerp/addons/web/http.py", line 204, in dispatch
    response["result"] = method(self, **self.params)
  File "/home/arun/openerp-7.0/openerp/addons/web/controllers/main.py", line 1132, in call_button
    action = self._call_kw(req, model, method, args, {})
  File "/home/arun/openerp-7.0/openerp/addons/web/controllers/main.py", line 1120, in _call_kw
    return getattr(req.session.model(model), method)(*args, **kwargs)
  File "/home/arun/openerp-7.0/openerp/addons/web/session.py", line 42, in proxy
    result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
  File "/home/arun/openerp-7.0/openerp/addons/web/session.py", line 30, in proxy_method
    result = self.session.send(self.service_name, method, *args)
  File "/home/arun/openerp-7.0/openerp/addons/web/session.py", line 103, in send
    raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)


Server Traceback (most recent call last):
  File "/home/arun/openerp-7.0/openerp/addons/web/session.py", line 89, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/arun/openerp-7.0/openerp/netsvc.py", line 296, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/arun/openerp-7.0/openerp/service/web_services.py", line 626, in dispatch
    res = fn(db, uid, *params)
  File "/home/arun/openerp-7.0/openerp/osv/osv.py", line 190, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/arun/openerp-7.0/openerp/osv/osv.py", line 132, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/arun/openerp-7.0/openerp/osv/osv.py", line 199, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/arun/openerp-7.0/openerp/osv/osv.py", line 187, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/arun/openerp-7.0/openerp/addons/prestashoperpconnect/models/prestashop_model.py", line 116, in synchronize_metadata
    import_batch(session, model, backend_id)
  File "/home/arun/openerp-7.0/openerp/addons/prestashoperpconnect/unit/import_synchronizer.py", line 1011, in import_batch
    importer.run(filters=filters, **kwargs)
  File "/home/arun/openerp-7.0/openerp/addons/prestashoperpconnect/unit/import_synchronizer.py", line 183, in run
    record_ids = self._run_page(filters, **kwargs)
  File "/home/arun/openerp-7.0/openerp/addons/prestashoperpconnect/unit/import_synchronizer.py", line 191, in _run_page
    record_ids = self.backend_adapter.search(filters)
  File "/home/arun/openerp-7.0/openerp/addons/prestashoperpconnect/unit/backend_adapter.py", line 126, in search
    return api.search(self._prestashop_model, filters)
  File "/usr/local/lib/python2.7/dist-packages/prestapyt/prestapyt.py", line 469, in search
  File "/usr/local/lib/python2.7/dist-packages/prestapyt/prestapyt.py", line 298, in search
  File "/usr/local/lib/python2.7/dist-packages/prestapyt/prestapyt.py", line 316, in get
  File "/usr/local/lib/python2.7/dist-packages/prestapyt/prestapyt.py", line 488, in get_with_url
  File "/usr/local/lib/python2.7/dist-packages/prestapyt/prestapyt.py", line 325, in get_with_url
  File "/usr/local/lib/python2.7/dist-packages/prestapyt/prestapyt.py", line 196, in _execute
  File "/usr/local/lib/python2.7/dist-packages/prestapyt/prestapyt.py", line 127, in _check_status_code
  File "/usr/local/lib/python2.7/dist-packages/prestapyt/prestapyt.py", line 152, in _parse_error
  File "/usr/local/lib/python2.7/dist-packages/prestapyt/prestapyt.py", line 525, in _parse
  File "/usr/local/lib/python2.7/dist-packages/prestapyt/prestapyt.py", line 215, in _parse
PrestaShopWebServiceError: 'HTTP XML response is not parsable : syntax error: line 1, column 49. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p>The requested URL /prestashop1/admin2849/api/shop_groups was not found on this server.</p>\n<hr>\n<address>Apache/2.4.7 (Ubuntu) Server at localhost Port 80</address>\n</body></html>\n'

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 6/20/16, 4:09 AM
Seen: 413 times
Last updated: 6/20/16, 5:27 AM