Submitted by : simon at: 2003-10-26T21:32:43+00:00 (14 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

Moved from IssueNo0623? : When creating new pages from a wiki page in a plone site:

  Module TAL.TALInterpreter, line 592, in do_insertStructure_tal
  Module Products.PageTemplates.TALES, line 220, in evaluate
   - Line 28, Column 4
   - Expression: <PythonExpr here.render(here,request)>
   - Names:
      {'container': <PloneSite instance at 8eb7e68>,
       'default': <Products.PageTemplates.TALES.Default instance at 0x873965c>,
       'here': <ZWikiPage 'WonkOn' at 0x969e620>,
       'loop': <SafeMapping instance at 8bcbc38>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x873cd2c>,
       'nothing': None,
       'options': {'REQUEST': <HTTPRequest, URL=http://192.168.0.1:8080/intranet/WonkOn>,
                   'RESPONSE': ZServerHTTPResponse(''),
                   'args': (<ZWikiPage 'WonkOn' at 0x969e620>,)},
       'repeat': <SafeMapping instance at 8bcbc38>,
       'request': <HTTPRequest, URL=http://192.168.0.1:8080/intranet/WonkOn>,
       'root': <Application instance at 8eee000>,
       'template': <FSPageTemplate at /intranet/wikipage_view used for /intranet/WonkOn>,
       'traverse_subpath': [],
       'user': huima}
  Module Products.PageTemplates.ZRPythonExpr, line 48, in __call__
   - __traceback_info__: here.render(here,request)
  Module Python expression "here.render(here,request)", line 1, in <expression>
  Module Products.ZWiki.ZWikiPage, line 296, in render
  Module Products.ZWiki.ZWikiPage, line 385, in render_msgstxprelinkdtmlfitissuehtml
  Module Products.ZWiki.ZWikiPage, line 501, in renderMidsectionIn
 ValueError: unpack list of wrong size


comments:

midsection marker trouble --SimonMichael, Sat, 04 Oct 2003 10:45:40 -0700 reply
Did you by chance include the text of the midsection marker in your page ? See the MIDSECTIONMARKER definition at the top of your ZWikiPage.py to find out what it is (don't write it here). That would cause this error. Is this zwiki 0.23rc3 ?

release critical until we know more --SimonMichael, Sat, 04 Oct 2003 10:45:59 -0700 reply
Severity: normal => serious

made more robust --SimonMichael, Sat, 04 Oct 2003 12:04:21 -0700 reply
Zwiki-cvs has a fix which makes it at least render the page in this situation, though I'm still interested in the cause in your case. Will include for 0.23rc4.

property change --SimonMichael, Sat, 04 Oct 2003 19:32:23 -0700 reply
Severity: serious => normal

property change --SimonMichael, Wed, 22 Oct 2003 07:23:36 -0700 reply
Status: open => closed