← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 617905] Re: Product Import fails

 

Hi, I do not know how much you know about Magento but in 1.4 there were
changes to the sales tables in the database. I have received this error
on both of our companies websites and I cant solve it. Your error is not
the same as mine, your method call is different. We are using 1.3.2.4
and i'm worried that our Magento developer changed the table structure,
and that is why we are not able to get this module to work. He did say
he hadn't altered the core modules. The error I believe is just a
general error stating the information that was received was not exact as
requested by the module. I did a small test. I changed the base URL to
admin and gave it admin access just to see what would happen. It
produced the same type error when syncing the referentials. If I had
programming experience I would know more about the error but I had to
learn a great deal just to get this far. If you can assist me in
collecting better logs, I can attempt to patch the problem. I spend 8
hours a day learning about magento api, and other areas for our company.
I will share all information I can about any problems I have in return.

Where you ever able to fix the problem you were having in the first
error posted above? Also I couldnt get 6.0 to work as in the magento
module would not install. Is there a newer one for 6.0 that is better? I
tried adding "print response" in the xmlrpclib file but it didnt change
any of the logs or add any information. I can post my webserver logs but
they do not indicate a specific cause. I couldnt get magento to show any
log of the event either. We are using litespeed webserver.

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

Status in Magento Open ERP Connector: Incomplete

Bug description:
I'm using current stable (5.0.12) on an Amazon EC2 ubuntu 10.4 instance. I have installed and configured the openerpconnect module ok and the corresponding magento module.

In OpenERP, clicking on the referential actions in turn (1 - Import Customer Groups through to 5 - Import Product Attributes) works fine but when I click on 6 - Import products I get the following error. We have approx 2000 products, is this a timeout problem, or something else?

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 247, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 76, in __call__
    return getattr(self, method)(*params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 577, in execute
    res = service.execute(db, uid, object, method, *args)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 58, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 119, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 111, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/magentoerpconnect/magerp_core.py", line 137, in sync_products
    list_prods = attr_conn.call('catalog_product.list')
  File "/usr/local/lib/python2.6/dist-packages/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 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 836, in close
    raise ResponseError()
ResponseError: ResponseError()