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

[10.0] Invalid API Path - with Magento module correctly installed - V1.9.3.1 #276

Open
thomasklosinsky opened this issue Mar 28, 2018 · 2 comments

Comments

@thomasklosinsky
Copy link

Hey,

don't know if this is the right place to ask, since it also could be related to the Magento API Extension:
https://github.com/OCA/connector-magento-php-extension

but the error occurs in this module ;)...

This is the environment:
Odoo:
Ubuntu 16.04 Server LTS - Odoo V10.0 installed via Yenthes Install Script (thanks to him!)
OCA/connector + connector_magento and all it's (not well documented) dependencies installed.
Magento:
CentOS 7 - php5.4 - nginx
Magento V1.9.3.1 with the above mentioned php-extension installed
SOAP/XMLRPC User is set up with all rights...

So far so good...

When I add the magento connection details and try to fetch metadata, I get the Invalid API Path error.
With the option "use custom API path" I get this error: mismatched tag: line 158, column 24

NGINX access logs:
ip - user [28/Mar/2018:10:50:36 +0200] "POST /index.php/api/xmlrpc HTTP/1.1" 200 179 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)" "-"
ip - user [28/Mar/2018:10:50:36 +0200] "POST /index.php/api/xmlrpc HTTP/1.1" 200 224 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)" "-"
ip - user [28/Mar/2018:10:50:36 +0200] "POST /index.php/api/xmlrpc HTTP/1.1" 200 179 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)" "-"
ip - user [28/Mar/2018:10:50:37 +0200] "POST /index.php/api/xmlrpc HTTP/1.1" 200 287 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)" "-"
ip - user [28/Mar/2018:10:50:37 +0200] "POST /index.php/api/xmlrpc HTTP/1.1" 200 150 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)" "-"
ip - user [28/Mar/2018:10:50:37 +0200] "POST /index.php/api/xmlrpc HTTP/1.1" 200 150 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)" "-"

And that's it, then the error in Odoo occurs.

Any ideas?

@thomasklosinsky thomasklosinsky changed the title [10.0] Invalid API Path - with Magento module correctly insalled - V1.9.3.1 [10.0] Invalid API Path - with Magento module correctly installed - V1.9.3.1 Mar 28, 2018
@sherpya
Copy link
Member

sherpya commented Oct 12, 2018

there is no such ol_websites.info method in the php extension, I'm unable to find one that implements it except this one that is rather old https://bazaar.launchpad.net/~magentoerpconnect-core-editors/magentoerpconnect/module-magento-trunk/view/head:/Openlabs_OpenERPConnector-1.1.0/Openlabs/OpenERPConnector/Model/Olcore/Website.php

@sherpya
Copy link
Member

sherpya commented Oct 12, 2018

I've converted to git and added modman file, please test it, I cannot test it right now, the metadata sync completed without error.

https://github.com/netfarm/Openlabs_OpenERPConnector

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