Submitted by : 192.168.1.21 at: 2004-02-27T15:11:08+00:00 (13 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

Zope 2.7.0 and Plone 2.0 I created a new Wiki page yesterday and could view it with no problems. Today when I try to view the Wiki page, i get the error below. Nothing has changed in my Zope/Plone configuration.

Traceback (innermost last):

 Module ZPublisher.Publish, line 100, in publish
 Module ZPublisher.mapply, line 88, in mapply
 Module ZPublisher.Publish, line 40, in call_object
 Module Products.ZWiki.ZWikiPage, line 238, in __call__
 Module Products.ZWiki.CMF, line 123, in __call__
 Module Shared.DC.Scripts.Bindings, line 306, in __call__
 Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
 Module Products.CMFCore.FSPageTemplate, line 191, in _exec
 Module Products.CMFCore.FSPageTemplate, line 124, in pt_render
 Module Products.PageTemplates.PageTemplate, line 96, in pt_render
  - <FSPageTemplate at /plone4artists/wikipage_view used for /plone4artists/development/FrontPage>
 Module TAL.TALInterpreter, line 189, in __call__
 Module TAL.TALInterpreter, line 233, in interpret
 Module TAL.TALInterpreter, line 663, in do_useMacro
 Module TAL.TALInterpreter, line 233, in interpret
 Module TAL.TALInterpreter, line 408, in do_optTag_tal
 Module TAL.TALInterpreter, line 393, in do_optTag
 Module TAL.TALInterpreter, line 388, in no_tag
 Module TAL.TALInterpreter, line 233, in interpret
 Module TAL.TALInterpreter, line 686, in do_defineSlot
 Module TAL.TALInterpreter, line 233, in interpret
 Module TAL.TALInterpreter, line 663, in do_useMacro
 Module TAL.TALInterpreter, line 233, in interpret
 Module TAL.TALInterpreter, line 406, in do_optTag_tal
 Module TAL.TALInterpreter, line 388, in no_tag
 Module TAL.TALInterpreter, line 233, in interpret
 Module TAL.TALInterpreter, line 290, in do_startTag
 Module TAL.TALInterpreter, line 356, in attrAction_tal
 Module Products.PageTemplates.TALES, line 226, in evaluateText
 Module Products.PageTemplates.TALES, line 220, in evaluate
  - URL: wikipage_macros
  - Line 85, Column 0
  - Expression: standard:'here/nextPageUrl'
  - Names:
     {'container': <PloneSite instance at 997def0>,
      'context': <ZWikiPage at /plone4artists/development/FrontPage>,
      'default': <Products.PageTemplates.TALES.Default instance at 0x89faacc>,
      'here': <ZWikiPage at /plone4artists/development/FrontPage>,
      'loop': <SafeMapping instance at a25dcc0>,
      'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x89f0f6c>,
      'nothing': None,
      'options': {'REQUEST': <HTTPRequest, URL=http://plone4artists.jazkarta.com/development/FrontPage>,
                  'RESPONSE': ZServerHTTPResponse(''),
                  'args': (<ZWikiPage at /plone4artists/development/FrontPage>,)},
      'repeat': <SafeMapping instance at a25dcc0>,
      'request': <HTTPRequest, URL=http://plone4artists.jazkarta.com/development/FrontPage>,
      'root': <Application instance at 9963fb0>,
      'template': <FSPageTemplate at /plone4artists/wikipage_view used for /plone4artists/development/FrontPage>,
      'traverse_subpath': [],
      'user': admin}
 Module Products.PageTemplates.Expressions, line 201, in __call__
 Module Products.PageTemplates.Expressions, line 196, in _eval
 Module Products.PageTemplates.Expressions, line 103, in render
 Module Products.ZWiki.OutlineSupport, line 277, in nextPageUrl
 Module Products.ZWiki.OutlineSupport, line 270, in nextPage
AttributeError: next

For more info, you can email me at nate (at) jazkarta.com

try this --SimonMichael, Fri, 27 Feb 2004 15:43:29 -0800 reply

Hi Nate, I'm guessing your folder's outline attribute exists but is None for some reason (what's happened in your wiki since yesterday ?) Zwiki cvs should now be more robust in this situation, let me know.

property change --simon, Fri, 27 Feb 2004 15:44:58 -0800 reply

Severity: normal => serious

... --SimonMichael, Fri, 27 Feb 2004 15:47:47 -0800 reply

This should fix #712 AttributeError: add when trying to add a Wiki page in Plone 2.0 FINAL website too.

Updating from latest CVS solved the problem. Thanks :) --Sat, 28 Feb 2004 05:10:41 -0800 reply

Status: open => closed