Having installed the modules and connected to our Magento store, I can successfully import the customer groups but when it comes to Importing the Product Categories I get an error. It could easily be something I have missed but this is the error:
<type 'exceptions.ValueError'> Python 2.5.2: /usr/bin/python
Sun Nov 29 10:43:31 2009
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/usr/lib/python2.5/site-packages/CherryPy-3.1.2-py2.5.egg/cherrypy/_cprequest.py in respond(self=<cherrypy._cprequest.Request object at 0x8e9486c>, path_info='/form/save')
604 if self.handler:
605 self.stage = 'handler'
606 cherrypy.response.body = self.handler()
607
608 self.stage = 'before_finalize'
global cherrypy = <module 'cherrypy' from '/usr/lib/python2.5/site.../CherryPy-3.1.2-py2.5.egg/cherrypy/__init__.pyc'>, cherrypy.response = <cherrypy._ThreadLocalProxy object at 0xb79d7eec>, cherrypy.response.body = [], self = <cherrypy._cprequest.Request object at 0x8e9486c>, self.handler = <cherrypy._cpdispatch.LateParamPageHandler object at 0x8e8e7cc>
/usr/lib/python2.5/site-packages/CherryPy-3.1.2-py2.5.egg/cherrypy/_cpdispatch.py in __call__(self=<cherrypy._cpdispatch.LateParamPageHandler object at 0x8e8e7cc>)
23 def __call__(self):
24 try:
25 return self.callable(*self.args, **self.kwargs)
26 except TypeError, x:
27 test_callable_spec(self.callable, self.args, self.kwargs)
self = <cherrypy._cpdispatch.LateParamPageHandler object at 0x8e8e7cc>, self.callable = <function save at 0x8c17a3c>, self.args = (), self.kwargs = {'_terp_button/btype': 'object', '_terp_button/id': '1', '_terp_button/model': 'external.referential', '_terp_button/name': 'sync_categs', '_terp_concurrency_info': [('external.referential,1', '2009-11-28 20:14:48.726123'), ('external.shop.group,1', '2009-11-29 10:23:40.380436'), ('external.shop.group,2', '2009-11-29 10:23:42.864885'), ('external.shop.group,3', '2009-11-29 10:23:42.870408'), ('external.shop.group,4', '2009-11-29 10:23:42.875625'), ('external.shop.group,5', '2009-11-29 10:23:42.880903'), ('external.shop.group,6', '2009-11-29 10:23:42.885933'), ('magerp.product_attribute_set,1', '2009-11-29 10:33:09.507241'), ('magerp.product_attribute_set,2', '2009-11-29 10:33:13.139069'), ('magerp.product_attribute_set,3', '2009-11-29 10:33:13.154564'), ('magerp.product_attribute_set,4', '2009-11-29 10:33:13.168943'), ('magerp.product_attribute_set,5', '2009-11-29 10:33:13.183529'), ('magerp.product_attribute_set,6', '2009-11-29 10:33:13.198822'), ('magerp.product_attribute_set,7', '2009-11-29 10:33:13.213954'), ('magerp.product_attribute_set,8', '2009-11-29 10:33:13.230716'), ('magerp.product_attribute_set,9', '2009-11-29 10:33:13.245793'), ('magerp.product_attribute_set,10', '2009-11-29 10:33:13.261091'), ('magerp.product_attribute_set,11', '2009-11-29 10:33:13.275954'), ('magerp.product_attribute_set,12', '2009-11-29 10:33:13.290634'), ('magerp.product_attribute_set,13', '2009-11-29 10:33:13.30547'), ...], '_terp_context': "{'lang': u'en_US', 'active_ids': [333], 'tz': False, 'client': 'web', 'active_id': 333}", '_terp_count': '1', '_terp_domain': '[]', '_terp_editable': 'False', '_terp_header_footer': '1', ...}
/usr/lib/python2.5/site-packages/openerp_web-5.0.6-py2.5.egg/openerp/controllers/base.py in wrapper(*args=(), **kw={'_terp_button/btype': 'object', '_terp_button/id': '1', '_terp_button/model': 'external.referential', '_terp_button/name': 'sync_categs', '_terp_concurrency_info': [('external.referential,1', '2009-11-28 20:14:48.726123'), ('external.shop.group,1', '2009-11-29 10:23:40.380436'), ('external.shop.group,2', '2009-11-29 10:23:42.864885'), ('external.shop.group,3', '2009-11-29 10:23:42.870408'), ('external.shop.group,4', '2009-11-29 10:23:42.875625'), ('external.shop.group,5', '2009-11-29 10:23:42.880903'), ('external.shop.group,6', '2009-11-29 10:23:42.885933'), ('magerp.product_attribute_set,1', '2009-11-29 10:33:09.507241'), ('magerp.product_attribute_set,2', '2009-11-29 10:33:13.139069'), ('magerp.product_attribute_set,3', '2009-11-29 10:33:13.154564'), ('magerp.product_attribute_set,4', '2009-11-29 10:33:13.168943'), ('magerp.product_attribute_set,5', '2009-11-29 10:33:13.183529'), ('magerp.product_attribute_set,6', '2009-11-29 10:33:13.198822'), ('magerp.product_attribute_set,7', '2009-11-29 10:33:13.213954'), ('magerp.product_attribute_set,8', '2009-11-29 10:33:13.230716'), ('magerp.product_attribute_set,9', '2009-11-29 10:33:13.245793'), ('magerp.product_attribute_set,10', '2009-11-29 10:33:13.261091'), ('magerp.product_attribute_set,11', '2009-11-29 10:33:13.275954'), ('magerp.product_attribute_set,12', '2009-11-29 10:33:13.290634'), ('magerp.product_attribute_set,13', '2009-11-29 10:33:13.30547'), ...], '_terp_context': "{'lang': u'en_US', 'active_ids': [333], 'tz': False, 'client': 'web', 'active_id': 333}", '_terp_count': '1', '_terp_domain': '[]', '_terp_editable': 'False', '_terp_header_footer': '1', ...})
120 # User is logged in; allow access
121 clear_login_fields(kw)
122 return fn(*args, **kw)
123 else:
124 # User isn't logged in yet.
fn = <bound method Form.save of <openerp.controllers.form.Form object at 0x88b1e8c>>, args = (), kw = {'_terp_button/btype': 'object', '_terp_button/id': '1', '_terp_button/model': 'external.referential', '_terp_button/name': 'sync_categs', '_terp_concurrency_info': [('external.referential,1', '2009-11-28 20:14:48.726123'), ('external.shop.group,1', '2009-11-29 10:23:40.380436'), ('external.shop.group,2', '2009-11-29 10:23:42.864885'), ('external.shop.group,3', '2009-11-29 10:23:42.870408'), ('external.shop.group,4', '2009-11-29 10:23:42.875625'), ('external.shop.group,5', '2009-11-29 10:23:42.880903'), ('external.shop.group,6', '2009-11-29 10:23:42.885933'), ('magerp.product_attribute_set,1', '2009-11-29 10:33:09.507241'), ('magerp.product_attribute_set,2', '2009-11-29 10:33:13.139069'), ('magerp.product_attribute_set,3', '2009-11-29 10:33:13.154564'), ('magerp.product_attribute_set,4', '2009-11-29 10:33:13.168943'), ('magerp.product_attribute_set,5', '2009-11-29 10:33:13.183529'), ('magerp.product_attribute_set,6', '2009-11-29 10:33:13.198822'), ('magerp.product_attribute_set,7', '2009-11-29 10:33:13.213954'), ('magerp.product_attribute_set,8', '2009-11-29 10:33:13.230716'), ('magerp.product_attribute_set,9', '2009-11-29 10:33:13.245793'), ('magerp.product_attribute_set,10', '2009-11-29 10:33:13.261091'), ('magerp.product_attribute_set,11', '2009-11-29 10:33:13.275954'), ('magerp.product_attribute_set,12', '2009-11-29 10:33:13.290634'), ('magerp.product_attribute_set,13', '2009-11-29 10:33:13.30547'), ...], '_terp_context': "{'lang': u'en_US', 'active_ids': [333], 'tz': False, 'client': 'web', 'active_id': 333}", '_terp_count': '1', '_terp_domain': '[]', '_terp_editable': 'False', '_terp_header_footer': '1', ...}
/usr/lib/python2.5/site-packages/openerp_web-5.0.6-py2.5.egg/openerp/tools/expose.py in func_wrapper(*args=(<openerp.controllers.form.Form object at 0x88b1e8c>,), **kw={'_terp_button/btype': 'object', '_terp_button/id': '1', '_terp_button/model': 'external.referential', '_terp_button/name': 'sync_categs', '_terp_concurrency_info': [('external.referential,1', '2009-11-28 20:14:48.726123'), ('external.shop.group,1', '2009-11-29 10:23:40.380436'), ('external.shop.group,2', '2009-11-29 10:23:42.864885'), ('external.shop.group,3', '2009-11-29 10:23:42.870408'), ('external.shop.group,4', '2009-11-29 10:23:42.875625'), ('external.shop.group,5', '2009-11-29 10:23:42.880903'), ('external.shop.group,6', '2009-11-29 10:23:42.885933'), ('magerp.product_attribute_set,1', '2009-11-29 10:33:09.507241'), ('magerp.product_attribute_set,2', '2009-11-29 10:33:13.139069'), ('magerp.product_attribute_set,3', '2009-11-29 10:33:13.154564'), ('magerp.product_attribute_set,4', '2009-11-29 10:33:13.168943'), ('magerp.product_attribute_set,5', '2009-11-29 10:33:13.183529'), ('magerp.product_attribute_set,6', '2009-11-29 10:33:13.198822'), ('magerp.product_attribute_set,7', '2009-11-29 10:33:13.213954'), ('magerp.product_attribute_set,8', '2009-11-29 10:33:13.230716'), ('magerp.product_attribute_set,9', '2009-11-29 10:33:13.245793'), ('magerp.product_attribute_set,10', '2009-11-29 10:33:13.261091'), ('magerp.product_attribute_set,11', '2009-11-29 10:33:13.275954'), ('magerp.product_attribute_set,12', '2009-11-29 10:33:13.290634'), ('magerp.product_attribute_set,13', '2009-11-29 10:33:13.30547'), ...], '_terp_context': "{'lang': u'en_US', 'active_ids': [333], 'tz': False, 'client': 'web', 'active_id': 333}", '_terp_count': '1', '_terp_domain': '[]', '_terp_editable': 'False', '_terp_header_footer': '1', ...})
202 def func_wrapper(*args, **kw):
203
204 res = func(*args, **kw)
205
206 if format == 'json' or (allow_json and 'allow_json' in cherrypy.request.params):
global res = '/usr/lib/python2.5/site-packages/openerp_web-5.0....egg/openerp/widgets_search/templates/search.mako', func = <function save at 0x86f94fc>, args = (<openerp.controllers.form.Form object at 0x88b1e8c>,), kw = {'_terp_button/btype': 'object', '_terp_button/id': '1', '_terp_button/model': 'external.referential', '_terp_button/name': 'sync_categs', '_terp_concurrency_info': [('external.referential,1', '2009-11-28 20:14:48.726123'), ('external.shop.group,1', '2009-11-29 10:23:40.380436'), ('external.shop.group,2', '2009-11-29 10:23:42.864885'), ('external.shop.group,3', '2009-11-29 10:23:42.870408'), ('external.shop.group,4', '2009-11-29 10:23:42.875625'), ('external.shop.group,5', '2009-11-29 10:23:42.880903'), ('external.shop.group,6', '2009-11-29 10:23:42.885933'), ('magerp.product_attribute_set,1', '2009-11-29 10:33:09.507241'), ('magerp.product_attribute_set,2', '2009-11-29 10:33:13.139069'), ('magerp.product_attribute_set,3', '2009-11-29 10:33:13.154564'), ('magerp.product_attribute_set,4', '2009-11-29 10:33:13.168943'), ('magerp.product_attribute_set,5', '2009-11-29 10:33:13.183529'), ('magerp.product_attribute_set,6', '2009-11-29 10:33:13.198822'), ('magerp.product_attribute_set,7', '2009-11-29 10:33:13.213954'), ('magerp.product_attribute_set,8', '2009-11-29 10:33:13.230716'), ('magerp.product_attribute_set,9', '2009-11-29 10:33:13.245793'), ('magerp.product_attribute_set,10', '2009-11-29 10:33:13.261091'), ('magerp.product_attribute_set,11', '2009-11-29 10:33:13.275954'), ('magerp.product_attribute_set,12', '2009-11-29 10:33:13.290634'), ('magerp.product_attribute_set,13', '2009-11-29 10:33:13.30547'), ...], '_terp_context': "{'lang': u'en_US', 'active_ids': [333], 'tz': False, 'client': 'web', 'active_id': 333}", '_terp_count': '1', '_terp_domain': '[]', '_terp_editable': 'False', '_terp_header_footer': '1', ...}
/usr/lib/python2.5/site-packages/openerp_web-5.0.6-py2.5.egg/openerp/tools/utils.py in func_wrapper(*args=[<openerp.controllers.form.Form object at 0x88b1e8c>], **kw={'_terp_button/btype': 'object', '_terp_button/id': '1', '_terp_button/model': 'external.referential', '_terp_button/name': 'sync_categs', '_terp_concurrency_info': [('external.referential,1', '2009-11-28 20:14:48.726123'), ('external.shop.group,1', '2009-11-29 10:23:40.380436'), ('external.shop.group,2', '2009-11-29 10:23:42.864885'), ('external.shop.group,3', '2009-11-29 10:23:42.870408'), ('external.shop.group,4', '2009-11-29 10:23:42.875625'), ('external.shop.group,5', '2009-11-29 10:23:42.880903'), ('external.shop.group,6', '2009-11-29 10:23:42.885933'), ('magerp.product_attribute_set,1', '2009-11-29 10:33:09.507241'), ('magerp.product_attribute_set,2', '2009-11-29 10:33:13.139069'), ('magerp.product_attribute_set,3', '2009-11-29 10:33:13.154564'), ('magerp.product_attribute_set,4', '2009-11-29 10:33:13.168943'), ('magerp.product_attribute_set,5', '2009-11-29 10:33:13.183529'), ('magerp.product_attribute_set,6', '2009-11-29 10:33:13.198822'), ('magerp.product_attribute_set,7', '2009-11-29 10:33:13.213954'), ('magerp.product_attribute_set,8', '2009-11-29 10:33:13.230716'), ('magerp.product_attribute_set,9', '2009-11-29 10:33:13.245793'), ('magerp.product_attribute_set,10', '2009-11-29 10:33:13.261091'), ('magerp.product_attribute_set,11', '2009-11-29 10:33:13.275954'), ('magerp.product_attribute_set,12', '2009-11-29 10:33:13.290634'), ('magerp.product_attribute_set,13', '2009-11-29 10:33:13.30547'), ...], '_terp_context': "{'lang': u'en_US', 'active_ids': [333], 'tz': False, 'client': 'web', 'active_id': 333}", '_terp_count': '1', '_terp_domain': '[]', '_terp_editable': 'False', '_terp_header_footer': '1', ...})
146
147 args, kw = from_kw(func, args, kw)
148 return func(*args, **kw)
149
150 return decorated(func_wrapper, func)
func = <function save at 0x86f948c>, args = [<openerp.controllers.form.Form object at 0x88b1e8c>], kw = {'_terp_button/btype': 'object', '_terp_button/id': '1', '_terp_button/model': 'external.referential', '_terp_button/name': 'sync_categs', '_terp_concurrency_info': [('external.referential,1', '2009-11-28 20:14:48.726123'), ('external.shop.group,1', '2009-11-29 10:23:40.380436'), ('external.shop.group,2', '2009-11-29 10:23:42.864885'), ('external.shop.group,3', '2009-11-29 10:23:42.870408'), ('external.shop.group,4', '2009-11-29 10:23:42.875625'), ('external.shop.group,5', '2009-11-29 10:23:42.880903'), ('external.shop.group,6', '2009-11-29 10:23:42.885933'), ('magerp.product_attribute_set,1', '2009-11-29 10:33:09.507241'), ('magerp.product_attribute_set,2', '2009-11-29 10:33:13.139069'), ('magerp.product_attribute_set,3', '2009-11-29 10:33:13.154564'), ('magerp.product_attribute_set,4', '2009-11-29 10:33:13.168943'), ('magerp.product_attribute_set,5', '2009-11-29 10:33:13.183529'), ('magerp.product_attribute_set,6', '2009-11-29 10:33:13.198822'), ('magerp.product_attribute_set,7', '2009-11-29 10:33:13.213954'), ('magerp.product_attribute_set,8', '2009-11-29 10:33:13.230716'), ('magerp.product_attribute_set,9', '2009-11-29 10:33:13.245793'), ('magerp.product_attribute_set,10', '2009-11-29 10:33:13.261091'), ('magerp.product_attribute_set,11', '2009-11-29 10:33:13.275954'), ('magerp.product_attribute_set,12', '2009-11-29 10:33:13.290634'), ('magerp.product_attribute_set,13', '2009-11-29 10:33:13.30547'), ...], '_terp_context': "{'lang': u'en_US', 'active_ids': [333], 'tz': False, 'client': 'web', 'active_id': 333}", '_terp_count': '1', '_terp_domain': '[]', '_terp_editable': 'False', '_terp_header_footer': '1', ...}
/usr/lib/python2.5/site-packages/openerp_web-5.0.6-py2.5.egg/openerp/tools/utils.py in func_wrapper(*args=(<openerp.controllers.form.Form object at 0x88b1e8c>,), **kw={'_terp_button/btype': 'object', '_terp_button/id': '1', '_terp_button/model': 'external.referential', '_terp_button/name': 'sync_categs', '_terp_concurrency_info': [('external.referential,1', '2009-11-28 20:14:48.726123'), ('external.shop.group,1', '2009-11-29 10:23:40.380436'), ('external.shop.group,2', '2009-11-29 10:23:42.864885'), ('external.shop.group,3', '2009-11-29 10:23:42.870408'), ('external.shop.group,4', '2009-11-29 10:23:42.875625'), ('external.shop.group,5', '2009-11-29 10:23:42.880903'), ('external.shop.group,6', '2009-11-29 10:23:42.885933'), ('magerp.product_attribute_set,1', '2009-11-29 10:33:09.507241'), ('magerp.product_attribute_set,2', '2009-11-29 10:33:13.139069'), ('magerp.product_attribute_set,3', '2009-11-29 10:33:13.154564'), ('magerp.product_attribute_set,4', '2009-11-29 10:33:13.168943'), ('magerp.product_attribute_set,5', '2009-11-29 10:33:13.183529'), ('magerp.product_attribute_set,6', '2009-11-29 10:33:13.198822'), ('magerp.product_attribute_set,7', '2009-11-29 10:33:13.213954'), ('magerp.product_attribute_set,8', '2009-11-29 10:33:13.230716'), ('magerp.product_attribute_set,9', '2009-11-29 10:33:13.245793'), ('magerp.product_attribute_set,10', '2009-11-29 10:33:13.261091'), ('magerp.product_attribute_set,11', '2009-11-29 10:33:13.275954'), ('magerp.product_attribute_set,12', '2009-11-29 10:33:13.290634'), ('magerp.product_attribute_set,13', '2009-11-29 10:33:13.30547'), ...], '_terp_context': "{'lang': u'en_US', 'active_ids': [333], 'tz': False, 'client': 'web', 'active_id': 333}", '_terp_count': '1', '_terp_domain': '[]', '_terp_editable': 'False', '_terp_header_footer': '1', ...})
163 return handler(*args, **kw)
164
165 return func(*args, **kw)
166
167 return decorated(func_wrapper, func)
func = <function save at 0x86f94c4>, args = (<openerp.controllers.form.Form object at 0x88b1e8c>,), kw = {'_terp_button/btype': 'object', '_terp_button/id': '1', '_terp_button/model': 'external.referential', '_terp_button/name': 'sync_categs', '_terp_concurrency_info': [('external.referential,1', '2009-11-28 20:14:48.726123'), ('external.shop.group,1', '2009-11-29 10:23:40.380436'), ('external.shop.group,2', '2009-11-29 10:23:42.864885'), ('external.shop.group,3', '2009-11-29 10:23:42.870408'), ('external.shop.group,4', '2009-11-29 10:23:42.875625'), ('external.shop.group,5', '2009-11-29 10:23:42.880903'), ('external.shop.group,6', '2009-11-29 10:23:42.885933'), ('magerp.product_attribute_set,1', '2009-11-29 10:33:09.507241'), ('magerp.product_attribute_set,2', '2009-11-29 10:33:13.139069'), ('magerp.product_attribute_set,3', '2009-11-29 10:33:13.154564'), ('magerp.product_attribute_set,4', '2009-11-29 10:33:13.168943'), ('magerp.product_attribute_set,5', '2009-11-29 10:33:13.183529'), ('magerp.product_attribute_set,6', '2009-11-29 10:33:13.198822'), ('magerp.product_attribute_set,7', '2009-11-29 10:33:13.213954'), ('magerp.product_attribute_set,8', '2009-11-29 10:33:13.230716'), ('magerp.product_attribute_set,9', '2009-11-29 10:33:13.245793'), ('magerp.product_attribute_set,10', '2009-11-29 10:33:13.261091'), ('magerp.product_attribute_set,11', '2009-11-29 10:33:13.275954'), ('magerp.product_attribute_set,12', '2009-11-29 10:33:13.290634'), ('magerp.product_attribute_set,13', '2009-11-29 10:33:13.30547'), ...], '_terp_context': "{'lang': u'en_US', 'active_ids': [333], 'tz': False, 'client': 'web', 'active_id': 333}", '_terp_count': '1', '_terp_domain': '[]', '_terp_editable': 'False', '_terp_header_footer': '1', ...}
/usr/lib/python2.5/site-packages/openerp_web-5.0.6-py2.5.egg/openerp/controllers/form.py in save(self=<openerp.controllers.form.Form object at 0x88b1e8c>, terp_save_only=False, **kw={'_terp_button/btype': 'object', '_terp_button/id': '1', '_terp_button/model': 'external.referential', '_terp_button/name': 'sync_categs', '_terp_concurrency_info': [('external.referential,1', '2009-11-28 20:14:48.726123'), ('external.shop.group,1', '2009-11-29 10:23:40.380436'), ('external.shop.group,2', '2009-11-29 10:23:42.864885'), ('external.shop.group,3', '2009-11-29 10:23:42.870408'), ('external.shop.group,4', '2009-11-29 10:23:42.875625'), ('external.shop.group,5', '2009-11-29 10:23:42.880903'), ('external.shop.group,6', '2009-11-29 10:23:42.885933'), ('magerp.product_attribute_set,1', '2009-11-29 10:33:09.507241'), ('magerp.product_attribute_set,2', '2009-11-29 10:33:13.139069'), ('magerp.product_attribute_set,3', '2009-11-29 10:33:13.154564'), ('magerp.product_attribute_set,4', '2009-11-29 10:33:13.168943'), ('magerp.product_attribute_set,5', '2009-11-29 10:33:13.183529'), ('magerp.product_attribute_set,6', '2009-11-29 10:33:13.198822'), ('magerp.product_attribute_set,7', '2009-11-29 10:33:13.213954'), ('magerp.product_attribute_set,8', '2009-11-29 10:33:13.230716'), ('magerp.product_attribute_set,9', '2009-11-29 10:33:13.245793'), ('magerp.product_attribute_set,10', '2009-11-29 10:33:13.261091'), ('magerp.product_attribute_set,11', '2009-11-29 10:33:13.275954'), ('magerp.product_attribute_set,12', '2009-11-29 10:33:13.290634'), ('magerp.product_attribute_set,13', '2009-11-29 10:33:13.30547'), ...], '_terp_context': "{'lang': u'en_US', 'active_ids': [333], 'tz': False, 'client': 'web', 'active_id': 333}", '_terp_count': '1', '_terp_domain': '[]', '_terp_editable': 'False', '_terp_header_footer': '1', ...})
403 # perform button action
404 if params.button:
405 res = self.button_action(params)
406 if res:
407 return res
res undefined, self = <openerp.controllers.form.Form object at 0x88b1e8c>, self.button_action = <bound method Form.button_action of <openerp.controllers.form.Form object at 0x88b1e8c>>, params = {'_terp_offset': 0, '_terp_model': 'external.ref...type': 'object', 'id': 1, 'name': 'sync_categs'}}
/usr/lib/python2.5/site-packages/openerp_web-5.0.6-py2.5.egg/openerp/controllers/form.py in button_action(self=<openerp.controllers.form.Form object at 0x88b1e8c>, params={'_terp_offset': 0, '_terp_model': 'external.ref...type': 'object', 'id': 1, 'name': 'sync_categs'}})
488 ctx = params.context or {}
489 ctx.update(rpc.session.context.copy())
490 res = rpc.session.execute('object', 'execute', model, name, ids, ctx)
491
492 if isinstance(res, dict):
res undefined, global rpc = <module 'openerp.rpc' from '/usr/lib/python2.5/s...ges/openerp_web-5.0.6-py2.5.egg/openerp/rpc.pyc'>, rpc.session = <openerp.rpc.RPCSession object at 0x8838eb4>, rpc.session.execute = <bound method RPCSession.execute of <openerp.rpc.RPCSession object at 0x8838eb4>>, model = 'external.referential', name = u'sync_categs', ids = [1], ctx = {'active_id': 333, 'active_ids': [333], 'client': 'web', 'lang': u'en_US', 'tz': False}
/usr/lib/python2.5/site-packages/openerp_web-5.0.6-py2.5.egg/openerp/rpc.py in execute(self=<openerp.rpc.RPCSession object at 0x8838eb4>, obj='object', method='execute', *args=('external.referential', u'sync_categs', [1], {'active_id': 333, 'active_ids': [333], 'client': 'web', 'lang': u'en_US', 'tz': False}))
348 raise common.warning(_('Not logged...'), _('Authorization Error!'))
349
350 return self.gateway.execute(obj, method, *args)
351
352 def execute_noauth(self, obj, method, *args):
self = <openerp.rpc.RPCSession object at 0x8838eb4>, self.gateway = <openerp.rpc.NETRPCGateway object at 0x88bbbec>, self.gateway.execute = <bound method NETRPCGateway.execute of <openerp.rpc.NETRPCGateway object at 0x88bbbec>>, obj = 'object', method = 'execute', args = ('external.referential', u'sync_categs', [1], {'active_id': 333, 'active_ids': [333], 'client': 'web', 'lang': u'en_US', 'tz': False})
/usr/lib/python2.5/site-packages/openerp_web-5.0.6-py2.5.egg/openerp/rpc.py in execute(self=<openerp.rpc.NETRPCGateway object at 0x88bbbec>, obj='object', method='execute', *args=('external.referential', u'sync_categs', [1], {'active_id': 333, 'active_ids': [333], 'client': 'web', 'lang': u'en_US', 'tz': False}))
152 @return: the result of the method
153 """
154 return self.__execute(obj, method, args)
155
156 def execute_noauth(self, obj, method, *args):
self = <openerp.rpc.NETRPCGateway object at 0x88bbbec>, self.__execute undefined, obj = 'object', method = 'execute', args = ('external.referential', u'sync_categs', [1], {'active_id': 333, 'active_ids': [333], 'client': 'web', 'lang': u'en_US', 'tz': False})
/usr/lib/python2.5/site-packages/openerp_web-5.0.6-py2.5.egg/openerp/rpc.py in __execute(self=<openerp.rpc.NETRPCGateway object at 0x88bbbec>, obj='object', method='execute', args=('external.referential', u'sync_categs', [1], {'active_id': 333, 'active_ids': [333], 'client': 'web', 'lang': u'en_US', 'tz': False}), auth=True)
128 return self.__convert(result)
129
130 except socket.error, (e1, e2):
131 raise common.message(_('Connection refused!'))
132
global socket = <module 'socket' from '/usr/lib/python2.5/socket.pyc'>, socket.error = <class 'socket.error'>, e1 undefined, e2 undefined
<type 'exceptions.ValueError'>: need more than 1 value to unpack
args = ('need more than 1 value to unpack',)
message = 'need more than 1 value to unpack'
Could someone please point me in the right direction.
Thanks