[Erp5-dev] can not view accounting transactions

Bartek Gorny bartek at redpoint.mn.pl
Mon Jan 9 17:57:58 CET 2006


LiveCD, everything just checked out from CVS, new ERP5Site - when I
try to view an accounting transaction, I get:

	
Site Error

An error was encountered while publishing this resource.

KeyError
Sorry, a site error occurred.

Traceback (innermost last):

    * Module ZPublisher.Publish, line 175, in publish_module_standard
    * Module Products.Localizer, line 58, in new_publish
    * Module ZPublisher.Publish, line 132, in publish
    * Module Zope.App.startup, line 204, in zpublisher_exception_hook
    * Module ZPublisher.Publish, line 101, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 39, in call_object
    * Module Products.CMFCore.PortalContent, line 125, in view
    * Module Products.CMFCore.PortalContent, line 116, in __call__
    * Module Products.ERP5Form.Form, line 341, in __call__
    * Module Products.ERP5Form.Form, line 357, in __call__
    * Module Products.PageTemplates.PageTemplate, line 96, in pt_render
      <ZopePageTemplate at /erp5trzy/form_view used for
/erp5trzy/SaleInvoiceTransaction_viewAccounting>
    * Module TAL.TALInterpreter, line 190, in __call__
    * Module TAL.TALInterpreter, line 234, in interpret
    * Module TAL.TALInterpreter, line 671, in do_useMacro
    * Module TAL.TALInterpreter, line 234, in interpret
    * Module TAL.TALInterpreter, line 671, in do_useMacro
    * Module TAL.TALInterpreter, line 234, in interpret
    * Module TAL.TALInterpreter, line 464, in do_setGlobal_tal
    * Module Products.PageTemplates.TALES, line 221, in evaluate
      URL: /erp5trzy/global_definition
      Line 72, Column 4
      Expression: <PythonExpr here.portal_actions.listFilteredActionsFor(here)>
      Names:

{'container': <Folder at /erp5trzy/accounting_module>,
 'context': <Invoice at /erp5trzy/accounting_module/1>,
 'default': <Products.PageTemplates.TALES.Default instance at 0x40c72eec>,
 'form': <ERP5Form at /erp5trzy/SaleInvoiceTransaction_viewAccounting
used for /erp5trzy/accounting_module/1>,
 'here': <Invoice at /erp5trzy/accounting_module/1>,
 'loop': <SafeMapping instance at 4ff02790>,
 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x40c7eeac>,
 'nothing': None,
 'options': {'args': ()},
 'repeat': <SafeMapping instance at 4ff02790>,
 'request': <HTTPRequest,
URL=http://localhost/erp5trzy/accounting_module/1/view>,
 'root': <Application instance at 53a2e2f0>,
 'template': <ERP5Form at
/erp5trzy/SaleInvoiceTransaction_viewAccounting used for
/erp5trzy/accounting_module/1>}

    * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
      __traceback_info__: here.portal_actions.listFilteredActionsFor(here)
    * Module Python expression
"here.portal_actions.listFilteredActionsFor(here)", line 1, in
<expression>
    * Module Products.CMFCore.ActionsTool, line 184, in listFilteredActionsFor
    * Module Products.CMFCore.ActionsTool, line 253, in _listActions
    * Module Products.CMFCore.ActionInformation, line 90, in testCondition
    * Module Products.CMFCore.Expression, line 44, in __call__
    * Module Products.PageTemplates.Expressions, line 172, in __call__
    * Module Products.PageTemplates.Expressions, line 167, in _eval
    * Module Products.PageTemplates.Expressions, line 66, in render
    * Module Products.PageTemplates.ZRPythonExpr, line 65, in call_with_ns

KeyError: 'here' (Also, an error occurred while attempting to render
the standard error message.)

Troubleshooting Suggestions

    * The URL may be incorrect.
    * The parameters passed to this resource may be incorrect.
    * A resource that this resource relies on may be encountering an error.

For more detailed information about the error, please refer to error log.

If the error persists please contact the site maintainer. Thank you
for your patience.



More information about the Erp5-dev mailing list