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 In all page templates, ported and new. I am running two Zeo servers built from the same base install, and the clients are all built from that install as well. Any clues to what's going on? TIA. Regards, -- Jeffrey D Peterson Webmaster Crary Industries, Inc.
--On 14. Juli 2008 12:02:32 -0500 Jeff Peterson <jeff.peterson@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. -aj
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andreas Jung wrote:
--On 14. Juli 2008 12:02:32 -0500 Jeff Peterson <jeff.peterson@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@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-----
This is happening with every page template, even brand new ones that don't really do anything, and it's happening on all the sites created with this Zope base. I compiled and installed a new Zope base and created a new instance from this, and the page templates are fine. Something in the Zope install must've gotten corrupted with the hard reboot. -- Jeffrey D Peterson Webmaster Crary Industries, Inc. -----Original Message----- From: Andreas Jung [mailto:lists@zopyx.com] Sent: Monday, July 14, 2008 12:22 PM To: Jeff Peterson; zope@zope.org Subject: Re: [Zope] Page template issues --On 14. Juli 2008 12:02:32 -0500 Jeff Peterson <jeff.peterson@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. -aj
--On 15. Juli 2008 11:38:26 -0500 Jeff Peterson <jeff.peterson@crary.com> wrote:
This is happening with every page template, even brand new ones that don't really do anything, and it's happening on all the sites created with this Zope base. I compiled and installed a new Zope base and created a new instance from this, and the page templates are fine. Something in the Zope install must've gotten corrupted with the hard reboot.
Please proceed as requested...otherwise there is little we can do :-) Andreas
participants (3)
-
Andreas Jung -
Jeff Peterson -
Tres Seaver