http://localhost:8080/wizard/action
<type 'exceptions.ValueError'>
Python 2.5.4: C:\Documents and Settings\Administrator \OpenERP AllInOne\Web\python25\python.exe Wed Nov 18 23:05:16 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. C:\Documents and Settings\Administrator\OpenERP AllInOne\Web\python25\lib\site-packages \cherrypy-3.1.2-py2.5-win32.egg\cherrypy\_cprequest.py in respond(self= respond <cherrypy._cprequest.Request object at 0x0146E590>, path_info='/wizard/action') 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 'C:\Documents and Settin...ypy-3.1.2-py2.5-win32.egg\cherrypy
\__init__.pyc'>, cherrypy.response = <cherrypy._ThreadLocalProxy object at 0x00C7C330>, response cherrypy.response.body = [], self = <cherrypy._cprequest.Request object at 0x0146E590>, self.handler = body handler <cherrypy._cpdispatch.LateParamPageHandler object at 0x0146E2D0>
C:\Documents and Settings\Administrator\OpenERP AllInOne\Web\python25\lib\site-packages \cherrypy-3.1.2-py2.5-win32.egg\cherrypy\_cpdispatch.py in __call__(self= __call__ <cherrypy._cpdispatch.LateParamPageHandler object at 0x0146E2D0>) 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 0x0146E2D0>, self.callable = <function action callable at 0x0148B930>, self.args = (), self.kwargs = {'_terp_context': '{}', '_terp_count': '', '_terp_datas': args kwargs "{'context': {'lang': u'en_US', 'client': 'web', ...rt_type': 'pdf', 'model': 'ir.ui.menu', 'id': 64}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_header_footer': '1', '_terp_id': 'False', '_terp_ids': '', '_terp_limit': '', '_terp_model': 'wizard.module.lang.install', ...}
C:\Documents and Settings\Administrator\OpenERP AllInOne\Web\python25\lib\site-packages \openerp_web-5.0.6-py2.5.egg\openerp\controllers\base.py in wrapper(*args=(), wrapper **kw={'_terp_context': '{}', '_terp_count': '', '_terp_datas': "{'context': {'lang': u'en_US', 'client': 'web', ...rt_type': 'pdf', 'model': 'ir.ui.menu', 'id': 64}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_header_footer': '1', '_terp_id': 'False', '_terp_ids': '', '_terp_limit': '', '_terp_model': 'wizard.module.lang.install', ...}) 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 Wizard.action of <openerp.controllers.wizard.Wizard object at 0x00B90EB0>>, args = (), kw = {'_terp_context': '{}', '_terp_count': '', '_terp_datas': "{'context': {'lang': u'en_US', 'client': 'web', ...rt_type': 'pdf', 'model': 'ir.ui.menu', 'id': 64}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_header_footer': '1', '_terp_id': 'False', '_terp_ids': '', '_terp_limit': '', '_terp_model': 'wizard.module.lang.install', ...}
C:\Documents and Settings\Administrator\OpenERP AllInOne\Web\python25\lib\site-packages \openerp_web-5.0.6-py2.5.egg\openerp\tools\expose.py in func_wrapper func_wrapper(*args= (<openerp.controllers.wizard.Wizard object at 0x00B90EB0>,), **kw={'_terp_context': '{}', '_terp_count': '', '_terp_datas': "{'context': {'lang': u'en_US', 'client': 'web', ...rt_type': 'pdf', 'model': 'ir.ui.menu', 'id': 64}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_header_footer': '1', '_terp_id': 'False', '_terp_ids': '', '_terp_limit': '', '_terp_model': 'wizard.module.lang.install', ...}) 202 def func_wrapper(*args, **kw):
203
1 4
2009-11-18 23:06
http://localhost:8080/wizard/action
204 205 206
res = func(*args, **kw)
if format == 'json' or (allow_json and 'allow_json' in cherrypy.request.params):
global res = r'C:\Documents and Settings\Administrator\OpenERP ....egg\openerp\widgets_search\templates
\search.mako', func = <function action at 0x0125C670>, args = (<openerp.controllers.wizard.Wizard object at 0x00B90EB0>,), kw = {'_terp_context': '{}', '_terp_count': '', '_terp_datas': "{'context': {'lang': u'en_US', 'client': 'web', ...rt_type': 'pdf', 'model': 'ir.ui.menu', 'id': 64}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_header_footer': '1', '_terp_id': 'False', '_terp_ids': '', '_terp_limit': '', '_terp_model': 'wizard.module.lang.install', ...}
C:\Documents and Settings\Administrator\OpenERP AllInOne\Web\python25\lib\site-packages \openerp_web-5.0.6-py2.5.egg\openerp\tools\utils.py in func_wrapper func_wrapper(*args= [<openerp.controllers.wizard.Wizard object at 0x00B90EB0>], **kw={'_terp_context': '{}', '_terp_count': '', '_terp_datas': "{'context': {'lang': u'en_US', 'client': 'web', ...rt_type': 'pdf', 'model': 'ir.ui.menu', 'id': 64}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_header_footer': '1', '_terp_id': 'False', '_terp_ids': '', '_terp_limit': '', '_terp_model': 'wizard.module.lang.install', ...})
146 147 args, kw = from_kw(func, args, kw) 148 return func(*args, **kw) 149 150 return decorated(func_wrapper, func) func = <function action at 0x0125C630>, args = [<openerp.controllers.wizard.Wizard object at 0x00B90EB0>], kw = {'_terp_context': '{}', '_terp_count': '', '_terp_datas': "{'context': {'lang': u'en_US', 'client': 'web', ...rt_type': 'pdf', 'model': 'ir.ui.menu', 'id': 64}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_header_footer': '1', '_terp_id': 'False', '_terp_ids': '', '_terp_limit': '', '_terp_model': 'wizard.module.lang.install', ...}
C:\Documents and Settings\Administrator\OpenERP AllInOne\Web\python25\lib\site-packages \openerp_web-5.0.6-py2.5.egg\openerp\tools\utils.py in func_wrapper(*args= func_wrapper (<openerp.controllers.wizard.Wizard object at 0x00B90EB0>,), **kw={'_terp_context': '{}', '_terp_count': '', '_terp_datas': "{'context': {'lang': u'en_US', 'client': 'web', ...rt_type': 'pdf', 'model': 'ir.ui.menu', 'id': 64}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_header_footer': '1', '_terp_id': 'False', '_terp_ids': '', '_terp_limit': '', '_terp_model': 'wizard.module.lang.install', ...}) 163 return handler(*args, **kw)
164 165 return func(*args, **kw) 166 167 return decorated(func_wrapper, func) func = <function action at 0x0125C5B0>, args = (<openerp.controllers.wizard.Wizard object at 0x00B90EB0>,), kw = {'_terp_context': '{}', '_terp_count': '', '_terp_datas': "{'context': {'lang': u'en_US', 'client': 'web', ...rt_type': 'pdf', 'model': 'ir.ui.menu', 'id': 64}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_header_footer': '1', '_terp_id': 'False', '_terp_ids': '', '_terp_limit': '', '_terp_model': 'wizard.module.lang.install', ...}
C:\Documents and Settings\Administrator\OpenERP AllInOne\Web\python25\lib\site-packages \openerp_web-5.0.6-py2.5.egg\openerp\controllers\wizard.py in action(self= action <openerp.controllers.wizard.Wizard object at 0x00B90EB0>, tg_errors=None, tg_exceptions=None, **kw={'_terp_context': '{}', '_terp_count': '', '_terp_datas': "{'context': {'lang': u'en_US', 'client': 'web', ...rt_type': 'pdf', 'model': 'ir.ui.menu', 'id': 64}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_header_footer': '1', '_terp_id': 'False', '_terp_ids': '', '_terp_limit': '', '_terp_model': 'wizard.module.lang.install', ...}) 245 params.datas['form'].update(datas)
246 247 return self.create(params, tg_errors=tg_errors) 248 249 # vim: ts=4 sts=4 sw=4 si et self = <openerp.controllers.wizard.Wizard object at 0x00B90EB0>, self.create = <function create at create 0x01560430>, params = {'_terp_view_type': 'form', '_terp_offset': '', ...e2': 'init', '_terp_name': 'module.lang.install'}, tg_errors = None
C:\Documents and Settings\Administrator\OpenERP AllInOne\Web\python25\lib\site-packages \openerp_web-5.0.6-py2.5.egg\openerp\controllers\base.py in wrapper wrapper(*args= ({'_terp_view_type': 'form', '_terp_offset': '', ...e2': 'init', '_terp_name':
2 4
2009-11-18 23:06
http://localhost:8080/wizard/action
'module.lang.install'},), **kw={'tg_errors': None}) 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 Wizard.create of <openerp.controllers.wizard.Wizard object at 0x00B90EB0>>, args = ({'_terp_view_type': 'form', '_terp_offset': '', ...e2': 'init', '_terp_name': 'module.lang.install'},), kw = {'tg_errors': None}
C:\Documents and Settings\Administrator\OpenERP AllInOne\Web\python25\lib\site-packages \openerp_web-5.0.6-py2.5.egg\openerp\tools\expose.py in func_wrapper(*args= func_wrapper (<openerp.controllers.wizard.Wizard object at 0x00B90EB0>, {'_terp_view_type': 'form', '_terp_offset': '', ...e2': 'init', '_terp_name': 'module.lang.install'}), **kw={'tg_errors': None}) 202 def func_wrapper(*args, **kw):
203 204 205 206
res = func(*args, **kw)
if format == 'json' or (allow_json and 'allow_json' in cherrypy.request.params):
global res = r'C:\Documents and Settings\Administrator\OpenERP ....egg\openerp\widgets_search\templates
\search.mako', func = <function create at 0x0125C230>, args = (<openerp.controllers.wizard.Wizard object at 0x00B90EB0>, {'_terp_view_type': 'form', '_terp_offset': '', ...e2': 'init', '_terp_name': 'module.lang.install'}), kw = {'tg_errors': None}
C:\Documents and Settings\Administrator\OpenERP AllInOne\Web\python25\lib\site-packages \openerp_web-5.0.6-py2.5.egg\openerp\controllers\wizard.py in create create(self= <openerp.controllers.wizard.Wizard object at 0x00B90EB0>, params={'_terp_view_type': 'form', '_terp_offset': '', ...e2': 'init', '_terp_name': 'module.lang.install'}, tg_errors=None) 164 return dict(form=form, buttons=buttons)
165 166 return self.execute(params) 167 168 @expose() self = <openerp.controllers.wizard.Wizard object at 0x00B90EB0>, self.execute = <bound method execute Wizard.execute of <openerp.controllers.wizard.Wizard object at 0x00B90EB0>>, params = {'_terp_view_type': 'form', '_terp_offset': '', ...e2': 'init', '_terp_name': 'module.lang.install'}
C:\Documents and Settings\Administrator\OpenERP AllInOne\Web\python25\lib\site-packages \openerp_web-5.0.6-py2.5.egg\openerp\controllers\wizard.py in execute execute(self= <openerp.controllers.wizard.Wizard object at 0x00B90EB0>, params={'_terp_view_type': 'form', '_terp_offset': '', ...e2': 'init', '_terp_name': 'module.lang.install'}) 83 ctx.update(params.context or {})
84 85 res = rpc.session.execute('wizard', 'execute', wiz_id, datas, state, ctx) 86 87 if 'datas' in res: res undefined, global rpc = <module 'openerp.rpc' from 'C:\Documents and Set...ges\openerp_web-5.0.6py2.5.egg\openerp\rpc.pyc'>, rpc.session = <openerp.rpc.RPCSession object at 0x00B9A210>, session rpc.session.execute = <bound method RPCSession.execute of <openerp.rpc.RPCSession object at 0x00B9A210>>, execute wiz_id = 3, datas = {'context': {'client': 'web', 'lang': u'en_US', 'tz': False}, 'form': {'lang': 'zh_CN'}, 'id': 64, 'ids': [64], 'model': 'ir.ui.menu', 'report_type': 'pdf'}, state = 'start', ctx = {'client': 'web', 'lang': u'en_US', 'tz': False}
C:\Documents and Settings\Administrator\OpenERP AllInOne\Web\python25\lib\site-packages \openerp_web-5.0.6-py2.5.egg\openerp\rpc.py in execute(self=<openerp.rpc.RPCSession execute object at 0x00B9A210>, obj='wizard', method='execute', *args=(3, {'context': {'client': 'web', 'lang': u'en_US', 'tz': False}, 'form': {'lang': 'zh_CN'}, 'id': 64, 'ids': [64], 'model': 'ir.ui.menu', 'report_type': 'pdf'}, 'start', {'client': 'web', 'lang': u'en_US', 'tz': False})) 348 raise common.warning(_('Not logged...'), _('Authorization Error!'))
349 350 351
return self.gateway.execute(obj, method, *args)
3 4
2009-11-18 23:06
http://localhost:8080/wizard/action
352 def execute_noauth(self, obj, method, *args): self = <openerp.rpc.RPCSession object at 0x00B9A210>, self.gateway = <openerp.rpc.NETRPCGateway object at gateway 0x00BA34F0>, self.gateway.execute = <bound method NETRPCGateway.execute of <openerp.rpc.NETRPCGateway execute object at 0x00BA34F0>>, obj = 'wizard', method = 'execute', args = (3, {'context': {'client': 'web', 'lang': u'en_US', 'tz': False}, 'form': {'lang': 'zh_CN'}, 'id': 64, 'ids': [64], 'model': 'ir.ui.menu', 'report_type': 'pdf'}, 'start', {'client': 'web', 'lang': u'en_US', 'tz': False})
C:\Documents and Settings\Administrator\OpenERP AllInOne\Web\python25\lib\site-packages \openerp_web-5.0.6-py2.5.egg\openerp\rpc.py in execute execute(self=<openerp.rpc.NETRPCGateway object at 0x00BA34F0>, obj='wizard', method='execute', *args=(3, {'context': {'client': 'web', 'lang': u'en_US', 'tz': False}, 'form': {'lang': 'zh_CN'}, 'id': 64, 'ids': [64], 'model': 'ir.ui.menu', 'report_type': 'pdf'}, 'start', {'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 0x00BA34F0>, self.__execute undefined, obj = 'wizard', method = 'execute', args = (3, {'context': {'client': 'web', 'lang': u'en_US', 'tz': False}, 'form': {'lang': 'zh_CN'}, 'id': 64, 'ids': [64], 'model': 'ir.ui.menu', 'report_type': 'pdf'}, 'start', {'client': 'web', 'lang': u'en_US', 'tz': False})
C:\Documents and Settings\Administrator\OpenERP AllInOne\Web\python25\lib\site-packages \openerp_web-5.0.6-py2.5.egg\openerp\rpc.py in __execute(self=<openerp.rpc.NETRPCGateway __execute object at 0x00BA34F0>, obj='wizard', method='execute', args=(3, {'context': {'client': 'web', 'lang': u'en_US', 'tz': False}, 'form': {'lang': 'zh_CN'}, 'id': 64, 'ids': [64], 'model': 'ir.ui.menu', 'report_type': 'pdf'}, 'start', {'client': 'web', 'lang': u'en_US', 'tz': False}), auth=True) 128 return self.__convert(result)
129 130 131 132
except socket.error, (e1, e2): raise common.message(_('Connection refused!'))
global socket = <module 'socket' from 'C:\Documents and Settings...or\OpenERP AllInOne\Web\python25 \lib\socket.pyc'>, socket.error = <class 'socket.error'>, e1 undefined, e2 undefined error
'exceptions.ValueError'>: <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'
4 4
2009-11-18 23:06