Ticket #4324 (closed Bug: fixed)

Opened 7 years ago

Last modified 3 years ago

Error : Folder contents not accessiable.

Reported by: Anonymous User Owned by:
Priority: minor Milestone: 2.1
Component: Templates/CSS Version:
Severity: Keywords:
Cc:

Description

Not able to access contents of folders Error details : 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 Shared.DC.Scripts.Bindings, line 306, in call Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec Module Products.CMFCore.FSPageTemplate, line 177, in _exec Module Products.CMFCore.FSPageTemplate, line 123, in pt_render Module Products.PageTemplates.PageTemplate, line 96, in pt_render

  • <FSPageTemplate at /2272005/folder_contents used for /2272005/news>

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 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 702, in do_defineSlot 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 650, in do_defineMacro Module TAL.TALInterpreter, line 234, in interpret Module TAL.TALInterpreter, line 694, in do_defineSlot 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 407, in do_optTag_tal Module TAL.TALInterpreter, line 389, in no_tag Module TAL.TALInterpreter, line 234, in interpret Module TAL.TALInterpreter, line 484, in do_insertText_tal Module Products.PageTemplates.TALES, line 227, in evaluateText Module Products.PageTemplates.TALES, line 221, in evaluate

  • Line 35, Column 10
  • Expression: <PythonExpr here.utranslate(view_title) or here.title_or_id()>
  • Names:

{'container': <PloneSite instance at 14a6230>,

'context': <ATBTreeFolder instance at 693eb30>, 'default': <Products.PageTemplates.TALES.Default instance at 0x100fecc>, 'here': <ATBTreeFolder instance at 693eb30>, 'loop': <SafeMapping instance at 111d710>, 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x1005eec>, 'nothing': None, 'options': {'args': ()}, 'repeat': <SafeMapping instance at 111d710>, 'request': <HTTPRequest, URL= http://192.168.1.88:9921/2272005/news/folder_contents>, 'root': <Application instance at 3226230>, 'template': <FSPageTemplate at /2272005/folder_contents used for /2272005/news>, 'traverse_subpath': [], 'user': harshad}

Module Products.PageTemplates.ZRPythonExpr, line 47, in call

  • traceback_info: here.utranslate(view_title) or here.title_or_id()

Module Python expression "here.utranslate(view_title) or here.title_or_id()", line 1, in <expression> Module Products.CMFCore.FSPythonScript, line 104, in call Module Shared.DC.Scripts.Bindings, line 306, in call Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec Module Products.CMFCore.FSPythonScript, line 160, in _exec Module None, line 10, in utranslate

  • <FSPythonScript at /2272005/utranslate used for /2272005/news>
  • Line 10

Module Products.CMFPlone.TranslationServiceTool, line 56, in utranslate Module Products.CMFPlone.utils, line 55, in utranslate Module Products.PageTemplates.GlobalTranslationService, line 31, in translate

TypeError: expected string or buffer

Change History

comment:1 Changed 7 years ago by optilude

Sounds like a translation problem - some string being i18n'd that isn't really a string, maybe?

comment:2 Changed 7 years ago by alecm

  • Status changed from new to closed
  • Resolution set to fixed

I believe this is resolved in the latest svn. Please retest and report back if possible.

comment:3 Changed 3 years ago by hannosch

  • Component changed from Accessibility to Templates/CSS
Note: See TracTickets for help on using tickets.