← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 881728] [NEW] invalid attribute 'imported' magento response

 

Public bug reported:

When installing the newer api module on magento it can give this error,

I have seen it on two completely separate installations. For some reason
in some installs, the module fails to properly install without reason.

[2011-10-25 18:14:23,163][midwestsupplies] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "/usr/local/openerp/openerp-server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/local/openerp/openerp-server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/local/openerp/openerp-server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/local/openerp/addons/base_sale_multichannels/sale.py", line 200, in import_orders
    self.import_shop_orders(cr, uid, shop, defaults, context)
  File "/usr/local/openerp/addons/magentoerpconnect/sale.py", line 144, in import_shop_orders
    context={'ids_or_filter':ids_or_filter})
  File "/usr/local/openerp/addons/magentoerpconnect/sale.py", line 665, in mage_import_base
    data = conn.call('sales_order.retrieve', [order_retrieve_params])
  File "/usr/local/openerp/addons/magentoerpconnect/magerp_osv.py", line 52, in call
    res = self.ser.call(self.session, method, arguments)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1575, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1297, in single_request
    return self.parse_response(response)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1473, in parse_response
    return u.close()
  File "/usr/lib/python2.7/xmlrpclib.py", line 793, in close
    raise Fault(**self._stack[0])
Fault: <Fault 1: 'Invalid attribute name: imported'>

** Affects: magentoerpconnect
     Importance: Undecided
         Status: New

-- 
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/881728

Title:
  invalid attribute 'imported' magento response

Status in Magento OpenERP Connector:
  New

Bug description:
  When installing the newer api module on magento it can give this
  error,

  I have seen it on two completely separate installations. For some
  reason in some installs, the module fails to properly install without
  reason.

  [2011-10-25 18:14:23,163][midwestsupplies] ERROR:web-services:Uncaught exception
  Traceback (most recent call last):
    File "/usr/local/openerp/openerp-server/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/local/openerp/openerp-server/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/local/openerp/openerp-server/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/local/openerp/addons/base_sale_multichannels/sale.py", line 200, in import_orders
      self.import_shop_orders(cr, uid, shop, defaults, context)
    File "/usr/local/openerp/addons/magentoerpconnect/sale.py", line 144, in import_shop_orders
      context={'ids_or_filter':ids_or_filter})
    File "/usr/local/openerp/addons/magentoerpconnect/sale.py", line 665, in mage_import_base
      data = conn.call('sales_order.retrieve', [order_retrieve_params])
    File "/usr/local/openerp/addons/magentoerpconnect/magerp_osv.py", line 52, in call
      res = self.ser.call(self.session, method, arguments)
    File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
      return self.__send(self.__name, args)
    File "/usr/lib/python2.7/xmlrpclib.py", line 1575, in __request
      verbose=self.__verbose
    File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
      return self.single_request(host, handler, request_body, verbose)
    File "/usr/lib/python2.7/xmlrpclib.py", line 1297, in single_request
      return self.parse_response(response)
    File "/usr/lib/python2.7/xmlrpclib.py", line 1473, in parse_response
      return u.close()
    File "/usr/lib/python2.7/xmlrpclib.py", line 793, in close
      raise Fault(**self._stack[0])
  Fault: <Fault 1: 'Invalid attribute name: imported'>

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


Follow ups

References