c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #00152
[Bug 513791] Re: Orders Import
** Changed in: magentoerpconnect
Status: New => Invalid
--
Orders Import
https://bugs.launchpad.net/bugs/513791
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.
Status in Magento Open ERP Connector: Invalid
Bug description:
i have most of it working.
the instance is setup. the 6 steps to product import are done. and the products are all there.
the only problem comes when i go to magento shops and hit import orders.
this is what my logs show. i not quite sure yet if its a problem with the magento conecter or the openerp module.
--------------------------------------------------------------------
[2010-01-26 21:04:19,004] WARNING:Magento Call:Webservice Failure, sleeping 1 second before next attempt
[2010-01-26 21:04:21,378] WARNING:Magento Call:Webservice Failure, sleeping 3 seconds before next attempt
[2010-01-26 21:04:25,716] WARNING:Magento Call:Webservice Failure, sleeping 6 seconds before next attempt
[2010-01-26 21:04:33,281] ERROR:Magento Call:[01]:
[2010-01-26 21:04:33,281] ERROR:Magento Call:[02]: Environment Information :
[2010-01-26 21:04:33,281] ERROR:Magento Call:[03]: System : Linux-2.6.26-2-amd64-x86_64-with-debian-5.0.3
[2010-01-26 21:04:33,281] ERROR:Magento Call:[04]: OS Name : posix
[2010-01-26 21:04:33,282] ERROR:Magento Call:[05]: Distributor ID: Debian
[2010-01-26 21:04:33,282] ERROR:Magento Call:[06]: Description: Debian GNU/Linux 5.0.3 (lenny)
[2010-01-26 21:04:33,282] ERROR:Magento Call:[07]: Release: 5.0.3
[2010-01-26 21:04:33,282] ERROR:Magento Call:[08]: Codename: lenny
[2010-01-26 21:04:33,282] ERROR:Magento Call:[09]: Operating System Release : 2.6.26-2-amd64
[2010-01-26 21:04:33,282] ERROR:Magento Call:[10]: Operating System Version : #1 SMP Thu Nov 5 02:23:12 UTC 2009
[2010-01-26 21:04:33,282] ERROR:Magento Call:[11]: Operating System Architecture : 64bit
[2010-01-26 21:04:33,282] ERROR:Magento Call:[12]: Operating System Locale : NOT SET
[2010-01-26 21:04:33,282] ERROR:Magento Call:[13]: Python Version : 2.5.2
[2010-01-26 21:04:33,282] ERROR:Magento Call:[14]: OpenERP-Server Version : 5.0.6
[2010-01-26 21:04:33,283] ERROR:Magento Call:[15]: Last revision No. & ID :
[2010-01-26 21:04:33,283] ERROR:Magento Call:[16]: Method: sales_order.list
[2010-01-26 21:04:33,283] ERROR:Magento Call:[17]: Arguments:[{'store_id': {'eq': 1}}]
[2010-01-26 21:04:33,283] ERROR:Magento Call:[18]: Error:<ProtocolError for www.*******.***/index.php/api/xmlrpc/: 500 Internal Server Error>
[2010-01-26 21:04:33,505] ERROR:web-services:[01]:
[2010-01-26 21:04:33,506] ERROR:web-services:[02]: Environment Information :
[2010-01-26 21:04:33,506] ERROR:web-services:[03]: System : Linux-2.6.26-2-amd64-x86_64-with-debian-5.0.3
[2010-01-26 21:04:33,506] ERROR:web-services:[04]: OS Name : posix
[2010-01-26 21:04:33,506] ERROR:web-services:[05]: Distributor ID: Debian
[2010-01-26 21:04:33,506] ERROR:web-services:[06]: Description: Debian GNU/Linux 5.0.3 (lenny)
[2010-01-26 21:04:33,506] ERROR:web-services:[07]: Release: 5.0.3
[2010-01-26 21:04:33,506] ERROR:web-services:[08]: Codename: lenny
[2010-01-26 21:04:33,506] ERROR:web-services:[09]: Operating System Release : 2.6.26-2-amd64
[2010-01-26 21:04:33,507] ERROR:web-services:[10]: Operating System Version : #1 SMP Thu Nov 5 02:23:12 UTC 2009
[2010-01-26 21:04:33,507] ERROR:web-services:[11]: Operating System Architecture : 64bit
[2010-01-26 21:04:33,507] ERROR:web-services:[12]: Operating System Locale : NOT SET
[2010-01-26 21:04:33,507] ERROR:web-services:[13]: Python Version : 2.5.2
[2010-01-26 21:04:33,507] ERROR:web-services:[14]: OpenERP-Server Version : 5.0.6
[2010-01-26 21:04:33,507] ERROR:web-services:[15]: Last revision No. & ID :
[2010-01-26 21:04:33,507] ERROR:web-services:[16]: Traceback (most recent call last):
[2010-01-26 21:04:33,507] ERROR:web-services:[17]: File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 59, in wrapper
[2010-01-26 21:04:33,507] ERROR:web-services:[18]: return f(self, dbname, *args, **kwargs)
[2010-01-26 21:04:33,508] ERROR:web-services:[19]: File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 118, in execute
[2010-01-26 21:04:33,508] ERROR:web-services:[20]: res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
[2010-01-26 21:04:33,508] ERROR:web-services:[21]: File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 110, in execute_cr
[2010-01-26 21:04:33,508] ERROR:web-services:[22]: return getattr(object, method)(cr, uid, *args, **kw)
[2010-01-26 21:04:33,508] ERROR:web-services:[23]: File "/usr/lib/python2.5/site-packages/openerp-server/addons/base_sale_multichannels/sale.py", line 186, in import_orders
[2010-01-26 21:04:33,508] ERROR:web-services:[24]: self.import_shop_orders(cr, uid, shop, defaults, ctx)
[2010-01-26 21:04:33,508] ERROR:web-services:[25]: File "/usr/lib/python2.5/site-packages/openerp-server/addons/magentoerpconnect/sale.py", line 89, in import_shop_orders
[2010-01-26 21:04:33,508] ERROR:web-services:[26]: 'ids_or_filter':ids_or_filter
[2010-01-26 21:04:33,508] ERROR:web-services:[27]: File "/usr/lib/python2.5/site-packages/openerp-server/addons/magentoerpconnect/magerp_osv.py", line 246, in mage_import_base
[2010-01-26 21:04:33,509] ERROR:web-services:[28]: data = conn.call(list_method, context['ids_or_filter'])
[2010-01-26 21:04:33,509] ERROR:web-services:[29]: File "/usr/lib/python2.5/site-packages/openerp-server/addons/magentoerpconnect/magerp_osv.py", line 87, in call
[2010-01-26 21:04:33,509] ERROR:web-services:[30]: return self.try_call(method, arguments)
[2010-01-26 21:04:33,509] ERROR:web-services:[31]: File "/usr/lib/python2.5/site-packages/openerp-server/addons/magentoerpconnect/magerp_osv.py", line 60, in try_call
[2010-01-26 21:04:33,509] ERROR:web-services:[32]: res = self.ser.call(self.session, method, arguments)
[2010-01-26 21:04:33,509] ERROR:web-services:[33]: File "/usr/lib/python2.5/xmlrpclib.py", line 1147, in __call__
[2010-01-26 21:04:33,509] ERROR:web-services:[34]: return self.__send(self.__name, args)
[2010-01-26 21:04:33,509] ERROR:web-services:[35]: File "/usr/lib/python2.5/xmlrpclib.py", line 1437, in __request
[2010-01-26 21:04:33,509] ERROR:web-services:[36]: verbose=self.__verbose
[2010-01-26 21:04:33,510] ERROR:web-services:[37]: File "/usr/lib/python2.5/xmlrpclib.py", line 1191, in request
[2010-01-26 21:04:33,510] ERROR:web-services:[38]: headers
[2010-01-26 21:04:33,510] ERROR:web-services:[39]: ProtocolError: <ProtocolError for www.*******.***/index.php/api/xmlrpc/: 500 Internal Server Error>
i've no clue why is this happening or why am i getting that 500 error. i gonna start debugging a bit the magento php conector to see if i see any problem there.