devendrapathi / sneldev-magento-openerp

Automatically exported from code.google.com/p/sneldev-magento-openerp
0 stars 1 forks source link

When no shop is configured, the connector is crashing #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

[2010-11-30 13:36:35,280][prueba2] ERROR:web-services:[14]: OpenERP-Server 
Version : 5.0.14
[2010-11-30 13:36:35,280][prueba2] ERROR:web-services:[15]: Last revision No. & 
ID :
[2010-11-30 13:36:35,281][prueba2] ERROR:web-services:[16]: Exception in call: 
Traceback (most recent call last):
[2010-11-30 13:36:35,281][prueba2] ERROR:web-services:[17]:   File 
"/usr/lib/python2.5/site-packages/openerp-server/wizard/__init__.py", line 153, 
in execute_cr
[2010-11-30 13:36:35,281][prueba2] ERROR:web-services:[18]:     next_state = 
result_def['next_state'](self, cr, uid, data, context)
[2010-11-30 13:36:35,281][prueba2] ERROR:web-services:[19]:   File 
"/usr/lib/python2.5/site-packages/openerp-server/addons/sneldev_magento.zip/snel
dev_magento/wizard/sneldev_magento_orders_import.py", line 38, in 
do_orders_import
[2010-11-30 13:36:35,281][prueba2] ERROR:web-services:[20]:     if 
(self.pool.get('sneldev.magento').import_orders(cr, uid) < 0):
[2010-11-30 13:36:35,281][prueba2] ERROR:web-services:[21]:   File 
"/usr/lib/python2.5/site-packages/openerp-server/addons/sneldev_magento.zip/snel
dev_magento/sneldev_magento.py", line 567, in import_orders
[2010-11-30 13:36:35,281][prueba2] ERROR:web-services:[22]:     magento_params 
= self.pool.get('sneldev.magento').browse(cr, uid, [ids[0]])
[2010-11-30 13:36:35,281][prueba2] ERROR:web-services:[23]: IndexError: list 
index out of range

Original issue reported on code.google.com by sneldev@gmail.com on 30 Nov 2010 at 1:45

GoogleCodeExporter commented 8 years ago
It will be fixed in 0.7.7

Original comment by sneldev@gmail.com on 18 Jan 2011 at 9:03