← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 662896] [NEW] opcode not allowed

 

Public bug reported:

WHen installing the sales module in OpenERP 5.0 trunk I get this error:


ss.csv
[2010-10-18 21:50:25,546][bktest5] INFO:init:module purchase: loading purchase_workflow.xml
[2010-10-18 21:50:25,653][bktest5] INFO:init:module purchase: loading purchase_sequence.xml
[2010-10-18 21:50:25,665][bktest5] INFO:init:module purchase: loading purchase_data.xml
[2010-10-18 21:50:25,726][bktest5] INFO:init:module purchase: loading purchase_view.xml
[2010-10-18 21:50:25,883][bktest5] INFO:init:module purchase: loading purchase_report.xml
[2010-10-18 21:50:25,903][bktest5] INFO:init:module purchase: loading purchase_wizard.xml
[2010-10-18 21:50:25,914][bktest5] INFO:init:module purchase: loading stock_view.xml
[2010-10-18 21:50:25,965][bktest5] INFO:init:module purchase: loading partner_view.xml
[2010-10-18 21:50:25,982][bktest5] INFO:init:module purchase: loading process/purchase_process.xml
[2010-10-18 21:50:26,157][bktest5] INFO:init:module purchase: loading purchase_demo.xml
[2010-10-18 21:50:26,162][bktest5] INFO:init:module purchase: loading test/purchase_test.xml
bzr: ERROR: Not a branch: "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/".
[2010-10-18 21:50:26,815][bktest5] ERROR:init:[01]: 
[2010-10-18 21:50:26,816][bktest5] ERROR:init:[02]: Environment Information : 
[2010-10-18 21:50:26,816][bktest5] ERROR:init:[03]: System : Linux-2.6.36-rc4-16-desktop-x86_64-with-SuSE-11.4-x86_64
[2010-10-18 21:50:26,816][bktest5] ERROR:init:[04]: OS Name : posix
[2010-10-18 21:50:26,816][bktest5] ERROR:init:[05]: Distributor ID:     SUSE LINUX
[2010-10-18 21:50:26,817][bktest5] ERROR:init:[06]: Description:        openSUSE 11.4 Milestone 2 of 6 (x86_64)
[2010-10-18 21:50:26,817][bktest5] ERROR:init:[07]: Release:    11.4
[2010-10-18 21:50:26,817][bktest5] ERROR:init:[08]: Codename:   Celadon
[2010-10-18 21:50:26,817][bktest5] ERROR:init:[09]: Operating System Release : 2.6.36-rc4-16-desktop
[2010-10-18 21:50:26,817][bktest5] ERROR:init:[10]: Operating System Version : #1 SMP PREEMPT 2010-09-16 20:58:38 +0200
[2010-10-18 21:50:26,817][bktest5] ERROR:init:[11]: Operating System Architecture : 64bit
[2010-10-18 21:50:26,818][bktest5] ERROR:init:[12]: Operating System Locale : en_US.UTF8
[2010-10-18 21:50:26,818][bktest5] ERROR:init:[13]: Python Version : 2.7.0
[2010-10-18 21:50:26,818][bktest5] ERROR:init:[14]: OpenERP-Server Version : 5.0.14
[2010-10-18 21:50:26,818][bktest5] ERROR:init:[15]: Last revision No. & ID : 
[2010-10-18 21:50:26,818][bktest5] ERROR:init:[16]: <workflow model="purchase.order" ref="smoke_test_purchase_1" action="purchase_approve" uid="base.user_root"/>
bzr: ERROR: Not a branch: "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/".
[2010-10-18 21:50:27,127][bktest5] ERROR:web-services:[01]: 
[2010-10-18 21:50:27,127][bktest5] ERROR:web-services:[02]: Environment Information : 
[2010-10-18 21:50:27,127][bktest5] ERROR:web-services:[03]: System : Linux-2.6.36-rc4-16-desktop-x86_64-with-SuSE-11.4-x86_64
[2010-10-18 21:50:27,127][bktest5] ERROR:web-services:[04]: OS Name : posix
[2010-10-18 21:50:27,128][bktest5] ERROR:web-services:[05]: Distributor ID:     SUSE LINUX
[2010-10-18 21:50:27,128][bktest5] ERROR:web-services:[06]: Description:        openSUSE 11.4 Milestone 2 of 6 (x86_64)
[2010-10-18 21:50:27,128][bktest5] ERROR:web-services:[07]: Release:    11.4
[2010-10-18 21:50:27,129][bktest5] ERROR:web-services:[08]: Codename:   Celadon
[2010-10-18 21:50:27,129][bktest5] ERROR:web-services:[09]: Operating System Release : 2.6.36-rc4-16-desktop
[2010-10-18 21:50:27,129][bktest5] ERROR:web-services:[10]: Operating System Version : #1 SMP PREEMPT 2010-09-16 20:58:38 +0200
[2010-10-18 21:50:27,129][bktest5] ERROR:web-services:[11]: Operating System Architecture : 64bit
[2010-10-18 21:50:27,129][bktest5] ERROR:web-services:[12]: Operating System Locale : en_US.UTF8
[2010-10-18 21:50:27,130][bktest5] ERROR:web-services:[13]: Python Version : 2.7.0
[2010-10-18 21:50:27,130][bktest5] ERROR:web-services:[14]: OpenERP-Server Version : 5.0.14
[2010-10-18 21:50:27,130][bktest5] ERROR:web-services:[15]: Last revision No. & ID : 
[2010-10-18 21:50:27,130][bktest5] ERROR:web-services:[16]: Exception in call: Traceback (most recent call last):
[2010-10-18 21:50:27,130][bktest5] ERROR:web-services:[17]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/wizard/__init__.py", line 73, in execute_cr
[2010-10-18 21:50:27,131][bktest5] ERROR:web-services:[18]:     action_res = action(self, cr, uid, data, context)
[2010-10-18 21:50:27,131][bktest5] ERROR:web-services:[19]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/addons/base/module/wizard/wizard_module_upgrade.py", line 92, in _upgrade_module
[2010-10-18 21:50:27,131][bktest5] ERROR:web-services:[20]:     db, pool = pooler.restart_pool(cr.dbname, update_module=True)
[2010-10-18 21:50:27,131][bktest5] ERROR:web-services:[21]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/pooler.py", line 61, in restart_pool
[2010-10-18 21:50:27,131][bktest5] ERROR:web-services:[22]:     return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
[2010-10-18 21:50:27,132][bktest5] ERROR:web-services:[23]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/pooler.py", line 40, in get_db_and_pool
[2010-10-18 21:50:27,132][bktest5] ERROR:web-services:[24]:     addons.load_modules(db, force_demo, status, update_module)
[2010-10-18 21:50:27,132][bktest5] ERROR:web-services:[25]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/addons/__init__.py", line 736, in load_modules
[2010-10-18 21:50:27,132][bktest5] ERROR:web-services:[26]:     r = load_module_graph(cr, graph, status, report=report)
[2010-10-18 21:50:27,132][bktest5] ERROR:web-services:[27]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/addons/__init__.py", line 637, in load_module_graph
[2010-10-18 21:50:27,133][bktest5] ERROR:web-services:[28]:     tools.convert_xml_import(cr, m, fp, idref, mode=mode, noupdate=True, **kwargs)
[2010-10-18 21:50:27,133][bktest5] ERROR:web-services:[29]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/tools/convert.py", line 877, in convert_xml_import
[2010-10-18 21:50:27,133][bktest5] ERROR:web-services:[30]:     obj.parse(doc.getroot())
[2010-10-18 21:50:27,134][bktest5] ERROR:web-services:[31]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/tools/convert.py", line 774, in parse
[2010-10-18 21:50:27,134][bktest5] ERROR:web-services:[32]:     self._tags[rec.tag](self.cr, rec, n)
[2010-10-18 21:50:27,134][bktest5] ERROR:web-services:[33]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/tools/convert.py", line 477, in _tag_workflow
[2010-10-18 21:50:27,134][bktest5] ERROR:web-services:[34]:     str(rec.get('action','')), cr)
[2010-10-18 21:50:27,134][bktest5] ERROR:web-services:[35]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/wkf_service.py", line 81, in trg_validate
[2010-10-18 21:50:27,135][bktest5] ERROR:web-services:[36]:     res2 = instance.validate(cr, id, ident, signal)
[2010-10-18 21:50:27,135][bktest5] ERROR:web-services:[37]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/instance.py", line 50, in validate
[2010-10-18 21:50:27,135][bktest5] ERROR:web-services:[38]:     workitem.process(cr, witem, ident, signal, force_running, stack=stack)
[2010-10-18 21:50:27,135][bktest5] ERROR:web-services:[39]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 62, in process
[2010-10-18 21:50:27,136][bktest5] ERROR:web-services:[40]:     ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
[2010-10-18 21:50:27,136][bktest5] ERROR:web-services:[41]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 175, in _split_test
[2010-10-18 21:50:27,136][bktest5] ERROR:web-services:[42]:     _join_test(cr, t[0], t[1], ident, stack)
[2010-10-18 21:50:27,136][bktest5] ERROR:web-services:[43]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 183, in _join_test
[2010-10-18 21:50:27,137][bktest5] ERROR:web-services:[44]:     create(cr,[activity], inst_id, ident, stack)
[2010-10-18 21:50:27,137][bktest5] ERROR:web-services:[45]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 42, in create
[2010-10-18 21:50:27,137][bktest5] ERROR:web-services:[46]:     process(cr, res, ident, stack=stack)
[2010-10-18 21:50:27,137][bktest5] ERROR:web-services:[47]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 62, in process
[2010-10-18 21:50:27,137][bktest5] ERROR:web-services:[48]:     ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
[2010-10-18 21:50:27,138][bktest5] ERROR:web-services:[49]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 175, in _split_test
[2010-10-18 21:50:27,138][bktest5] ERROR:web-services:[50]:     _join_test(cr, t[0], t[1], ident, stack)
[2010-10-18 21:50:27,138][bktest5] ERROR:web-services:[51]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 183, in _join_test
[2010-10-18 21:50:27,138][bktest5] ERROR:web-services:[52]:     create(cr,[activity], inst_id, ident, stack)
[2010-10-18 21:50:27,138][bktest5] ERROR:web-services:[53]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 42, in create
[2010-10-18 21:50:27,139][bktest5] ERROR:web-services:[54]:     process(cr, res, ident, stack=stack)
[2010-10-18 21:50:27,139][bktest5] ERROR:web-services:[55]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 54, in process
[2010-10-18 21:50:27,139][bktest5] ERROR:web-services:[56]:     result = _execute(cr, workitem, activity, ident, stack)
[2010-10-18 21:50:27,139][bktest5] ERROR:web-services:[57]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 127, in _execute
[2010-10-18 21:50:27,140][bktest5] ERROR:web-services:[58]:     id_new = wkf_expr.execute(cr, ident, workitem, activity)
[2010-10-18 21:50:27,140][bktest5] ERROR:web-services:[59]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/wkf_expr.py", line 69, in execute
[2010-10-18 21:50:27,140][bktest5] ERROR:web-services:[60]:     return _eval_expr(cr, ident, workitem, activity['action'])
[2010-10-18 21:50:27,140][bktest5] ERROR:web-services:[61]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/wkf_expr.py", line 59, in _eval_expr
[2010-10-18 21:50:27,140][bktest5] ERROR:web-services:[62]:     ret = eval(line, env, nocopy=True)
[2010-10-18 21:50:27,141][bktest5] ERROR:web-services:[63]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/tools/safe_eval.py", line 271, in safe_eval
[2010-10-18 21:50:27,141][bktest5] ERROR:web-services:[64]:     return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
[2010-10-18 21:50:27,141][bktest5] ERROR:web-services:[65]:   File "", line 1, in <module>
[2010-10-18 21:50:27,141][bktest5] ERROR:web-services:[66]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/osv/orm.py", line 168, in <lambda>
[2010-10-18 21:50:27,142][bktest5] ERROR:web-services:[67]:     return lambda *args, **argv: getattr(self._table, name)(self._cr, self._uid, [self._id], *args, **argv)
[2010-10-18 21:50:27,142][bktest5] ERROR:web-services:[68]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/addons/purchase/purchase.py", line 432, in action_picking_create
[2010-10-18 21:50:27,142][bktest5] ERROR:web-services:[69]:     wf_service.trg_validate(uid, 'stock.picking', picking_id, 'button_confirm', cr)
[2010-10-18 21:50:27,142][bktest5] ERROR:web-services:[70]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/wkf_service.py", line 81, in trg_validate
[2010-10-18 21:50:27,142][bktest5] ERROR:web-services:[71]:     res2 = instance.validate(cr, id, ident, signal)
[2010-10-18 21:50:27,143][bktest5] ERROR:web-services:[72]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/instance.py", line 50, in validate
[2010-10-18 21:50:27,143][bktest5] ERROR:web-services:[73]:     workitem.process(cr, witem, ident, signal, force_running, stack=stack)
[2010-10-18 21:50:27,143][bktest5] ERROR:web-services:[74]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 62, in process
[2010-10-18 21:50:27,143][bktest5] ERROR:web-services:[75]:     ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
[2010-10-18 21:50:27,144][bktest5] ERROR:web-services:[76]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 175, in _split_test
[2010-10-18 21:50:27,144][bktest5] ERROR:web-services:[77]:     _join_test(cr, t[0], t[1], ident, stack)
[2010-10-18 21:50:27,144][bktest5] ERROR:web-services:[78]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 183, in _join_test
[2010-10-18 21:50:27,144][bktest5] ERROR:web-services:[79]:     create(cr,[activity], inst_id, ident, stack)
[2010-10-18 21:50:27,145][bktest5] ERROR:web-services:[80]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 42, in create
[2010-10-18 21:50:27,145][bktest5] ERROR:web-services:[81]:     process(cr, res, ident, stack=stack)
[2010-10-18 21:50:27,145][bktest5] ERROR:web-services:[82]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 62, in process
[2010-10-18 21:50:27,145][bktest5] ERROR:web-services:[83]:     ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
[2010-10-18 21:50:27,145][bktest5] ERROR:web-services:[84]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 175, in _split_test
[2010-10-18 21:50:27,146][bktest5] ERROR:web-services:[85]:     _join_test(cr, t[0], t[1], ident, stack)
[2010-10-18 21:50:27,146][bktest5] ERROR:web-services:[86]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 183, in _join_test
[2010-10-18 21:50:27,146][bktest5] ERROR:web-services:[87]:     create(cr,[activity], inst_id, ident, stack)
[2010-10-18 21:50:27,146][bktest5] ERROR:web-services:[88]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 42, in create
[2010-10-18 21:50:27,146][bktest5] ERROR:web-services:[89]:     process(cr, res, ident, stack=stack)
[2010-10-18 21:50:27,147][bktest5] ERROR:web-services:[90]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 62, in process
[2010-10-18 21:50:27,147][bktest5] ERROR:web-services:[91]:     ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
[2010-10-18 21:50:27,147][bktest5] ERROR:web-services:[92]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 157, in _split_test
[2010-10-18 21:50:27,147][bktest5] ERROR:web-services:[93]:     if wkf_expr.check(cr, workitem, ident, transition,signal):
[2010-10-18 21:50:27,148][bktest5] ERROR:web-services:[94]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/wkf_expr.py", line 81, in check
[2010-10-18 21:50:27,148][bktest5] ERROR:web-services:[95]:     ok = ok and _eval_expr(cr, ident, workitem, transition['condition'])
[2010-10-18 21:50:27,148][bktest5] ERROR:web-services:[96]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/wkf_expr.py", line 59, in _eval_expr
[2010-10-18 21:50:27,148][bktest5] ERROR:web-services:[97]:     ret = eval(line, env, nocopy=True)
[2010-10-18 21:50:27,148][bktest5] ERROR:web-services:[98]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/tools/safe_eval.py", line 271, in safe_eval
[2010-10-18 21:50:27,149][bktest5] ERROR:web-services:[99]:     return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
[2010-10-18 21:50:27,149][bktest5] ERROR:web-services:[100]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/tools/safe_eval.py", line 105, in test_expr
[2010-10-18 21:50:27,149][bktest5] ERROR:web-services:[101]:     raise ValueError("opcode %s not allowed (%r)" % (opname[code], expr))
[2010-10-18 21:50:27,149][bktest5] ERROR:web-services:[102]: ValueError: opcode JUMP_IF_FALSE_OR_POP not allowed (u'auto_picking and test_auto_picking()')
> /home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/tools/safe_eval.py(105)test_expr()
-> raise ValueError("opcode %s not allowed (%r)" % (opname[code], expr))

