[Zope-Checkins] SVN: Zope/branches/2.11/ Suppressed DeprecationWarning during import of ZPublisher.Iterators.
Log message for revision 88361: Suppressed DeprecationWarning during import of ZPublisher.Iterators. o That module needs to use Z2-style interfaces in 2.11, for BBB, but the Interface module itself issues the warning on import. Changed: U Zope/branches/2.11/doc/CHANGES.txt U Zope/branches/2.11/lib/python/ZPublisher/Iterators.py -=- Modified: Zope/branches/2.11/doc/CHANGES.txt === --- Zope/branches/2.11/doc/CHANGES.txt 2008-07-14 16:33:42 UTC (rev 88360) +++ Zope/branches/2.11/doc/CHANGES.txt 2008-07-14 17:20:30 UTC (rev 88361) @@ -8,6 +8,10 @@ Bugs Fixed + - Suppressed DeprecationWarning during import of ZPublisher.Iterators: +that module needs to use Z2-style interfaces in 2.11, for BBB, but +the Interface module itself issues the warning on import. + - Launchpad #246748: added 'immediate' option to sendXXX() methods for sending a mail immediately by-passing the zope.sendmail delivery mechanism Modified: Zope/branches/2.11/lib/python/ZPublisher/Iterators.py === --- Zope/branches/2.11/lib/python/ZPublisher/Iterators.py 2008-07-14 16:33:42 UTC (rev 88360) +++ Zope/branches/2.11/lib/python/ZPublisher/Iterators.py 2008-07-14 17:20:30 UTC (rev 88361) @@ -1,5 +1,15 @@ -from Interface import Interface +import warnings +# The Z2 Interface module is deprecated: in Zope 2.12, this module will use +# Z3 interfaces instead. Meanwhile, silence the deprecation warning. +_existing_filters = warnings.filters[:] +warnings.filterwarnings('ignore', category=DeprecationWarning) +try: +from Interface import Interface +finally: +warnings.filters[:] = _existing_filters +del _existing_filters + class IStreamIterator(Interface): An iterator that can be published. ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
Re: [Zope-dev] Zope 2.11.1
Andreas Jung wrote: If there are no objections I plan to release a bug-fix release of Zope 2.11.1 on Wednesday. Any chance you could make sure Zope itself doesn't issue any deprecation warnings as part of this? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Re: [Plone-developers] PAULA: bringing Zope 3's authentication to Plone and beyond
Am Samstag, 12. Juli 2008 03:04 schrieb Florian Friesdorf: On Thu, Jul 10, 2008 at 10:56:19PM +0200, Wichert Akkerman wrote: Previously Florian Friesdorf wrote: Hi *, PAS works fine and covers a lot more functionality than PAU and there are more PAS plugins than PAU plugins. PAU is doing things different than PlonePAS/PAS, but I don't see how the current functionality of PlonePAS/PAS could not be achieved with PAU? At first, I very much appreciate putting working into PAU. I personally use Zope3 only, so I have little experience with Zope2 and none with PAS, therefore I can't compare them. In my projects, I use PAU only, so I do have some experience with it. And my personal impression is, that PAU is a very interesting approach, but it has it's drawbacks. I would denote the following: 1) No way to pass PAU-related information to form-code: In PAU, the authentication is entirely done before user code, e.g. form handling etc. In my scenario, I have a login form (z3c.form based), which has two input fields that comply to z3c.form, so if the correct user data is inserted in these fields, I'm logged in. If login data is wrong, then the form has no way to find out, why the login process failed (e.g. no such user, wrong password, no cookie support). Moreover, my login form has a Cancel button, which should cancel the login process. If correct login data is entered, and Cancel is pressed, the user is logged in nevertheless. 2) Lack of documentation: The entities Principal, InternalPrincipal, PrincipalInfo are very confusing to a newbie, I still don't get the big picture. 3) Lack of plugins: No plugin for URL-rewriting, e.g. cookie-less browsers (retrieving auth-information from URL) etc. I personally needed to write an authentication plugin for a SQLAlchemy based RDB, and was confused a lot of how/why to create Principal / PrincipalInfo objects: Should I create my own Principal/PrincipalInfo objects in order to stuff information into them that my application needs? How excactly should I cache user data so that a single browser request does not lead to multiple RDB queries? And where in the big picture is the User entity? (It's probably the InternalPrincipal object, I assume)... PAU-based authentication now works for me to some degree, but it was a massive fight, and for my case, it seemed that the PAU flexibility simply led to complexity but was not flexible/thought out enough to support my specific, but relatively simple scenario. So I would very, very much suggest to dig into PAU first and fix those shortcomings before porting it to Plone/Zope2. Best Regards, Hermann -- [EMAIL PROTECTED] GPG key ID: 299893C7 (on keyservers) FP: 0124 2584 8809 EF2A DBF9 4902 64B4 D16B 2998 93C7 ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Zope Tests: 4 OK, 1 Failed
Summary of messages to the zope-tests list. Period Sun Jul 13 11:00:00 2008 UTC to Mon Jul 14 11:00:00 2008 UTC. There were 5 messages: 5 from Zope Tests. Test failures - Subject: FAILED (errors=1) : Zope-2.8 Python-2.3.6 : Linux From: Zope Tests Date: Sun Jul 13 21:02:52 EDT 2008 URL: http://mail.zope.org/pipermail/zope-tests/2008-July/009850.html Tests passed OK --- Subject: OK : Zope-2.9 Python-2.4.4 : Linux From: Zope Tests Date: Sun Jul 13 21:04:23 EDT 2008 URL: http://mail.zope.org/pipermail/zope-tests/2008-July/009851.html Subject: OK : Zope-2.10 Python-2.4.4 : Linux From: Zope Tests Date: Sun Jul 13 21:05:55 EDT 2008 URL: http://mail.zope.org/pipermail/zope-tests/2008-July/009852.html Subject: OK : Zope-2.11 Python-2.4.4 : Linux From: Zope Tests Date: Sun Jul 13 21:07:25 EDT 2008 URL: http://mail.zope.org/pipermail/zope-tests/2008-July/009853.html Subject: OK : Zope-trunk Python-2.4.4 : Linux From: Zope Tests Date: Sun Jul 13 21:08:55 EDT 2008 URL: http://mail.zope.org/pipermail/zope-tests/2008-July/009854.html ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: Zope 3 on Python 2.5, Zope 3 releases
Hi there, Tres, could you report this issue on Launchpad? Not Lorenzo's issue as it happens with an empty container, but perhaps we can work out a bug report for the ZODB folks as well. Just dig into what's up in .values() or .items() and where the error exactly occurs, perhaps this way we can come up with a very small ZODB sample application. Regards, Martijn ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Re: Zope 3 on Python 2.5, Zope 3 releases
I have reported Bug 248380: on this issue. The problem seems to me to be in building the .c modules. That causes the MemoryError that Lorenzo reported but it isn't the root of the problem. There are a large number of warning: initialization from incompatible pointer type issues. --Tim On Mon, 2008-07-14 at 13:30 +0200, Martijn Faassen wrote: Hi there, Tres, could you report this issue on Launchpad? Not Lorenzo's issue as it happens with an empty container, but perhaps we can work out a bug report for the ZODB folks as well. Just dig into what's up in .values() or .items() and where the error exactly occurs, perhaps this way we can come up with a very small ZODB sample application. Regards, Martijn ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope ) -- ** Join the OSHIP project. It is the standards based, open source healthcare application platform in Python. Home page: https://launchpad.net/oship/ Wiki: http://www.openehr.org/wiki/display/dev/Python+developer%27s+page ** signature.asc Description: This is a digitally signed message part ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: Zope 3 on Python 2.5, Zope 3 releases
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martijn Faassen wrote: Tres, could you report this issue on Launchpad? Once we establish what the problem is for sure. Not Lorenzo's issue as it happens with an empty container, but perhaps we can work out a bug report for the ZODB folks as well. Just dig into what's up in .values() or .items() and where the error exactly occurs, perhaps this way we can come up with a very small ZODB sample application. One thing I notice right away: the ZODB egg pulled from PyPI is: 'ZODB3-3.9.0_dev_r77011'. We have *got* to get people to quit releasing such eggs to the unsuspecting public. Anybody who needs such a distribution should be able to build it from subversion, or else package it themselves and put it in a private location. I guess this package was found at http://download.zope.org/distribution. I imagine that 'zopeproject' should use a buildout.cfg which points at a sane index (e.g., the KGS), and *doesn't* use 'find-links' at all Tres. - -- === Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIe1ph+gerLs4ltQ4RAmkdAJ9sgZoSwOd4XlpI0tr4rTP+651bAwCggM4K YB/n6d8TDP73PtiMqwFctak= =As1K -END PGP SIGNATURE- ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: Zope 3 on Python 2.5, Zope 3 releases
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tres Seaver wrote: Martijn Faassen wrote: Tres, could you report this issue on Launchpad? Once we establish what the problem is for sure. Not Lorenzo's issue as it happens with an empty container, but perhaps we can work out a bug report for the ZODB folks as well. Just dig into what's up in .values() or .items() and where the error exactly occurs, perhaps this way we can come up with a very small ZODB sample application. One thing I notice right away: the ZODB egg pulled from PyPI is: 'ZODB3-3.9.0_dev_r77011'. We have *got* to get people to quit releasing such eggs to the unsuspecting public. Anybody who needs such a distribution should be able to build it from subversion, or else package it themselves and put it in a private location. I guess this package was found at http://download.zope.org/distribution. I imagine that 'zopeproject' should use a buildout.cfg which points at a sane index (e.g., the KGS), and *doesn't* use 'find-links' at all Another issue: when running 'zopeproject' as Lorenzo described on my machine, the target environment ends up actually wiring in a Python $ cd /tmp $ /usr/bin/python2.5 /path/to/virtualenv.py --no-site-packages lgs2.5 ... $ cd /tmp/lgs2.5 $ bin/python -V Python 2.5.2 $ bin/easy_install zopeproject ... $ head -1 bin/paster #!/tmp/lgs2.5/bin/python $ bin/zopeproject HelloWorld ... $ head -1 HelloWorld/bin/paster #!/home/tseaver/projects/Zope-CVS/bin/python2.4 Tres. - -- === Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIe1yP+gerLs4ltQ4RAue9AKDIlt5F8uMmNjWqnj+wt0pxKhGz1wCfU4Om i/c08sGUyhdSx3+l+xftqsA= =nrnm -END PGP SIGNATURE- ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] RestrictedPython implementation in zope2.
On Thursday 10 July 2008, Martijn Faassen wrote: Hopefully we can distribute some hints and tips on this amongst us. I agree. The most important task is to figure out the changes that have been made to the AST. Verifying whether those changes affect RestrictedPython is the easier part, since we mainly have to look for attribute and item access (as far as I can tell from the RestrictedPython source code. So does anyone know how we can find out about those changes? Being a summer of code student, the student is in there also for the learning exercise after all, so perhaps this is an opportunity to learn a little about the AST. That said, if Ranjith gets stuck we would understand just fine, and just a report by Ranjith on the status of his researches for be valuable for whoever comes and tries to fix it after him (as this does need to get fixed in some way). I agree. I overreacted. So what we need is: * A list of all changes. * Verify that those changes do not cause a different combination of looking up an attribute or item. * If they do, create a test showing the unsafe lookup and update the code. Regards, Stephan -- Stephan Richter Web Software Design, Development and Training Google me. Zope Stephan Richter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Re: Zope 3 on Python 2.5, Zope 3 releases
Lorenzo Gil Sánchez wrote: I tried to go further and discover the source of this problem adding a breakpoint just before the exception is raised. This is what I got: (Pdb) self.context zope.app.folder.folder.Folder object at 0x7faf532e4320 (Pdb) self.context.keys() OOBTreeItems object at 0x7faf52682030 (Pdb) tuple(self.context.keys()) *** MemoryError: I just committed a fix to the trunk of zope.proxy, zope.security, and zope.app.container. They all needed the Py_ssize_t conversion as described by PEP 353. Without the conversion, Python extensions running under 64 bit Python 2.5 tend to break with MemoryErrors. The MemoryErrors are caused by C code filling only 4 bytes of an 8 byte length value; the remaining 4 bytes end up with random junk, leading various code to believe the extension wants to allocate far more memory than it actually needs. We might want to backport the fix, but I don't know which branches are being maintained. Shane ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: Zope 2.11.1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers wrote: Andreas Jung wrote: If there are no objections I plan to release a bug-fix release of Zope 2.11.1 on Wednesday. Any chance you could make sure Zope itself doesn't issue any deprecation warnings as part of this? I have committed a change which suppresses the DeprecationWarning raised during the import of ZPublisher.Iterators: it needs to use Z2-style interfaces in 2.11, but the Interface module raises DW on import. http://svn.zope.org/Zope/branches/2.11/?rev=88361view=rev All tests pass, and a newly-created appserver instance starts, without logging any DWs. Tres. - -- === Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIe4t3+gerLs4ltQ4RAgQ+AKC/ghY/QLOJLEb/HVwjpYOwumZ7IACeNUNN 7tcuEnWImLPuqf3XJZANdOg= =JmRx -END PGP SIGNATURE- ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Re: Zope 2.11.1
--On 14. Juli 2008 13:23:03 -0400 Tres Seaver [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers wrote: Andreas Jung wrote: If there are no objections I plan to release a bug-fix release of Zope 2.11.1 on Wednesday. Any chance you could make sure Zope itself doesn't issue any deprecation warnings as part of this? I have committed a change which suppresses the DeprecationWarning raised during the import of ZPublisher.Iterators: it needs to use Z2-style interfaces in 2.11, but the Interface module raises DW on import. http://svn.zope.org/Zope/branches/2.11/?rev=88361view=rev All tests pass, and a newly-created appserver instance starts, without logging any DWs. Thanks. Andreas pgpqGvH9lZYt0.pgp Description: PGP signature ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Re: Zope 2.11.1
Previously Andreas Jung wrote: --On 14. Juli 2008 13:23:03 -0400 Tres Seaver [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers wrote: Andreas Jung wrote: If there are no objections I plan to release a bug-fix release of Zope 2.11.1 on Wednesday. Any chance you could make sure Zope itself doesn't issue any deprecation warnings as part of this? I have committed a change which suppresses the DeprecationWarning raised during the import of ZPublisher.Iterators: it needs to use Z2-style interfaces in 2.11, but the Interface module raises DW on import. http://svn.zope.org/Zope/branches/2.11/?rev=88361view=rev All tests pass, and a newly-created appserver instance starts, without logging any DWs. Thanks. Can you include the just released ZODB 3.8.1 as well? Wichert. ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope ) -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Re: Zope 2.11.1
Previously Wichert Akkerman wrote: Can you include the just released ZODB 3.8.1 as well? I misread that commit, ZODB is at b5, not final, so disregard this. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] RestrictedPython implementation in zope2.
On Monday 14 July 2008, Stephan Richter wrote: * A list of all changes. All changes to the AST that is. Regards, Stephan -- Stephan Richter Web Software Design, Development and Training Google me. Zope Stephan Richter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope 3 on Python 2.5, Zope 3 releases
On Saturday 12 July 2008, Martijn Faassen wrote: Chris wants to do them, he just wants some documentation on how to get started, I suspect. I use Philipp's blog entry from ages ago: http://www.z3lab.org/sections/blogs/philipp-weitershausen/2007_07_26_cheap-binary-windows You also need to get access to the packages on PyPI, which I am happy to give to anyone I know. Regards, Stephan -- Stephan Richter Web Software Design, Development and Training Google me. Zope Stephan Richter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] RestrictedPython implementation in zope2.
On Monday 14 July 2008, Stephan Richter wrote: On Monday 14 July 2008, Stephan Richter wrote: * A list of all changes. All changes to the AST that is. No AST API changes have been reported in What's new in Python 2.5. http://docs.python.org/whatsnew/ports.html So what else can we do to prove that the AST was not changed? Regards, Stephan -- Stephan Richter Web Software Design, Development and Training Google me. Zope Stephan Richter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope] Page template issues
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. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: Page template issues
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Jung wrote: --On 14. Juli 2008 12:02:32 -0500 Jeff Peterson [EMAIL PROTECTED] 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 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://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- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )