2014-04-10 15:32:25 |
David |
description |
I have migrated from openerp 6.1 to 7.
To do it, i have used openupgrade, but to do the migration i had been to uninstall the magentoerpconnect before the migration. After the migration have done, I have installed the connector for version 7, with all dependencies.
I can synchronize the initial metadata without problems, but i'm unable to sincronize any other thing. The job appear in Pendig status and in the worker, there are no job related.
branch
http://bazaar.launchpad.net/~openerp-connector-core-editors/openerp-connector-magento/7.0/
revision
966 guewen.baconnier@camptocamp.com-20140404112942-sdvmz9kswd91papa
How can I debug what are the problem? and, it's posible to delete all jobs in list?
Thanks |
I have migrated from openerp 6.1 to 7.
To do it, i have used openupgrade, but to do the migration i had been to uninstall the magentoerpconnect before the migration. After the migration have done, I have installed the connector for version 7, with all dependencies.
I can synchronize the initial metadata without problems, but i'm unable to sincronize any other thing. The job appear in Pendig status and in the worker, there are no job related.
At the first moment, some jobs go to Fail status, for example:
Triying to import groups
Traceback (most recent call last):
File "/opt/OPENERP7/openerp-connector70/connector/queue/worker.py", line 122, in run_job
job.perform(session)
File "/opt/OPENERP7/openerp-connector70/connector/queue/job.py", line 472, in perform
self.result = self.func(session, *self.args, **self.kwargs)
File "/opt/OPENERP7/openerp-connector-magento70/magentoerpconnect/unit/import_synchronizer.py", line 332, in import_record
importer.run(magento_id, force=force)
File "/opt/OPENERP7/openerp-connector-magento70/magentoerpconnect/unit/import_synchronizer.py", line 181, in run
self._import_dependencies()
File "/opt/OPENERP7/openerp-connector-magento70/magentoerpconnect/partner.py", line 272, in _import_dependencies
if binder.to_openerp(record['group_id']) is None:
KeyError: 'group_id'
Triying to import product categories:
Task openerp.addons.magentoerpconnect.unit.import_synchronizer.import_batch('magento.product.category', 1, filters={'from_date': datetime.datetime(2014, 4, 10, 10, 49, 7)})
and the error:
Traceback (most recent call last):
File "/opt/OPENERP7/openerp-connector70/connector/queue/worker.py", line 122, in run_job
job.perform(session)
File "/opt/OPENERP7/openerp-connector70/connector/queue/job.py", line 472, in perform
self.result = self.func(session, *self.args, **self.kwargs)
File "/opt/OPENERP7/openerp-connector-magento70/magentoerpconnect/unit/import_synchronizer.py", line 324, in import_batch
importer.run(filters=filters)
File "/opt/OPENERP7/openerp-connector-magento70/magentoerpconnect/product_category.py", line 179, in run
tree = self.backend_adapter.tree()
File "/opt/OPENERP7/openerp-connector-magento70/magentoerpconnect/product_category.py", line 142, in tree
[parent_id, storeview_id])
File "/opt/OPENERP7/openerp-connector-magento70/magentoerpconnect/product_category.py", line 93, in _call
return super(ProductCategoryAdapter, self)._call(method, arguments)
File "/opt/OPENERP7/openerp-connector-magento70/magentoerpconnect/unit/backend_adapter.py", line 129, in _call
result = api.call(method, arguments)
File "/usr/local/lib/python2.7/dist-packages/magento/api.py", line 161, in call
return self.client.call(self.session, resource_path, 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 1578, 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: 'Internal Error. Please see log for details.'>
branch
http://bazaar.launchpad.net/~openerp-connector-core-editors/openerp-connector-magento/7.0/
revision
966 guewen.baconnier@camptocamp.com-20140404112942-sdvmz9kswd91papa
How can I debug what are the problem? and, it's posible to delete all jobs in list?
Thanks |
|