c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #37244
[Bug 889573] Re: Error when compilation active into Magento
Hello,
I suspect that the Magento's API does not work correctly with the compilation active.
To confirm that, you may try do call a method of the API on your Magento with a custom script using the language of your choice (python, ruby, PHP).
Example in ruby :
require "xmlrpc/client"
require 'pp'
XMLRPC::Config::ENABLE_NIL_PARSER = true
api_url = 'http://magento-urlcom/index.php/api/xmlrpc'
api_user = 'api_user'
api_key = 'api_key'
# Make an object to represent the XML-RPC server.
client = XMLRPC::Client.new2(api_url)
# Login
session_id = client.call("login", api_user, api_key)
sku = 'SKU_PRODUCT'
# Call the remote server and get our result
attributes = client.call('call',
session_id,
'product.info',
[sku]
)
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/889573
Title:
Error when compilation active into Magento
Status in Magento OpenERP Connector:
New
Bug description:
Hello,
Note that when compilation is activate into magento (for performance issue), the connector doesn't work.
We get various message :
1/ From synchronize referentials Setting
Error when try to connect to magento, are your sure that your login is right? Did openerp can access to your magento?
2/ from Export catalog
it talk about mismatch signature.
Thanks for your great works. Hope it could help to improve.
Regards,
Thierry
magento 1.6.1
openerp 6.0.3
backport connector.
To manage notifications about this bug go to:
https://bugs.launchpad.net/magentoerpconnect/+bug/889573/+subscriptions
Follow ups
References