0% found this document useful (0 votes)
5 views4 pages

OpenERP Server CherryPy Error Log

The document is a Python error traceback showing the sequence of function calls that led to a ValueError. It appears the error occurred when trying to access the action method of a wizard object, passing in parameters including the wizard name, view type, and context. The traceback shows the call chain through various OpenERP controller and utility functions before the error occurred in the Wizard object's create method.

Uploaded by

Zubia Naz
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views4 pages

OpenERP Server CherryPy Error Log

The document is a Python error traceback showing the sequence of function calls that led to a ValueError. It appears the error occurred when trying to access the action method of a wizard object, passing in parameters including the wizard name, view type, and context. The traceback shows the call chain through various OpenERP controller and utility functions before the error occurred in the Wizard object's create method.

Uploaded by

Zubia Naz
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

[Link]

<type '[Link]'>

Python 2.5.4: C:\Documents and Settings\Administrator \OpenERP AllInOne\Web\python25\[Link] 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 \[Link]\cherrypy\_cprequest.py in respond(self= respond <cherrypy._cprequest.Request object at 0x0146E590>, path_info='/wizard/action') 604 if [Link]: 605 [Link] = 'handler' 606 [Link] = [Link]()
607 608

[Link] = 'before_finalize'

global cherrypy = <module 'cherrypy' from 'C:\Documents and Settin...[Link]\cherrypy


\__init__.pyc'>, [Link] = <cherrypy._ThreadLocalProxy object at 0x00C7C330>, response [Link] = [], self = <cherrypy._cprequest.Request object at 0x0146E590>, [Link] = body handler <cherrypy._cpdispatch.LateParamPageHandler object at 0x0146E2D0>

