[Erp5-dev] KeyError: 'origin' on erp5_trade business template

y.pauthier at free.fr y.pauthier at free.fr
Tue Apr 12 13:37:16 CEST 2005


hi all,

I installed the erp5_trade business template from the link defined below (from
business template section on the www.erp5.org) :

http://openbrick.org/cgi-bin/viewcvs.cgi/*checkout*/erp5_bt5/erp5_trade.bt5?rev=HEAD&content-type=text/plain

When I complete the installation using the "Validate Workflow Action" button, it
seems to failed with the error message "KeyError: 'origin'"

The stacktrace is :

Module ZPublisher.Publish, line 101, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 39, in call_object
Module Shared.DC.Scripts.Bindings, line 306, in __call__
Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
Module Products.PythonScripts.PythonScript, line 323, in _exec
Module None, line 14, in Base_callViewDialogMethod
<PythonScript at /erp5/Base_callViewDialogMethod used for
/erp5/portal_templates/erp5_trade_latest_id>
Line 14
Module Shared.DC.Scripts.Bindings, line 306, in __call__
Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
Module Products.PythonScripts.PythonScript, line 323, in _exec
Module None, line 19, in Workflow_statusModify
<PythonScript at /erp5/Workflow_statusModify used for
/erp5/portal_templates/erp5_trade_latest_id>
Line 19
Module AccessControl.ZopeGuards, line 354, in guarded_apply
Module AccessControl.ZopeGuards, line 376, in builtin_guarded_apply
Module Products.CMFCore.WorkflowTool, line 306, in doActionFor
Module Products.CMFCore.WorkflowTool, line 621, in _invokeWithNotification
Module Products.DCWorkflow.DCWorkflow, line 275, in doActionFor
Module Products.DCWorkflow.DCWorkflow, line 440, in _changeStateOf
Module Products.ERP5Type.ZopePatch, line 629, in _executeTransition
Module Products.CMFCore.WorkflowCore, line 91, in __call__
Module Products.ERP5Type.ZopePatch, line 870, in wrapWorkflowMethod
Module Products.CMFCore.WorkflowTool, line 621, in _invokeWithNotification
Module Products.DCWorkflow.DCWorkflow, line 312, in wrapWorkflowMethod
Module Products.ERP5Type.Document.BusinessTemplate, line 1195, in install
Module Products.ERP5Type.Document.BusinessTemplate, line 113, in install
Module OFS.Traversable, line 185, in unrestrictedTraverse
__traceback_info__: ([], 'origin')
Module OFS.ObjectManager, line 663, in __getitem__
KeyError: 'origin'

and my erp5 instance come from ERP5 LiveCD 1.0 rc2

thank

Yannick Pauthier



More information about the Erp5-dev mailing list