[Zope] Re: Page template issues
Tres Seaver
tseaver at palladion.com
Mon Jul 14 13:47:46 EDT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andreas Jung wrote:
>
> --On 14. Juli 2008 12:02:32 -0500 Jeff Peterson <jeff.peterson at crary.com>
> wrote:
>
>> Greetings,
>>
>> I recently upgraded from Zope 2.8.7 to 2.11.0. After working out some
>> issues, everything worked OK for a couple weeks. There were minor page
>> template issues, but they weren't stopping the pages from rendering.
>> Then our server locked up..we had to reboot it. When I got everything
>> back up I get this error:
>>
>> 2008-07-14T11:45:50 ERROR Zope.SiteErrorLog
>> http://dev.bearcatproducts.com:9280/zzz-v2/public/ope/index.html
>> Traceback (innermost last):
>> Module ZPublisher.Publish, line 119, in publish
>> Module ZPublisher.mapply, line 88, in mapply
>> Module ZPublisher.Publish, line 42, in call_object
>> Module Shared.DC.Scripts.Bindings, line 313, in __call__
>> Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
>> Module Products.PageTemplates.ZopePageTemplate, line 330, in _exec
>> Module Products.PageTemplates.ZopePageTemplate, line 428, in pt_render
>> AssertionError
>
> The pt_render() method did not return a unicode string as expected.
> Can this be reproduced? Your templates are stored within the ZODB (you edit
> them through the ZMI?). You would be helpful to write a bugreport
> (Launchpad) together with a .zexp of the related template.
I would also try installing the PDBDebugMode product, which should allow
you to inspect the 'result' value when this exception raises.
As a workaround, can you rename the broken templates, and re-create them
using the text from the set-aside versions?
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIe5FB+gerLs4ltQ4RAiNtAJ46Mb6X5CFk7mMt1xBYwBV3zSMvjACfd8t4
WCJHTpJRKsn6gff4e7rbtt0=
=NypU
-----END PGP SIGNATURE-----
More information about the Zope
mailing list