category import error

Bug #1299044 reported by Thomas Klosinsky
This bug report is a duplicate of:  Bug #1210775: group_id problem in Partner Import. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP Connector - Magento
New
Undecided
Guewen Baconnier @ Camptocamp

Bug Description

openerp.addons.magentoerpconnect.unit.import_synchronizer.import_batch('magento.product.category', 1, filters={'from_date': datetime.datetime(2012, 3, 28, 12, 58, 44)})

Traceback (most recent call last): File "/opt/openerp/addons/openerp-connector/connector/queue/worker.py", line 122, in run_job job.perform(session) File "/opt/openerp/addons/openerp-connector/connector/queue/job.py", line 472, in perform self.result = self.func(session, *self.args, **self.kwargs) File "/opt/openerp/addons/openerp-connector-magento/magentoerpconnect/unit/import_synchronizer.py", line 324, in import_batch importer.run(filters=filters) File "/opt/openerp/addons/openerp-connector-magento/magentoerpconnect/product_category.py", line 179, in run tree = self.backend_adapter.tree() File "/opt/openerp/addons/openerp-connector-magento/magentoerpconnect/product_category.py", line 142, in tree [parent_id, storeview_id]) File "/opt/openerp/addons/openerp-connector-magento/magentoerpconnect/product_category.py", line 93, in _call return super(ProductCategoryAdapter, self)._call(method, arguments) File "/opt/openerp/addons/openerp-connector-magento/magentoerpconnect/unit/backend_adapter.py", line 129, in _call result = api.call(method, arguments) File "/opt/bitnami/python/lib/python2.7/site-packages/magento-0.4-py2.7.egg/magento/api.py", line 161, in call return self.client.call(self.session, resource_path, arguments) File "/opt/bitnami/python/lib/python2.7/xmlrpclib.py", line 1224, in __call__ return self.__send(self.__name, args) File "/opt/bitnami/python/lib/python2.7/xmlrpclib.py", line 1578, in __request verbose=self.__verbose File "/opt/bitnami/python/lib/python2.7/xmlrpclib.py", line 1264, in request return self.single_request(host, handler, request_body, verbose) File "/opt/bitnami/python/lib/python2.7/xmlrpclib.py", line 1297, in single_request return self.parse_response(response) File "/opt/bitnami/python/lib/python2.7/xmlrpclib.py", line 1473, in parse_response return u.close() File "/opt/bitnami/python/lib/python2.7/xmlrpclib.py", line 793, in close raise Fault(**self._stack[0]) Fault: <Fault 1: 'Internal Error. Please see log for details.'>

Magento system.log:
DEBUG (7): Argument 1 passed to Mage_Catalog_Model_Category_Api::_nodeToArray() must be an instance of Varien_Data_Tree_Node, null given, called in /var/www/shop/app/code/core/Mage/Catalog/Model/Category/Api.php on line 159 and defined/var/www/shop/app/code/core/Mage/Catalog/Model/Category/Api.php

PHP 5.4 Patch for Magento installed and Patch from group id Bug https://bugs.launchpad.net/openerp-connector-magento/+bug/1210775 applied...

Same Magento Installation already successfully worked with OpenERP Connector - no changes on that side.
Updated OpenERP Modules...

Any ideas?
Best,
Thomas

Changed in openerp-connector-magento:
assignee: nobody → Guewen Baconnier @ Camptocamp (gbaconnier-c2c)
assignee: Guewen Baconnier @ Camptocamp (gbaconnier-c2c) → nobody
assignee: nobody → Guewen Baconnier @ Camptocamp (gbaconnier-c2c)
Revision history for this message
Thomas Klosinsky (tmomas) wrote :
Revision history for this message
Guewen Baconnier @ Camptocamp (gbaconnier-c2c) wrote :

Thanks for the feedback.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.