What can cause this? The database is quite empty, I can try to send it
to you if you wish.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
opcode not allowed
https://bugs.launchpad.net/bugs/662896
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.

Status in OpenObject Addons Modules: New

Bug description:
WHen installing the sales module in OpenERP 5.0 trunk I get this error:


ss.csv
[2010-10-18 21:50:25,546][bktest5] INFO:init:module purchase: loading purchase_workflow.xml
[2010-10-18 21:50:25,653][bktest5] INFO:init:module purchase: loading purchase_sequence.xml
[2010-10-18 21:50:25,665][bktest5] INFO:init:module purchase: loading purchase_data.xml
[2010-10-18 21:50:25,726][bktest5] INFO:init:module purchase: loading purchase_view.xml
[2010-10-18 21:50:25,883][bktest5] INFO:init:module purchase: loading purchase_report.xml
[2010-10-18 21:50:25,903][bktest5] INFO:init:module purchase: loading purchase_wizard.xml
[2010-10-18 21:50:25,914][bktest5] INFO:init:module purchase: loading stock_view.xml
[2010-10-18 21:50:25,965][bktest5] INFO:init:module purchase: loading partner_view.xml
[2010-10-18 21:50:25,982][bktest5] INFO:init:module purchase: loading process/purchase_process.xml
[2010-10-18 21:50:26,157][bktest5] INFO:init:module purchase: loading purchase_demo.xml
[2010-10-18 21:50:26,162][bktest5] INFO:init:module purchase: loading test/purchase_test.xml
bzr: ERROR: Not a branch: "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/".
[2010-10-18 21:50:26,815][bktest5] ERROR:init:[01]: 
[2010-10-18 21:50:26,816][bktest5] ERROR:init:[02]: Environment Information : 
[2010-10-18 21:50:26,816][bktest5] ERROR:init:[03]: System : Linux-2.6.36-rc4-16-desktop-x86_64-with-SuSE-11.4-x86_64
[2010-10-18 21:50:26,816][bktest5] ERROR:init:[04]: OS Name : posix
[2010-10-18 21:50:26,816][bktest5] ERROR:init:[05]: Distributor ID:     SUSE LINUX
[2010-10-18 21:50:26,817][bktest5] ERROR:init:[06]: Description:        openSUSE 11.4 Milestone 2 of 6 (x86_64)
[2010-10-18 21:50:26,817][bktest5] ERROR:init:[07]: Release:    11.4
[2010-10-18 21:50:26,817][bktest5] ERROR:init:[08]: Codename:   Celadon
[2010-10-18 21:50:26,817][bktest5] ERROR:init:[09]: Operating System Release : 2.6.36-rc4-16-desktop
[2010-10-18 21:50:26,817][bktest5] ERROR:init:[10]: Operating System Version : #1 SMP PREEMPT 2010-09-16 20:58:38 +0200
[2010-10-18 21:50:26,817][bktest5] ERROR:init:[11]: Operating System Architecture : 64bit
[2010-10-18 21:50:26,818][bktest5] ERROR:init:[12]: Operating System Locale : en_US.UTF8
[2010-10-18 21:50:26,818][bktest5] ERROR:init:[13]: Python Version : 2.7.0
[2010-10-18 21:50:26,818][bktest5] ERROR:init:[14]: OpenERP-Server Version : 5.0.14
[2010-10-18 21:50:26,818][bktest5] ERROR:init:[15]: Last revision No. & ID : 
[2010-10-18 21:50:26,818][bktest5] ERROR:init:[16]: <workflow model="purchase.order" ref="smoke_test_purchase_1" action="purchase_approve" uid="base.user_root"/>
bzr: ERROR: Not a branch: "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/".
[2010-10-18 21:50:27,127][bktest5] ERROR:web-services:[01]: 
[2010-10-18 21:50:27,127][bktest5] ERROR:web-services:[02]: Environment Information : 
[2010-10-18 21:50:27,127][bktest5] ERROR:web-services:[03]: System : Linux-2.6.36-rc4-16-desktop-x86_64-with-SuSE-11.4-x86_64
[2010-10-18 21:50:27,127][bktest5] ERROR:web-services:[04]: OS Name : posix
[2010-10-18 21:50:27,128][bktest5] ERROR:web-services:[05]: Distributor ID:     SUSE LINUX
[2010-10-18 21:50:27,128][bktest5] ERROR:web-services:[06]: Description:        openSUSE 11.4 Milestone 2 of 6 (x86_64)
[2010-10-18 21:50:27,128][bktest5] ERROR:web-services:[07]: Release:    11.4
[2010-10-18 21:50:27,129][bktest5] ERROR:web-services:[08]: Codename:   Celadon
[2010-10-18 21:50:27,129][bktest5] ERROR:web-services:[09]: Operating System Release : 2.6.36-rc4-16-desktop
[2010-10-18 21:50:27,129][bktest5] ERROR:web-services:[10]: Operating System Version : #1 SMP PREEMPT 2010-09-16 20:58:38 +0200
[2010-10-18 21:50:27,129][bktest5] ERROR:web-services:[11]: Operating System Architecture : 64bit
[2010-10-18 21:50:27,129][bktest5] ERROR:web-services:[12]: Operating System Locale : en_US.UTF8
[2010-10-18 21:50:27,130][bktest5] ERROR:web-services:[13]: Python Version : 2.7.0
[2010-10-18 21:50:27,130][bktest5] ERROR:web-services:[14]: OpenERP-Server Version : 5.0.14
[2010-10-18 21:50:27,130][bktest5] ERROR:web-services:[15]: Last revision No. & ID : 
[2010-10-18 21:50:27,130][bktest5] ERROR:web-services:[16]: Exception in call: Traceback (most recent call last):
[2010-10-18 21:50:27,130][bktest5] ERROR:web-services:[17]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/wizard/__init__.py", line 73, in execute_cr
[2010-10-18 21:50:27,131][bktest5] ERROR:web-services:[18]:     action_res = action(self, cr, uid, data, context)
[2010-10-18 21:50:27,131][bktest5] ERROR:web-services:[19]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/addons/base/module/wizard/wizard_module_upgrade.py", line 92, in _upgrade_module
[2010-10-18 21:50:27,131][bktest5] ERROR:web-services:[20]:     db, pool = pooler.restart_pool(cr.dbname, update_module=True)
[2010-10-18 21:50:27,131][bktest5] ERROR:web-services:[21]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/pooler.py", line 61, in restart_pool
[2010-10-18 21:50:27,131][bktest5] ERROR:web-services:[22]:     return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
[2010-10-18 21:50:27,132][bktest5] ERROR:web-services:[23]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/pooler.py", line 40, in get_db_and_pool
[2010-10-18 21:50:27,132][bktest5] ERROR:web-services:[24]:     addons.load_modules(db, force_demo, status, update_module)
[2010-10-18 21:50:27,132][bktest5] ERROR:web-services:[25]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/addons/__init__.py", line 736, in load_modules
[2010-10-18 21:50:27,132][bktest5] ERROR:web-services:[26]:     r = load_module_graph(cr, graph, status, report=report)
[2010-10-18 21:50:27,132][bktest5] ERROR:web-services:[27]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/addons/__init__.py", line 637, in load_module_graph
[2010-10-18 21:50:27,133][bktest5] ERROR:web-services:[28]:     tools.convert_xml_import(cr, m, fp, idref, mode=mode, noupdate=True, **kwargs)
[2010-10-18 21:50:27,133][bktest5] ERROR:web-services:[29]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/tools/convert.py", line 877, in convert_xml_import
[2010-10-18 21:50:27,133][bktest5] ERROR:web-services:[30]:     obj.parse(doc.getroot())
[2010-10-18 21:50:27,134][bktest5] ERROR:web-services:[31]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/tools/convert.py", line 774, in parse
[2010-10-18 21:50:27,134][bktest5] ERROR:web-services:[32]:     self._tags[rec.tag](self.cr, rec, n)
[2010-10-18 21:50:27,134][bktest5] ERROR:web-services:[33]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/tools/convert.py", line 477, in _tag_workflow
[2010-10-18 21:50:27,134][bktest5] ERROR:web-services:[34]:     str(rec.get('action','')), cr)
[2010-10-18 21:50:27,134][bktest5] ERROR:web-services:[35]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/wkf_service.py", line 81, in trg_validate
[2010-10-18 21:50:27,135][bktest5] ERROR:web-services:[36]:     res2 = instance.validate(cr, id, ident, signal)
[2010-10-18 21:50:27,135][bktest5] ERROR:web-services:[37]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/instance.py", line 50, in validate
[2010-10-18 21:50:27,135][bktest5] ERROR:web-services:[38]:     workitem.process(cr, witem, ident, signal, force_running, stack=stack)
[2010-10-18 21:50:27,135][bktest5] ERROR:web-services:[39]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 62, in process
[2010-10-18 21:50:27,136][bktest5] ERROR:web-services:[40]:     ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
[2010-10-18 21:50:27,136][bktest5] ERROR:web-services:[41]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 175, in _split_test
[2010-10-18 21:50:27,136][bktest5] ERROR:web-services:[42]:     _join_test(cr, t[0], t[1], ident, stack)
[2010-10-18 21:50:27,136][bktest5] ERROR:web-services:[43]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 183, in _join_test
[2010-10-18 21:50:27,137][bktest5] ERROR:web-services:[44]:     create(cr,[activity], inst_id, ident, stack)
[2010-10-18 21:50:27,137][bktest5] ERROR:web-services:[45]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 42, in create
[2010-10-18 21:50:27,137][bktest5] ERROR:web-services:[46]:     process(cr, res, ident, stack=stack)
[2010-10-18 21:50:27,137][bktest5] ERROR:web-services:[47]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 62, in process
[2010-10-18 21:50:27,137][bktest5] ERROR:web-services:[48]:     ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
[2010-10-18 21:50:27,138][bktest5] ERROR:web-services:[49]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 175, in _split_test
[2010-10-18 21:50:27,138][bktest5] ERROR:web-services:[50]:     _join_test(cr, t[0], t[1], ident, stack)
[2010-10-18 21:50:27,138][bktest5] ERROR:web-services:[51]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 183, in _join_test
[2010-10-18 21:50:27,138][bktest5] ERROR:web-services:[52]:     create(cr,[activity], inst_id, ident, stack)
[2010-10-18 21:50:27,138][bktest5] ERROR:web-services:[53]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 42, in create
[2010-10-18 21:50:27,139][bktest5] ERROR:web-services:[54]:     process(cr, res, ident, stack=stack)
[2010-10-18 21:50:27,139][bktest5] ERROR:web-services:[55]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 54, in process
[2010-10-18 21:50:27,139][bktest5] ERROR:web-services:[56]:     result = _execute(cr, workitem, activity, ident, stack)
[2010-10-18 21:50:27,139][bktest5] ERROR:web-services:[57]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 127, in _execute
[2010-10-18 21:50:27,140][bktest5] ERROR:web-services:[58]:     id_new = wkf_expr.execute(cr, ident, workitem, activity)
[2010-10-18 21:50:27,140][bktest5] ERROR:web-services:[59]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/wkf_expr.py", line 69, in execute
[2010-10-18 21:50:27,140][bktest5] ERROR:web-services:[60]:     return _eval_expr(cr, ident, workitem, activity['action'])
[2010-10-18 21:50:27,140][bktest5] ERROR:web-services:[61]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/wkf_expr.py", line 59, in _eval_expr
[2010-10-18 21:50:27,140][bktest5] ERROR:web-services:[62]:     ret = eval(line, env, nocopy=True)
[2010-10-18 21:50:27,141][bktest5] ERROR:web-services:[63]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/tools/safe_eval.py", line 271, in safe_eval
[2010-10-18 21:50:27,141][bktest5] ERROR:web-services:[64]:     return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
[2010-10-18 21:50:27,141][bktest5] ERROR:web-services:[65]:   File "", line 1, in <module>
[2010-10-18 21:50:27,141][bktest5] ERROR:web-services:[66]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/osv/orm.py", line 168, in <lambda>
[2010-10-18 21:50:27,142][bktest5] ERROR:web-services:[67]:     return lambda *args, **argv: getattr(self._table, name)(self._cr, self._uid, [self._id], *args, **argv)
[2010-10-18 21:50:27,142][bktest5] ERROR:web-services:[68]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/addons/purchase/purchase.py", line 432, in action_picking_create
[2010-10-18 21:50:27,142][bktest5] ERROR:web-services:[69]:     wf_service.trg_validate(uid, 'stock.picking', picking_id, 'button_confirm', cr)
[2010-10-18 21:50:27,142][bktest5] ERROR:web-services:[70]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/wkf_service.py", line 81, in trg_validate
[2010-10-18 21:50:27,142][bktest5] ERROR:web-services:[71]:     res2 = instance.validate(cr, id, ident, signal)
[2010-10-18 21:50:27,143][bktest5] ERROR:web-services:[72]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/instance.py", line 50, in validate
[2010-10-18 21:50:27,143][bktest5] ERROR:web-services:[73]:     workitem.process(cr, witem, ident, signal, force_running, stack=stack)
[2010-10-18 21:50:27,143][bktest5] ERROR:web-services:[74]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 62, in process
[2010-10-18 21:50:27,143][bktest5] ERROR:web-services:[75]:     ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
[2010-10-18 21:50:27,144][bktest5] ERROR:web-services:[76]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 175, in _split_test
[2010-10-18 21:50:27,144][bktest5] ERROR:web-services:[77]:     _join_test(cr, t[0], t[1], ident, stack)
[2010-10-18 21:50:27,144][bktest5] ERROR:web-services:[78]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 183, in _join_test
[2010-10-18 21:50:27,144][bktest5] ERROR:web-services:[79]:     create(cr,[activity], inst_id, ident, stack)
[2010-10-18 21:50:27,145][bktest5] ERROR:web-services:[80]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 42, in create
[2010-10-18 21:50:27,145][bktest5] ERROR:web-services:[81]:     process(cr, res, ident, stack=stack)
[2010-10-18 21:50:27,145][bktest5] ERROR:web-services:[82]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 62, in process
[2010-10-18 21:50:27,145][bktest5] ERROR:web-services:[83]:     ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
[2010-10-18 21:50:27,145][bktest5] ERROR:web-services:[84]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 175, in _split_test
[2010-10-18 21:50:27,146][bktest5] ERROR:web-services:[85]:     _join_test(cr, t[0], t[1], ident, stack)
[2010-10-18 21:50:27,146][bktest5] ERROR:web-services:[86]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 183, in _join_test
[2010-10-18 21:50:27,146][bktest5] ERROR:web-services:[87]:     create(cr,[activity], inst_id, ident, stack)
[2010-10-18 21:50:27,146][bktest5] ERROR:web-services:[88]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 42, in create
[2010-10-18 21:50:27,146][bktest5] ERROR:web-services:[89]:     process(cr, res, ident, stack=stack)
[2010-10-18 21:50:27,147][bktest5] ERROR:web-services:[90]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 62, in process
[2010-10-18 21:50:27,147][bktest5] ERROR:web-services:[91]:     ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
[2010-10-18 21:50:27,147][bktest5] ERROR:web-services:[92]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/workitem.py", line 157, in _split_test
[2010-10-18 21:50:27,147][bktest5] ERROR:web-services:[93]:     if wkf_expr.check(cr, workitem, ident, transition,signal):
[2010-10-18 21:50:27,148][bktest5] ERROR:web-services:[94]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/wkf_expr.py", line 81, in check
[2010-10-18 21:50:27,148][bktest5] ERROR:web-services:[95]:     ok = ok and _eval_expr(cr, ident, workitem, transition['condition'])
[2010-10-18 21:50:27,148][bktest5] ERROR:web-services:[96]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/workflow/wkf_expr.py", line 59, in _eval_expr
[2010-10-18 21:50:27,148][bktest5] ERROR:web-services:[97]:     ret = eval(line, env, nocopy=True)
[2010-10-18 21:50:27,148][bktest5] ERROR:web-services:[98]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/tools/safe_eval.py", line 271, in safe_eval
[2010-10-18 21:50:27,149][bktest5] ERROR:web-services:[99]:     return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
[2010-10-18 21:50:27,149][bktest5] ERROR:web-services:[100]:   File "/home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/tools/safe_eval.py", line 105, in test_expr
[2010-10-18 21:50:27,149][bktest5] ERROR:web-services:[101]:     raise ValueError("opcode %s not allowed (%r)" % (opname[code], expr))
[2010-10-18 21:50:27,149][bktest5] ERROR:web-services:[102]: ValueError: opcode JUMP_IF_FALSE_OR_POP not allowed (u'auto_picking and test_auto_picking()')
> /home/tbri/iterate/trunk5/openerp/lib/python2.7/site-packages/openerp-server/tools/safe_eval.py(105)test_expr()
-> raise ValueError("opcode %s not allowed (%r)" % (opname[code], expr))

What can cause this? The database is quite empty, I can try to send it to you if you wish.





Follow ups

References