After I've created a wiki folder, and edited the front page a couple of times, I went to the History form and clicked "full history." Got a Zope TypeError?, "len() of unsized object".
This with Zope 2.6.1 and Plone 1.0.3 on RedHat? Linux 7.2, Python version 2.1.3.
... --SimonMichael, 2003/07/29 16:53 GMT reply
Post the traceback. Thanks.
... --2003/07/30 22:12 GMT reply
Don't actually get a real traceback... the Plone page displayed loks like:
Site error This site encountered an error trying to fulfill your request. The errors were: Error Details Error Type TypeError? Error Value len() of unsized object
traceback --SimonMichael, 2003/07/30 22:43 GMT reply
Ok - have a look in /error_log in the ZMI, you should be able to get the from traceback there - or from your EventLog.
see also --SimonMichael, 2003/07/30 22:48 GMT reply
Also, compare with #370 Type Error when clicking full history.
here is the traceback --2003/08/01 04:42 GMT reply
Doesn't look quite the same, i think:
Traceback (innermost last): Module ZPublisher.Publish, line 49, in publish Module ZPublisher.mapply, line 32, in mapply Module ZPublisher.Publish, line 38, in call_object Module Shared.DC.Scripts.Bindings, line 250, in __call__ Module Shared.DC.Scripts.Bindings, line 270, in _bindAndExec Module Products.CMFCore.FSPageTemplate, line 158, in _exec Module Products.PageTemplates.ZopePageTemplate, line 198, in _exec Module Products.CMFCore.FSPageTemplate, line 112, in pt_render Module Products.PageTemplates.PageTemplate, line 79, in pt_render - <FSPageTemplate at /QurisIntranet/history_form used for /QurisIntranet/Members/asparks/Wiki_Folder.2003-07-28.1507/FrontPage> Module TAL.TALInterpreter, line 196, in __call__ Module TAL.TALInterpreter, line 229, in interpret Module TAL.TALInterpreter, line 685, in do_useMacro Module TAL.TALInterpreter, line 229, in interpret Module TAL.TALInterpreter, line 716, in do_defineSlot Module TAL.TALInterpreter, line 229, in interpret Module TAL.TALInterpreter, line 472, in do_setLocal_tal Module Products.PageTemplates.TALES, line 211, in evaluate - Line 9, Column 2 - Expression: <PythonExpr len(history)> - Names: {'container': <PloneSite instance at 9787050>, 'default': <Products.PageTemplates.TALES.Default instance at 0x869a684>, 'here': <ZWikiPage 'FrontPage' at 0x920b8b0>, 'loop': <SafeMapping instance at 8aa5f70>, 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x8684304>, 'nothing': None, 'options': {'args': ()}, 'repeat': <SafeMapping instance at 8aa5f70>, 'request': <HTTPRequest, URL=https://edge01.quris.net/Members/asparks/Wiki_Folder.2003-07-28.1507/FrontPage/history_form>, 'root': <Application instance at 9782ec0>, 'template': <FSPageTemplate at /QurisIntranet/history_form used for /QurisIntranet/Members/asparks/Wiki_Folder.2003-07-28.1507/FrontPage>, 'traverse_subpath': [], 'user': asparks} Module Products.PageTemplates.ZRPythonExpr, line 43, in __call__ - __traceback_info__: len(history) Module Python expression "len(history)", line 2, in f TypeError: len() of unsized
update --SimonMichael, Tue, 12 Aug 2003 21:13:14 +0000 reply
We were seeing this on plone.org. Alan made a change to plone and now anonymous and members see:
Historical not available This class does not support the historical interface. The content must mix-in OFS.History.Historical
but managers see the normal page history listing (plone's history_form). Maybe related to [#208 in page history, "copy to present" or viewing old revisions always requires authentication]? ?
property change --simon, Fri, 13 May 2005 19:56:55 -0700 reply
Name: '#567 TypeError? on Full History' => '#567 Full History/history_form gives TypeError? or Historical not available' Category: user-browsing => other Status: open => closed
You can see the problem at http://plone.zwiki.org/FrontPage/history_form . When logged in as a manager, the form works fine. So I believe this is a cmf/plone bug (misleading error message).