C:\Documents and Settings\Administrator\OpenERP AllInOne\Web\python25\lib\site-packages \[Link]\cherrypy\_cpdispatch.py in __call__(self= __call__ <cherrypy._cpdispatch.LateParamPageHandler object at 0x0146E2D0>) 23 def __call__(self): 24 try: 25 return [Link](*[Link], **[Link]) 26 except TypeError, x: 27 test_callable_spec([Link], [Link], [Link])
self = <cherrypy._cpdispatch.LateParamPageHandler object at 0x0146E2D0>, [Link] = <function action callable at 0x0148B930>, [Link] = (), [Link] = {'_terp_context': '{}', '_terp_count': '', '_terp_datas': args kwargs "{'context': {'lang': u'en_US', 'client': 'web', ...rt_type': 'pdf', 'model': '[Link]', 'id': 64}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_header_footer': '1', '_terp_id': 'False', '_terp_ids': '', '_terp_limit': '', '_terp_model': '[Link]', ...}

C:\Documents and Settings\Administrator\OpenERP AllInOne\Web\python25\lib\site-packages \openerp_web-[Link]\openerp\controllers\[Link] in wrapper(*args=(), wrapper **kw={'_terp_context': '{}', '_terp_count': '', '_terp_datas': "{'context': {'lang': u'en_US', 'client': 'web', ...rt_type': 'pdf', 'model': '[Link]', 'id': 64}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_header_footer': '1', '_terp_id': 'False', '_terp_ids': '', '_terp_limit': '', '_terp_model': '[Link]', ...}) 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 [Link] of <[Link] object at 0x00B90EB0>>, args = (), kw = {'_terp_context': '{}', '_terp_count': '', '_terp_datas': "{'context': {'lang': u'en_US', 'client': 'web', ...rt_type': 'pdf', 'model': '[Link]', 'id': 64}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_header_footer': '1', '_terp_id': 'False', '_terp_ids': '', '_terp_limit': '', '_terp_model': '[Link]', ...}

C:\Documents and Settings\Administrator\OpenERP AllInOne\Web\python25\lib\site-packages \openerp_web-[Link]\openerp\tools\[Link] in func_wrapper func_wrapper(*args= (<[Link] object at 0x00B90EB0>,), **kw={'_terp_context': '{}', '_terp_count': '', '_terp_datas': "{'context': {'lang': u'en_US', 'client': 'web', ...rt_type': 'pdf', 'model': '[Link]', 'id': 64}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_header_footer': '1', '_terp_id': 'False', '_terp_ids': '', '_terp_limit': '', '_terp_model': '[Link]', ...}) 202 def func_wrapper(*args, **kw):
203

1 4

2009-11-18 23:06

[Link]

204 205 206

res = func(*args, **kw)

if format == 'json' or (allow_json and 'allow_json' in [Link]):

global res = r'C:\Documents and Settings\Administrator\OpenERP ....egg\openerp\widgets_search\templates


\[Link]', func = <function action at 0x0125C670>, args = (<[Link] object at 0x00B90EB0>,), kw = {'_terp_context': '{}', '_terp_count': '', '_terp_datas': "{'context': {'lang': u'en_US', 'client': 'web', ...rt_type': 'pdf', 'model': '[Link]', 'id': 64}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_header_footer': '1', '_terp_id': 'False', '_terp_ids': '', '_terp_limit': '', '_terp_model': '[Link]', ...}

C:\Documents and Settings\Administrator\OpenERP AllInOne\Web\python25\lib\site-packages \openerp_web-[Link]\openerp\tools\[Link] in func_wrapper func_wrapper(*args= [<[Link] object at 0x00B90EB0>], **kw={'_terp_context': '{}', '_terp_count': '', '_terp_datas': "{'context': {'lang': u'en_US', 'client': 'web', ...rt_type': 'pdf', 'model': '[Link]', 'id': 64}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_header_footer': '1', '_terp_id': 'False', '_terp_ids': '', '_terp_limit': '', '_terp_model': '[Link]', ...})
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 = [<[Link] object at 0x00B90EB0>], kw = {'_terp_context': '{}', '_terp_count': '', '_terp_datas': "{'context': {'lang': u'en_US', 'client': 'web', ...rt_type': 'pdf', 'model': '[Link]', 'id': 64}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_header_footer': '1', '_terp_id': 'False', '_terp_ids': '', '_terp_limit': '', '_terp_model': '[Link]', ...}

C:\Documents and Settings\Administrator\OpenERP AllInOne\Web\python25\lib\site-packages \openerp_web-[Link]\openerp\tools\[Link] in func_wrapper(*args= func_wrapper (<[Link] object at 0x00B90EB0>,), **kw={'_terp_context': '{}', '_terp_count': '', '_terp_datas': "{'context': {'lang': u'en_US', 'client': 'web', ...rt_type': 'pdf', 'model': '[Link]', 'id': 64}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_header_footer': '1', '_terp_id': 'False', '_terp_ids': '', '_terp_limit': '', '_terp_model': '[Link]', ...}) 163 return handler(*args, **kw)
164 165 return func(*args, **kw) 166 167 return decorated(func_wrapper, func) func = <function action at 0x0125C5B0>, args = (<[Link] object at 0x00B90EB0>,), kw = {'_terp_context': '{}', '_terp_count': '', '_terp_datas': "{'context': {'lang': u'en_US', 'client': 'web', ...rt_type': 'pdf', 'model': '[Link]', 'id': 64}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_header_footer': '1', '_terp_id': 'False', '_terp_ids': '', '_terp_limit': '', '_terp_model': '[Link]', ...}

C:\Documents and Settings\Administrator\OpenERP AllInOne\Web\python25\lib\site-packages \openerp_web-[Link]\openerp\controllers\[Link] in action(self= action <[Link] 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': '[Link]', 'id': 64}", '_terp_domain': '[]', '_terp_editable': 'True', '_terp_header_footer': '1', '_terp_id': 'False', '_terp_ids': '', '_terp_limit': '', '_terp_model': '[Link]', ...}) 245 [Link]['form'].update(datas)
246 247 return [Link](params, tg_errors=tg_errors) 248 249 # vim: ts=4 sts=4 sw=4 si et self = <[Link] object at 0x00B90EB0>, [Link] = <function create at create 0x01560430>, params = {'_terp_view_type': 'form', '_terp_offset': '', ...e2': 'init', '_terp_name': '[Link]'}, tg_errors = None

C:\Documents and Settings\Administrator\OpenERP AllInOne\Web\python25\lib\site-packages \openerp_web-[Link]\openerp\controllers\[Link] in wrapper wrapper(*args= ({'_terp_view_type': 'form', '_terp_offset': '', ...e2': 'init', '_terp_name':

2 4

2009-11-18 23:06

[Link]

'[Link]'},), **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 [Link] of <[Link] object at 0x00B90EB0>>, args = ({'_terp_view_type': 'form', '_terp_offset': '', ...e2': 'init', '_terp_name': '[Link]'},), kw = {'tg_errors': None}

C:\Documents and Settings\Administrator\OpenERP AllInOne\Web\python25\lib\site-packages \openerp_web-[Link]\openerp\tools\[Link] in func_wrapper(*args= func_wrapper (<[Link] object at 0x00B90EB0>, {'_terp_view_type': 'form', '_terp_offset': '', ...e2': 'init', '_terp_name': '[Link]'}), **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 [Link]):

global res = r'C:\Documents and Settings\Administrator\OpenERP ....egg\openerp\widgets_search\templates


\[Link]', func = <function create at 0x0125C230>, args = (<[Link] object at 0x00B90EB0>, {'_terp_view_type': 'form', '_terp_offset': '', ...e2': 'init', '_terp_name': '[Link]'}), kw = {'tg_errors': None}

C:\Documents and Settings\Administrator\OpenERP AllInOne\Web\python25\lib\site-packages \openerp_web-[Link]\openerp\controllers\[Link] in create create(self= <[Link] object at 0x00B90EB0>, params={'_terp_view_type': 'form', '_terp_offset': '', ...e2': 'init', '_terp_name': '[Link]'}, tg_errors=None) 164 return dict(form=form, buttons=buttons)
165 166 return [Link](params) 167 168 @expose() self = <[Link] object at 0x00B90EB0>, [Link] = <bound method execute [Link] of <[Link] object at 0x00B90EB0>>, params = {'_terp_view_type': 'form', '_terp_offset': '', ...e2': 'init', '_terp_name': '[Link]'}

C:\Documents and Settings\Administrator\OpenERP AllInOne\Web\python25\lib\site-packages \openerp_web-[Link]\openerp\controllers\[Link] in execute execute(self= <[Link] object at 0x00B90EB0>, params={'_terp_view_type': 'form', '_terp_offset': '', ...e2': 'init', '_terp_name': '[Link]'}) 83 [Link]([Link] or {})
84 85 res = [Link]('wizard', 'execute', wiz_id, datas, state, ctx) 86 87 if 'datas' in res: res undefined, global rpc = <module '[Link]' from 'C:\Documents and Set...ges\openerp_web-[Link]\openerp\[Link]'>, [Link] = <[Link] object at 0x00B9A210>, session [Link] = <bound method [Link] of <[Link] 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': '[Link]', '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-[Link]\openerp\[Link] in execute(self=<[Link] 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': '[Link]', 'report_type': 'pdf'}, 'start', {'client': 'web', 'lang': u'en_US', 'tz': False})) 348 raise [Link](_('Not logged...'), _('Authorization Error!'))
349 350 351

return [Link](obj, method, *args)

3 4

2009-11-18 23:06

[Link]

352 def execute_noauth(self, obj, method, *args): self = <[Link] object at 0x00B9A210>, [Link] = <[Link] object at gateway 0x00BA34F0>, [Link] = <bound method [Link] of <[Link] 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': '[Link]', '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-[Link]\openerp\[Link] in execute execute(self=<[Link] 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': '[Link]', '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 = <[Link] 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': '[Link]', '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-[Link]\openerp\[Link] in __execute(self=<[Link] __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': '[Link]', 'report_type': 'pdf'}, 'start', {'client': 'web', 'lang': u'en_US', 'tz': False}), auth=True) 128 return self.__convert(result)
129 130 131 132

except [Link], (e1, e2): raise [Link](_('Connection refused!'))

global socket = <module 'socket' from 'C:\Documents and Settings...or\OpenERP AllInOne\Web\python25 \lib\[Link]'>, [Link] = <class '[Link]'>, e1 undefined, e2 undefined error

'[Link]'>: <type '[Link]'> 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

You might also like