[ZO-Coll] [ZOC] 169/ 4 Resolve "Add ZWiki Web in ZMI gives an error"

Collector: NEW Zope.org (the ... zope-web at zope.org
Fri Sep 12 09:16:18 EDT 2003


Issue #169 Update (Resolve) "Add ZWiki Web in ZMI gives an error"
 Status Resolved, functionality/bug critical
To followup, visit:
  http://collector.zope.org/ZopeOrg/169

==============================================================
= Resolve - Entry #4 by dtremea on Sep 12, 2003 9:16 am

 Status: Pending => Resolved

Added wiki to 'Allowed content types' folder portal_type.
________________________________________
= Edit - Entry #3 by Brian on Sep 9, 2003 9:51 am

 Changes: submitter email, edited transcript, importance (medium => critical)
________________________________________
= Comment - Entry #2 by simon on Aug 13, 2003 2:13 pm

After fixing http://collector.zope.org/ZopeOrg/163 , the traceback is::

 Traceback (innermost last):

    * Module ZPublisher.Publish, line 150, in publish_module
    * Module ZPublisher.Publish, line 114, in publish
    * Module Zope.App.startup, line 199, in zpublisher_exception_hook
    * Module ZPublisher.Publish, line 98, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 39, in call_object
    * Module OFS.DTMLMethod, line 126, in __call__
    * Module DocumentTemplate.DT_String, line 474, in __call__
    * Module Products.CMFCore.FSDTMLMethod, line 115, in __call__
    * Module DocumentTemplate.DT_String, line 474, in __call__
    * Module DocumentTemplate.DT_Util, line 201, in eval
      __traceback_info__: REQUEST
    * Module <string>, line 1, in <expression>
    * Module Shared.DC.Scripts.Bindings, line 252, in __call__
    * Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
    * Module Products.CMFCore.FSPageTemplate, line 169, in _exec
    * Module Products.PageTemplates.ZopePageTemplate, line 228, in _exec
    * Module Products.CMFCore.FSPageTemplate, line 141, in pt_render
    * Module Products.PageTemplates.PageTemplate, line 95, in pt_render
      <FSPageTemplate at /zopeorg/macro_renderer used for /zopeorg/Members/simon/wikiFactory>
    * Module TAL.TALInterpreter, line 200, in __call__
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 703, in do_useMacro
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 682, in do_defineMacro
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 473, in do_setLocal_tal
    * Module Products.PageTemplates.TALES, line 220, in evaluate
      Line 181, Column 8
      Expression: <PythonExpr here.breadcrumbs(here)>
      Names:

{'container': <PloneSite instance at 96c3750>,
 'default': <Products.PageTemplates.TALES.Default instance at 0x87eb4cc>,
 'here': <Factory instance at 1b817930>,
 'loop': <SafeMapping instance at 1c0047b0>,
 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x87cd594>,
 'nothing': None,
 'options': {'args': (),
             'macro': 'portal_header',
             'tabindex': <Products.CMFPlone.PloneUtilities.IndexIterator instance at 0x168b13ac>,
             'template': 'here/header'},
 'repeat': <SafeMapping instance at 1c0047b0>,
 'request': <HTTPRequest, URL=http://zope.org/Members/simon/manage_addProduct/ZWikiMaker/wikiFactory/addZWiki>,
 'root': <Application instance at 9656300>,
 'template': <FSPageTemplate at /zopeorg/macro_renderer used for /zopeorg/Members/simon/wikiFactory>,
 'traverse_subpath': [],
 'user': simon}

    * Module Products.PageTemplates.ZRPythonExpr, line 48, in __call__
      __traceback_info__: here.breadcrumbs(here)
    * Module Python expression "here.breadcrumbs(here)", line 1, in <expression>
    * Module Products.CMFCore.FSPythonScript, line 92, in __call__
    * Module Shared.DC.Scripts.Bindings, line 252, in __call__
    * Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
    * Module Products.CMFCore.FSPythonScript, line 126, in _exec
      __traceback_info__: ({'traverse_subpath': [], 'container': <PloneSite instance at 96c3750>, 'context': <Factory instance at 1b817930>, 'script': <FSPythonScript at /zopeorg/breadcrumbs used for /zopeorg/Members/simon/wikiFactory>}, (<Factory instance at 1b817930>,), {}, (None,))
    * Module Script (Python), line 24, in breadcrumbs
    * Module OFS.Traversable, line 172, in restrictedTraverse
    * Module OFS.Traversable, line 154, in unrestrictedTraverse
      __traceback_info__: ([], 'wikiFactory')
    * Module OFS.ObjectManager, line 652, in __getitem__

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


________________________________________
= Request - Entry #1 by simon on Aug 13, 2003 2:02 pm

Adding a zwiki web in my member folder via ZMI gives the following error (and has a non-standard add form)::

 Traceback (innermost last):

    * Module ZPublisher.Publish, line 150, in publish_module
    * Module ZPublisher.Publish, line 114, in publish
    * Module Zope.App.startup, line 199, in zpublisher_exception_hook
    * Module ZPublisher.Publish, line 98, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 39, in call_object
    * Module OFS.DTMLMethod, line 126, in __call__
    * Module DocumentTemplate.DT_String, line 474, in __call__
    * Module Products.CMFCore.FSDTMLMethod, line 115, in __call__
    * Module DocumentTemplate.DT_String, line 474, in __call__
    * Module DocumentTemplate.DT_Util, line 201, in eval
      __traceback_info__: REQUEST
    * Module <string>, line 1, in <expression>
    * Module AccessControl.DTML, line 32, in guarded_getitem
    * Module AccessControl.ZopeGuards, line 90, in guarded_getitem
    * Module ZPublisher.HTTPRequest, line 1199, in  __getitem__

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


==============================================================




More information about the Zopeorg-collector mailing list