c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #34207
[Bug 869918] [NEW] [PS] impossible to install portal_training
Public bug reported:
I'm using revno 2399 of lp:~openobject-training/openobject-addons/training .
I'm using latest 6.0 server, addons and web client.
# dropdb krtr
# createdb krtr
# ./server/bin/openerp-server.py --addons-path=./addons/,./custom/training,./custom/extra -d krtr -i training
...
[2011-10-07 12:09:08,325][krtr] INFO:init:module training_exam: loading demo/training_exam_demo.xml
[2011-10-07 12:09:09,559][krtr] ERROR:tools.convert.xml_import:Parse error in /home/julien/work/openerp/src/krauthammer/custom/training/training_exam/demo/training_exam_demo.xml:176:
<workflow action="signal_confirm" model="training.subscription.line" ref="training_subscription_line_subl3"/>
Traceback (most recent call last):
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/tools/convert.py", line 865, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/tools/convert.py", line 547, in _tag_workflow
str(rec.get('action','')), cr)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/workflow/wkf_service.py", line 80, in trg_validate
res2 = instance.validate(cr, id, ident, signal)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/workflow/instance.py", line 48, in validate
workitem.process(cr, witem, ident, signal, force_running, stack=stack)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/workflow/workitem.py", line 61, in process
ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/workflow/workitem.py", line 174, in _split_test
_join_test(cr, t[0], t[1], ident, stack)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/workflow/workitem.py", line 182, in _join_test
create(cr,[activity], inst_id, ident, stack)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/workflow/workitem.py", line 41, in create
process(cr, res, ident, stack=stack)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/workflow/workitem.py", line 53, in process
result = _execute(cr, workitem, activity, ident, stack)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/workflow/workitem.py", line 107, in _execute
wkf_expr.execute(cr, ident, workitem, activity)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/workflow/wkf_expr.py", line 68, in execute
return _eval_expr(cr, ident, workitem, activity['action'])
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/workflow/wkf_expr.py", line 58, in _eval_expr
ret = eval(line, env, nocopy=True)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/tools/safe_eval.py", line 284, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/osv/orm.py", line 181, in <lambda>
return lambda *args, **argv: attr(self._cr, self._uid, [self._id], *args, **argv)
File "/home/julien/work/openerp/src/krauthammer/custom/training/training/training.py", line 3439, in action_workflow_send_confirm_emails
sl.session_id._create_participation(sl, context=context)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/osv/orm.py", line 181, in <lambda>
return lambda *args, **argv: attr(self._cr, self._uid, [self._id], *args, **argv)
File "/home/julien/work/openerp/src/krauthammer/custom/training/training/training.py", line 1800, in _create_participation
participation_id = proxy_seance._create_participation(cr, uid, seance, subscription_line, context=context)
File "/home/julien/work/openerp/src/krauthammer/custom/training/training_exam/training_exam.py", line 101, in _create_participation
participation = super(training_seance, self)._create_participation(cr, uid, seance, subscription_line, context)
File "/home/julien/work/openerp/src/krauthammer/custom/training/training/training.py", line 2716, in _create_participation
return proxy.create(cr, uid, values, context=context)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/osv/orm.py", line 3698, in create
self.pool.get(object)._store_set_values(cr, user, ids, fields2, context)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/osv/orm.py", line 3818, in _store_set_values
result = self._columns[f].get(cr, self, ids, f, 1, context=context)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/osv/fields.py", line 800, in get
res = self._fnct(obj, cr, user, ids, name, self._arg, context)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/osv/fields.py", line 929, in _fnct_read
res[r] = (res[r], ng[res[r]])
KeyError: 8
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/869918
Title:
[PS] impossible to install portal_training
Status in OpenERP Addons (modules):
New
Bug description:
I'm using revno 2399 of lp:~openobject-training/openobject-addons/training .
I'm using latest 6.0 server, addons and web client.
# dropdb krtr
# createdb krtr
# ./server/bin/openerp-server.py --addons-path=./addons/,./custom/training,./custom/extra -d krtr -i training
...
[2011-10-07 12:09:08,325][krtr] INFO:init:module training_exam: loading demo/training_exam_demo.xml
[2011-10-07 12:09:09,559][krtr] ERROR:tools.convert.xml_import:Parse error in /home/julien/work/openerp/src/krauthammer/custom/training/training_exam/demo/training_exam_demo.xml:176:
<workflow action="signal_confirm" model="training.subscription.line" ref="training_subscription_line_subl3"/>
Traceback (most recent call last):
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/tools/convert.py", line 865, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/tools/convert.py", line 547, in _tag_workflow
str(rec.get('action','')), cr)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/workflow/wkf_service.py", line 80, in trg_validate
res2 = instance.validate(cr, id, ident, signal)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/workflow/instance.py", line 48, in validate
workitem.process(cr, witem, ident, signal, force_running, stack=stack)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/workflow/workitem.py", line 61, in process
ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/workflow/workitem.py", line 174, in _split_test
_join_test(cr, t[0], t[1], ident, stack)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/workflow/workitem.py", line 182, in _join_test
create(cr,[activity], inst_id, ident, stack)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/workflow/workitem.py", line 41, in create
process(cr, res, ident, stack=stack)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/workflow/workitem.py", line 53, in process
result = _execute(cr, workitem, activity, ident, stack)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/workflow/workitem.py", line 107, in _execute
wkf_expr.execute(cr, ident, workitem, activity)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/workflow/wkf_expr.py", line 68, in execute
return _eval_expr(cr, ident, workitem, activity['action'])
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/workflow/wkf_expr.py", line 58, in _eval_expr
ret = eval(line, env, nocopy=True)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/tools/safe_eval.py", line 284, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/osv/orm.py", line 181, in <lambda>
return lambda *args, **argv: attr(self._cr, self._uid, [self._id], *args, **argv)
File "/home/julien/work/openerp/src/krauthammer/custom/training/training/training.py", line 3439, in action_workflow_send_confirm_emails
sl.session_id._create_participation(sl, context=context)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/osv/orm.py", line 181, in <lambda>
return lambda *args, **argv: attr(self._cr, self._uid, [self._id], *args, **argv)
File "/home/julien/work/openerp/src/krauthammer/custom/training/training/training.py", line 1800, in _create_participation
participation_id = proxy_seance._create_participation(cr, uid, seance, subscription_line, context=context)
File "/home/julien/work/openerp/src/krauthammer/custom/training/training_exam/training_exam.py", line 101, in _create_participation
participation = super(training_seance, self)._create_participation(cr, uid, seance, subscription_line, context)
File "/home/julien/work/openerp/src/krauthammer/custom/training/training/training.py", line 2716, in _create_participation
return proxy.create(cr, uid, values, context=context)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/osv/orm.py", line 3698, in create
self.pool.get(object)._store_set_values(cr, user, ids, fields2, context)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/osv/orm.py", line 3818, in _store_set_values
result = self._columns[f].get(cr, self, ids, f, 1, context=context)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/osv/fields.py", line 800, in get
res = self._fnct(obj, cr, user, ids, name, self._arg, context)
File "/home/julien/work/openerp/src/openobject-server/6.0/bin/osv/fields.py", line 929, in _fnct_read
res[r] = (res[r], ng[res[r]])
KeyError: 8
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/869918/+subscriptions
Follow ups
References