[Zope-Checkins] SVN: Zope/branches/andig-catalog-report/src/Products/ZCatalog/ initial support for slow query reports

2009-06-24 Thread Andreas Gabriel
Log message for revision 101265: initial support for slow query reports Changed: U Zope/branches/andig-catalog-report/src/Products/ZCatalog/Catalog.py A Zope/branches/andig-catalog-report/src/Products/ZCatalog/CatalogReport.py U

Re: [Zope-dev] The future of Zope{2, 3} and Plone in Debian and Ubuntu

2009-06-24 Thread Sebastien Douche
2009/6/24 Fabio Tranchitella kob...@kobold.it: Hello, Hi Fabio :) We already have python2.5 and python2.6 and Python 3.0 and... we have to provide security support for all the packages, and supporting three different versions of python is too much work. Is it possible to keep Python 2.4

[Zope-dev] 2.5/2.6 support in Zope (Re: The future of Zope{2, 3} and Plone in Debian and Ubuntu)

2009-06-24 Thread Jim Fulton
On Jun 23, 2009, at 4:20 PM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fabio Tranchitella wrote: Zope 2 and Plone Zope 2 and Plone are obviously related, so the future of one of the two influences the other one. The main problem for Zope2 is

Re: [Zope-dev] 2.5/2.6 support in Zope (Re: The future of Zope{2, 3} and Plone in Debian and Ubuntu)

2009-06-24 Thread Fabio Tranchitella
* 2009-06-24 11:39, Jim Fulton wrote: The main problem for Zope2 is that the current stable upstream branch (2.12) still requires python2.4. My fault, I meant 2.11 (which is the current stable). -- Fabio Tranchitella http://www.kobold.it Free Software Developer and

Re: [Zope-dev] 2.5/2.6 support in Zope (Re: The future of Zope{2, 3} and Plone in Debian and Ubuntu)

2009-06-24 Thread Jim Fulton
On Jun 24, 2009, at 5:43 AM, Fabio Tranchitella wrote: * 2009-06-24 11:39, Jim Fulton wrote: The main problem for Zope2 is that the current stable upstream branch (2.12) still requires python2.4. My fault, I meant 2.11 (which is the current stable). So then, how soon would 2.12 need to

Re: [Zope-dev] 2.5/2.6 support in Zope (Re: The future of Zope{2, 3} and Plone in Debian and Ubuntu)

2009-06-24 Thread Fabio Tranchitella
* 2009-06-24 12:26, Jim Fulton wrote: So then, how soon would 2.12 need to be released for you to not drop debian support for Zope 2 and Plone? The problem is not Zope by itself but Plone, which still needs Zope 2.10, which in turn requires python 2.4. It seems that a new major release of

Re: [Zope-dev] 2.5/2.6 support in Zope (Re: The future of Zope{2, 3} and Plone in Debian and Ubuntu)

2009-06-24 Thread Andreas Jung
On 24.06.09 12:29, Fabio Tranchitella wrote: * 2009-06-24 12:26, Jim Fulton wrote: So then, how soon would 2.12 need to be released for you to not drop debian support for Zope 2 and Plone? The problem is not Zope by itself but Plone, which still needs Zope 2.10, which in turn

[Zope-dev] Zope Tests: 8 OK

2009-06-24 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Tue Jun 23 12:00:00 2009 UTC to Wed Jun 24 12:00:00 2009 UTC. There were 8 messages: 8 from Zope Tests. Tests passed OK --- Subject: OK : Zope-2.10 Python-2.4.6 : Linux From: Zope Tests Date: Tue Jun 23 21:12:45 EDT 2009 URL:

[Zope-dev] fail loading persistentregistry

2009-06-24 Thread Jean-François Roche
Hello, Within zope2 (2.10.6) I can't load the pickle containing the persistentregistry any more because I removed a product that has persistent adatpers. So I am having a state that looks like this: {'LookupClass': class 'five.localsitemanager.registry.FiveVerifyingAdapterLookup', '__bases__':

[Zope-dev] Manuel Beta

2009-06-24 Thread Benji York
I've just released the first beta of Manuel, my next-generation doctest project. Being that zope-dev has some of the most well-informed users of doctest (and some of the most well-informed non-users of doctest), I'd like to gather feedback from this group before making an announcement to the

[Zope-dev] z3c.saconfig engine creation configuration

2009-06-24 Thread Malthe Borch
On MySQL, it's necessary to supply to ``pool_recycle`` parameter on engine creation, else the connection dies after some timeout and the pool is unable to hand out a session. The result of this is that the first request fails whenever the connection has been dropped. Attached is a patch

Re: [Zope-dev] Manuel Beta

2009-06-24 Thread Sebastien Douche
On Wed, Jun 24, 2009 at 15:00, Benji York be...@zope.com wrote: I've just released the first beta of Manuel, my next-generation doctest project. Hmm, very interesting, thank you to sharing wth us! Manuel is available from PyPI (http://pypi.python.org/pypi/manuel) with docs, details, and

[Zope-dev] zc.async: cron replacement?

