[Erp5-users] "AttributeError" after adding a Graphic, Presentation, Spreadsheet and Text in Documents module

Sadegh Ismael Nattaj me at sin.ir
Sat Oct 7 09:13:24 CEST 2006


Traceback (innermost last):
  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 117, in view
  Module Products.CMFCore.PortalContent, line 109, in __call__
  Module Products.ERP5Form.Form, line 362, in __call__
  Module Products.ERP5Form.Form, line 380, in __call__
  Module Products.PageTemplates.PageTemplate, line 96, in pt_render
   - <ZopePageTemplate at /erp5/form_view used for /erp5/OOoDocument_view>
  Module TAL.TALInterpreter, line 190, in __call__
  Module TAL.TALInterpreter, line 234, in interpret
  Module TAL.TALInterpreter, line 650, in do_defineMacro
  Module TAL.TALInterpreter, line 234, in interpret
  Module TAL.TALInterpreter, line 409, in do_optTag_tal
  Module TAL.TALInterpreter, line 394, in do_optTag
  Module TAL.TALInterpreter, line 389, in no_tag
  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 409, in do_optTag_tal
  Module TAL.TALInterpreter, line 394, in do_optTag
  Module TAL.TALInterpreter, line 389, in no_tag
  Module TAL.TALInterpreter, line 234, in interpret
  Module TAL.TALInterpreter, line 409, in do_optTag_tal
  Module TAL.TALInterpreter, line 394, in do_optTag
  Module TAL.TALInterpreter, line 389, in no_tag
  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 409, in do_optTag_tal
  Module TAL.TALInterpreter, line 394, in do_optTag
  Module TAL.TALInterpreter, line 389, in no_tag
  Module TAL.TALInterpreter, line 234, in interpret
  Module TAL.TALInterpreter, line 409, in do_optTag_tal
  Module TAL.TALInterpreter, line 394, in do_optTag
  Module TAL.TALInterpreter, line 389, in no_tag
  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 409, in do_optTag_tal
  Module TAL.TALInterpreter, line 394, in do_optTag
  Module TAL.TALInterpreter, line 389, in no_tag
  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 409, in do_optTag_tal
  Module TAL.TALInterpreter, line 394, in do_optTag
  Module TAL.TALInterpreter, line 389, in no_tag
  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: /erp5/global_definitions
   - Line 2, Column 2
   - Expression: <PythonExpr here.getPortalObject().portal_actions.listFilteredActionsFor(here)>
   - Names:
      {'container': None,
       'context': <OOoDocument at /erp5/document_module/10>,
       'default': <Products.PageTemplates.TALES.Default instance at 0xb6cf2eec>,
       'form': <ERP5Form at /erp5/OOoDocument_view used for /erp5/document_module/10>,
       'here': <OOoDocument at /erp5/document_module/10>,
       'loop': <SafeMapping instance at b73d9c0>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb6cf254c>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <SafeMapping instance at b73d9c0>,
       'request': <HTTPRequest, URL=http://172.27.5.3/erp5/document_module/10/view>,
       'root': <Application instance at b3fd2560>,
       'template': <ERP5Form at /erp5/OOoDocument_view used for /erp5/document_module/10>}
  Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
   - __traceback_info__: here.getPortalObject().portal_actions.listFilteredActionsFor(here)
  Module Python expression "here.getPortalObject().portal_actions.listFilteredActionsFor(here)", line 1, in <expression>
  Module Products.CMFCore.ActionsTool, line 156, in listFilteredActionsFor
  Module Products.CMFCore.ActionProviderBase, line 107, in listActionInfos
  Module Products.CMFCore.ActionInformation, line 87, in __getitem__
  Module Products.CMFCore.ActionInformation, line 116, in _checkCondition
  Module Products.CMFCore.ActionInformation, line 236, in testCondition
  Module Products.CMFCore.Expression, line 44, in __call__
  Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
   - __traceback_info__: object.hasOOfile()
  Module Python expression "object.hasOOfile()", line 1, in <expression>
AttributeError: hasOOfile




More information about the Erp5-users mailing list