← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 705785] [NEW] Import product Attribute failed

 

Public bug reported:

We had this following error when we try to import attribute :


Environment Information : 
System : Linux-2.6.32-25-generic-i686-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID:	Ubuntu
Description:	Ubuntu 10.04.1 LTS
Release:	10.04
Codename:	lucid
Operating System Release : 2.6.32-25-generic
Operating System Version : #44-Ubuntu SMP Fri Sep 17 20:26:08 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : fr_FR.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 5.0.6
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/usr/lib/openerp-server/netsvc.py", line 244, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/usr/lib/openerp-server/netsvc.py", line 73, in __call__
    return getattr(self, method)(*params)
  File "/usr/lib/openerp-server/service/web_services.py", line 583, in execute
    res = service.execute(db, uid, object, method, *args)
  File "/usr/lib/openerp-server/osv/osv.py", line 59, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/lib/openerp-server/osv/osv.py", line 118, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/lib/openerp-server/osv/osv.py", line 110, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/lib/openerp-server/addons/magentoerpconnect/magerp_core.py", line 90, in sync_attribs
    mage_inp = attr_conn.call('ol_catalog_product_attribute.list', [all_attr_set_ids])             #Get the tree
  File "/usr/lib/openerp-server/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 1243, in request
    headers
ProtocolError: <ProtocolError for 192.168.1.3/magento-1.4/index.php/api/xmlrpc/: 500 Internal Server 


500 Internal Server can be occure because our magento database is quiet big ( more than 30000 products ).

** Affects: magentoerpconnect
     Importance: Undecided
         Status: New

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

Title:
  Import product Attribute failed

Status in Magento Open ERP Connector:
  New

Bug description:
  We had this following error when we try to import attribute :

  
  Environment Information : 
  System : Linux-2.6.32-25-generic-i686-with-Ubuntu-10.04-lucid
  OS Name : posix
  Distributor ID:	Ubuntu
  Description:	Ubuntu 10.04.1 LTS
  Release:	10.04
  Codename:	lucid
  Operating System Release : 2.6.32-25-generic
  Operating System Version : #44-Ubuntu SMP Fri Sep 17 20:26:08 UTC 2010
  Operating System Architecture : 32bit
  Operating System Locale : fr_FR.UTF8
  Python Version : 2.6.5
  OpenERP-Client Version : 5.0.6
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/usr/lib/openerp-server/netsvc.py", line 244, in dispatch
      result = LocalService(service_name)(method, *params)
    File "/usr/lib/openerp-server/netsvc.py", line 73, in __call__
      return getattr(self, method)(*params)
    File "/usr/lib/openerp-server/service/web_services.py", line 583, in execute
      res = service.execute(db, uid, object, method, *args)
    File "/usr/lib/openerp-server/osv/osv.py", line 59, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/lib/openerp-server/osv/osv.py", line 118, in execute
      res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/lib/openerp-server/osv/osv.py", line 110, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/lib/openerp-server/addons/magentoerpconnect/magerp_core.py", line 90, in sync_attribs
      mage_inp = attr_conn.call('ol_catalog_product_attribute.list', [all_attr_set_ids])             #Get the tree
    File "/usr/lib/openerp-server/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 1243, in request
      headers
  ProtocolError: <ProtocolError for 192.168.1.3/magento-1.4/index.php/api/xmlrpc/: 500 Internal Server 

  
  500 Internal Server can be occure because our magento database is quiet big ( more than 30000 products ).





Follow ups

References