2009-06-24 Thread Reinout van Rees
Hi all, In messages like http://www.mail-archive.com/zope3-...@zope.org/msg05964.html, zc.async is mentioned as the solution for cron-like functionality in zope. Effectively you would not need zope2's clockserver. Reading zc.async's docs, I cannot find how to do a given task regularly. For

Re: [Zope-dev] zc.async: cron replacement?

2009-06-24 Thread Gary Poster
On Jun 24, 2009, at 1:19 PM, Reinout van Rees wrote: Hi all, In messages like http://www.mail-archive.com/zope3-...@zope.org/msg05964.html , zc.async is mentioned as the solution for cron-like functionality in zope. Effectively you would not need zope2's clockserver. Reading

[Zope-dev] zope.testbrowser without the http requests

2009-06-24 Thread Chris Withers
Hi All, I'm doing some functional testing of controllers in a Pylons project and I'm wondering if zope.testbrowser can be used for just analysing html rather than actually issuing the http requests? If not, is there anything similar that can? cheers, Chris -- Simplistix - Content

Re: [Zope-dev] Manuel Beta

2009-06-24 Thread Chris Withers
Benji York wrote: I'm interested in any feedback and/or questions you may have be it technical, documentation, or marketing (i.e., how do I describe what Manuel does and what benefits it has). Hi Benji, This looks really great :-) One thing you may have solved already, but if not would make

Re: [Zope-dev] Manuel Beta

2009-06-24 Thread Benji York
On Wed, Jun 24, 2009 at 5:06 PM, Chris Withersch...@simplistix.co.uk wrote: One thing you may have solved already, but if not would make a fantastic addition is a plugin that writes matching sections to a file. So, rather than having the following in a doctest: f =

Re: [Zope-dev] Manuel Beta

2009-06-24 Thread Benji York
On Wed, Jun 24, 2009 at 12:59 PM, Sebastien Douchesdou...@gmail.com wrote: 1. good idea for manuel.isolation, because it's for us a the main lack of doctests. But why this functionality is in a documentation package? Manuel, like doctest, is both for documentation and testing. I believe

Re: [Zope-dev] Manuel Beta

2009-06-24 Thread Chris Withers
Benji York wrote: --- begin quote --- Contents of myfile.zcml:: configure xmlns=http://namespaces.zope.org/zope; blah blah blah /configure .. - config import tmpfile f = tmpfile.mkstemp() f.write(config) f.close() Okay, but this looks like I'd

Re: [Zope-dev] Manuel Beta

2009-06-24 Thread Benji York
On Wed, Jun 24, 2009 at 6:07 PM, Chris Withersch...@simplistix.co.uk wrote: Benji York wrote: --- begin quote --- Contents of myfile.zcml::    configure xmlns=http://namespaces.zope.org/zope;    blah blah blah    /configure .. - config     import tmpfile     f = tmpfile.mkstemp()    

Re: [Zope-dev] z3c.saconfig engine creation configuration

2009-06-24 Thread Laurence Rowe
Malthe Borch wrote: On MySQL, it's necessary to supply to ``pool_recycle`` parameter on engine creation, else the connection dies after some timeout and the pool is unable to hand out a session. The result of this is that the first request fails whenever the connection has been dropped.

Re: [Zope] psycopg import error

2009-06-24 Thread Rowan Woodhouse
I had the same problem but found that if I just modified the list of acceptable psycopg versions everything worked fine. Rowan Amir wrote: Hey, yes i have it installed at instance/Python-2.4.3/lib/python2.4/site-packages/psycopg2 and i had also moved the adapter to the

Re: [Zope] psycopg import error

2009-06-24 Thread Amir
Things that i have noticed 1)running and importing psycopg2 gives this error Traceback (most recent call last): File stdin, line 1, in ? File /usr/lib/python2.4/site-packages/psycopg2/__init__.py, line 60, in ? from _psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID ImportError:

Re: [Zope] psycopg import error

2009-06-24 Thread Rowan Woodhouse
Ok, look at the error message again. It says raise ImportError(psycopg version mismatch (imported %s) % ImportError: psycopg version mismatch (imported 2.0.11 (dt dec ext pq3)) so the version being reported back is '2.0.11 (dt dec ext pq3)' not '2.0.11' Rowan Amir wrote: Things that i have

[Zope] how detect a variable from template father?

2009-06-24 Thread Miguel Beltran R.
Hi list I have 2 templates, in second template I need render a span only when the first template have defined a variable. template1: ul tal:define=var1 python:1 li tal:replace=structure conext/template2/li li tal:replace=structure python:conext.template2(var2=1)/li /ul template2: li

Re: [Zope] how detect a variable from template father?

2009-06-24 Thread Andreas Jung
On Thu, Jun 25, 2009 at 00:17, Miguel Beltran R. yourpa...@gmail.comwrote: Hi list I have 2 templates, in second template I need render a span only when the first template have defined a variable. template1: ul tal:define=var1 python:1 li tal:replace=structure conext/template2/li