← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 810952] Re: update shipping : <Fault 103: 'Requested order not exists.'>

 

** Description changed:

  Hello,
  
  I get an error when i update shipping on magento.
  Important note : for updating shipping correctly, i modify delivery.py and stock.py to split carrier['magento_code'] because  carrier code is not send. Only shipping method are send like "carrier_shippingmetho".
  Without this split, the connector complain that the carrier is missing in a predefined list.
  
  Now information are update into magento correctly, but i get this :
  
  [2011-07-15 11:04:05,928][tngconcepts_test15] ERROR:Magento Call:The picking from the order 100000129 can't be created on Magento, please attach it manually, <Fault 102: u"Impossible de faire l'exp\xe9dition de la commande.">
  [2011-07-15 11:04:08,198][tngconcepts_test15] ERROR:Magento Call:The picking from the order 100000131 can't be created on Magento, please attach it manually, <Fault 102: u"Impossible de faire l'exp\xe9dition de la commande.">
  [2011-07-15 11:04:09,323][tngconcepts_test15] ERROR:web-services:Uncaught exception
  Traceback (most recent call last):
-   File "/opt/openerp/server/bin/osv/osv.py", line 122, in wrapper
-     return f(self, dbname, *args, **kwargs)
-   File "/opt/openerp/server/bin/osv/osv.py", line 176, in execute
-     res = self.execute_cr(cr, uid, obj, method, *args, **kw)
-   File "/opt/openerp/server/bin/osv/osv.py", line 167, in execute_cr
-     return getattr(object, method)(cr, uid, *args, **kw)
-   File "/opt/openerp/addons-extra/base_sale_multichannels/sale.py", line 267, in export_shipping
-     ext_shipping_id = self.pool.get('stock.picking').create_ext_shipping(cr, uid, result[0], picking_type, shop.referential_id.id, context)
-   File "/opt/openerp/addons/magentoerpconnect/stock.py", line 82, in create_ext_shipping
-     self.pool.get('delivery.carrier').check_ext_carrier_reference(cr, uid, carrier_id, magento_incrementid, context)
-   File "/opt/openerp/addons/magentoerpconnect/delivery.py", line 35, in check_ext_carrier_reference
-     mag_carrier = conn.call('sales_order_shipment.getCarriers', [magento_incrementid])
-   File "/opt/openerp/addons/magentoerpconnect/magerp_osv.py", line 53, in call
-     res = self.ser.call(self.session, method, arguments)
-   File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
-     return self.__send(self.__name, args)
-   File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
-     verbose=self.__verbose
-   File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
-     return self._parse_response(h.getfile(), sock)
-   File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
-     return u.close()
-   File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
-     raise Fault(**self._stack[0])
+   File "/opt/openerp/server/bin/osv/osv.py", line 122, in wrapper
+     return f(self, dbname, *args, **kwargs)
+   File "/opt/openerp/server/bin/osv/osv.py", line 176, in execute
+     res = self.execute_cr(cr, uid, obj, method, *args, **kw)
+   File "/opt/openerp/server/bin/osv/osv.py", line 167, in execute_cr
+     return getattr(object, method)(cr, uid, *args, **kw)
+   File "/opt/openerp/addons-extra/base_sale_multichannels/sale.py", line 267, in export_shipping
+     ext_shipping_id = self.pool.get('stock.picking').create_ext_shipping(cr, uid, result[0], picking_type, shop.referential_id.id, context)
+   File "/opt/openerp/addons/magentoerpconnect/stock.py", line 82, in create_ext_shipping
+     self.pool.get('delivery.carrier').check_ext_carrier_reference(cr, uid, carrier_id, magento_incrementid, context)
+   File "/opt/openerp/addons/magentoerpconnect/delivery.py", line 35, in check_ext_carrier_reference
+     mag_carrier = conn.call('sales_order_shipment.getCarriers', [magento_incrementid])
+   File "/opt/openerp/addons/magentoerpconnect/magerp_osv.py", line 53, in call
+     res = self.ser.call(self.session, method, arguments)
+   File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
+     return self.__send(self.__name, args)
+   File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
+     verbose=self.__verbose
+   File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
+     return self._parse_response(h.getfile(), sock)
+   File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
+     return u.close()
+   File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
+     raise Fault(**self._stack[0])
  Fault: <Fault 103: 'Requested order not exists.'>
  ^CKilled by signal 2.
- technobook:~ tboulogne$ ssh  tboulogne@192.168.54.207 tail -f /var/log/openerp/openerp-server.log
-     return self.__send(self.__name, args)
-   File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
-     verbose=self.__verbose
-   File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
-     return self._parse_response(h.getfile(), sock)
-   File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
-     return u.close()
-   File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
-     raise Fault(**self._stack[0])
- Fault: <Fault 103: 'Requested order not exists.'>
  
  
  Thanks for help.
  
  Regards,

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/810952

Title:
  update shipping : <Fault 103: 'Requested order not exists.'>

Status in Magento OpenERP Connector:
  New

Bug description:
  Hello,

  I get an error when i update shipping on magento.
  Important note : for updating shipping correctly, i modify delivery.py and stock.py to split carrier['magento_code'] because  carrier code is not send. Only shipping method are send like "carrier_shippingmetho".
  Without this split, the connector complain that the carrier is missing in a predefined list.

  Now information are update into magento correctly, but i get this :

  [2011-07-15 11:04:05,928][tngconcepts_test15] ERROR:Magento Call:The picking from the order 100000129 can't be created on Magento, please attach it manually, <Fault 102: u"Impossible de faire l'exp\xe9dition de la commande.">
  [2011-07-15 11:04:08,198][tngconcepts_test15] ERROR:Magento Call:The picking from the order 100000131 can't be created on Magento, please attach it manually, <Fault 102: u"Impossible de faire l'exp\xe9dition de la commande.">
  [2011-07-15 11:04:09,323][tngconcepts_test15] ERROR:web-services:Uncaught exception
  Traceback (most recent call last):
    File "/opt/openerp/server/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/opt/openerp/server/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/opt/openerp/server/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/opt/openerp/addons-extra/base_sale_multichannels/sale.py", line 267, in export_shipping
      ext_shipping_id = self.pool.get('stock.picking').create_ext_shipping(cr, uid, result[0], picking_type, shop.referential_id.id, context)
    File "/opt/openerp/addons/magentoerpconnect/stock.py", line 82, in create_ext_shipping
      self.pool.get('delivery.carrier').check_ext_carrier_reference(cr, uid, carrier_id, magento_incrementid, context)
    File "/opt/openerp/addons/magentoerpconnect/delivery.py", line 35, in check_ext_carrier_reference
      mag_carrier = conn.call('sales_order_shipment.getCarriers', [magento_incrementid])
    File "/opt/openerp/addons/magentoerpconnect/magerp_osv.py", line 53, in call
      res = self.ser.call(self.session, method, arguments)
    File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
      return self.__send(self.__name, args)
    File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
      verbose=self.__verbose
    File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
      return self._parse_response(h.getfile(), sock)
    File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
      return u.close()
    File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
      raise Fault(**self._stack[0])
  Fault: <Fault 103: 'Requested order not exists.'>
  ^CKilled by signal 2.

  
  Thanks for help.

  Regards,

To manage notifications about this bug go to:
https://bugs.launchpad.net/magentoerpconnect/+bug/810952/+subscriptions


References