Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchhronizing metadata fails #122

Closed
loyalcomps opened this issue Jul 27, 2015 · 2 comments
Closed

Synchhronizing metadata fails #122

loyalcomps opened this issue Jul 27, 2015 · 2 comments

Comments

@loyalcomps
Copy link

I get the following error in odoo 8.0

Odoo Server Error
Traceback (most recent call last):
File "/opt/loyalerp/loyalerp-server/openerp/http.py", line 536, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/loyalerp/loyalerp-server/openerp/http.py", line 573, in dispatch
result = self._call_function(*_self.params)
File "/opt/loyalerp/loyalerp-server/openerp/http.py", line 309, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/opt/loyalerp/loyalerp-server/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/opt/loyalerp/loyalerp-server/openerp/http.py", line 306, in checked_call
return self.endpoint(_a, *_kw)
File "/opt/loyalerp/loyalerp-server/openerp/http.py", line 802, in call
return self.method(_args, *_kw)
File "/opt/loyalerp/loyalerp-server/openerp/http.py", line 402, in response_wrap
response = f(_args, *_kw)
File "/opt/loyalerp/loyalerp-server/addons/web/controllers/main.py", line 948, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/loyalerp/loyalerp-server/addons/web/controllers/main.py", line 936, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, _args, *_kwargs)
File "/opt/loyalerp/loyalerp-server/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/loyalerp/loyalerp-server/openerp/api.py", line 363, in old_api
result = method(recs, _args, *_kwargs)
File "/opt/loyalerp/custom/magnetoconnector/connector-magento/magentoerpconnect/magento_model.py", line 198, in synchronize_metadata
import_batch(session, model, backend.id)
File "/opt/loyalerp/custom/magnetoconnector/connector-magento/magentoerpconnect/unit/import_synchronizer.py", line 370, in import_batch
importer.run(filters=filters)
File "/opt/loyalerp/custom/magnetoconnector/connector-magento/magentoerpconnect/unit/import_synchronizer.py", line 239, in run
record_ids = self.backend_adapter.search(filters)
File "/opt/loyalerp/custom/magnetoconnector/connector-magento/magentoerpconnect/unit/backend_adapter.py", line 211, in search
[filters] if filters else [{}])
File "/opt/loyalerp/custom/magnetoconnector/connector-magento/magentoerpconnect/unit/backend_adapter.py", line 159, in _call
full_url=custom_url) as api:
File "/usr/local/lib/python2.7/dist-packages/magento/api.py", line 133, in enter
self.connect()
File "/usr/local/lib/python2.7/dist-packages/magento/api.py", line 123, in connect
self.client = ServerProxy(self.url, allow_none=True)
File "/usr/lib/python2.7/xmlrpclib.py", line 1549, in init
raise IOError, "unsupported XML-RPC protocol"
IOError: unsupported XML-RPC protocol

@guewen
Copy link
Member

guewen commented Aug 17, 2015

The URL that you use is not recognized as a valid XML-RPC server.
Check if you use http:// or https://, also the URL should not include /api/xmlrpc.

@loyalcomps
Copy link
Author

Thank you. That worked.

jcoux pushed a commit to camptocamp/connector-magento that referenced this issue May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants