Re: [Zope-dev] zope.security test failure on python2.7

2011-05-19 Thread Hanno Schlichting
On Wed, May 18, 2011 at 8:24 PM, Gediminas Paulauskas mene...@pov.lt wrote: So I removed the (incorrect) issubclass call, and the rest of the test passes, showing that ABC checker works correctly. Even if it would be good that issubclass worked, I think that mixing ABCs and Zope interfaces is

Re: [Zope-dev] beta.zope.org (www.zope.org relaunch project)

2011-05-10 Thread Hanno Schlichting
On Tue, May 10, 2011 at 6:55 AM, Andreas Jung li...@zopyx.com wrote: I am happy to announce that we have made progress with the zope.org relaunch project. The first public version of the new site is now available under http://beta.zope.org Constructive criticism and feedback is welcome

[Zope-dev] Latest Python security fix (2.5.6c1 / 2.6.7rc1)

2011-05-09 Thread Hanno Schlichting
Hi. I tried installing Python 2.6.7rc1 and got tons of test failures in Zope/Plone. I didn't have time to look into them in more detail, but they looked zope.testbrowser / mechanize related. I'm assuming the same is true for Python 2.5.6c1. If anyone has time to look into this, it would be

Re: [Zope-dev] Latest Python security fix (2.5.6c1 / 2.6.7rc1)

2011-05-09 Thread Hanno Schlichting
On Mon, May 9, 2011 at 4:10 PM, Tres Seaver tsea...@palladion.com wrote: On 05/09/2011 05:28 AM, Hanno Schlichting wrote: I tried installing Python 2.6.7rc1 and got tons of test failures in Zope/Plone. I didn't have time to look into them in more detail, but they looked zope.testbrowser

Re: [Zope-dev] Zope 2.12.17 does not die when I hit ctrl+C

2011-05-06 Thread Hanno Schlichting
On Fri, May 6, 2011 at 11:27 AM, Izak Burger i...@upfrontsystems.co.za wrote: The little bit of debugging I've done so far suggests that after the signal handler for SIGINT runs, SystemExit is raised but it is somehow ignored. After that it just drops back into the polling loop in

Re: [Zope-dev] Adding a _frame argument to InterfaceClass.__init__ to make it subclassable

2011-05-01 Thread Hanno Schlichting
On Sun, May 1, 2011 at 2:06 AM, Laurence Rowe l...@lrowe.co.uk wrote: I'd like to apply the attached patch to zope.interface trunk to make it more easily subclassable without having to copy and paste a chunk of its __init__ into the subclass' __init__. The diff looks innocent enough to me. +1

Re: [Zope-dev] CatalogPathAwareness and zope.lifecycle

2011-04-16 Thread Hanno Schlichting
On Sat, Apr 16, 2011 at 3:36 AM, William Heymann k...@aesaeion.com wrote: What about developers who build on zope 2.x and use it very successfully, what should they switch to? My personal recommendation would be to either use Django or Pyramid. If you want to stay even closer to Zope, Grok

Re: [Zope-dev] CatalogPathAwareness and zope.lifecycle

2011-04-15 Thread Hanno Schlichting
On Fri, Apr 15, 2011 at 12:05 PM, Sascha Welter zopel...@betabug.ch wrote: Looking at http://pypi.python.org/pypi/zope.lifecycleevent I see some examples about calling those notify() events, but nothing that would tell me how to replace CatalogPathAware with this stuff. Googling for

Re: [Zope-dev] zope-tests - FAILED: 8, OK: 71, UNKNOWN: 4

2011-04-07 Thread Hanno Schlichting
On Thu, Apr 7, 2011 at 7:00 AM, Zope tests summarizer nore...@zope.org wrote: This is the summary for test reports received on the zope-tests list between 2011-04-05 00:00:00 UTC and 2011-04-06 00:00:00 UTC: [...] Non-OK results -- [1]    UNKNOWN UNKNOWN : Zope-trunk

[Zope-dev] Zope Toolkit 1.0.2 and 1.1.1 released

2011-04-03 Thread Hanno Schlichting
, Hanno Schlichting ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman

Re: [Zope-dev] zope.contentprovider not useable together with Zope 2.13.4

2011-03-28 Thread Hanno Schlichting
On Fri, Mar 18, 2011 at 3:34 PM, Michael Howitz m...@gocept.com wrote: According to my findings, the provider-expression should work in Zope2 PageTemplates (Products.PageTemplates) as it is registered in Products.PageTemplates.Expressions.createZopeEngine. Sure. The provider expression

Re: [Zope-dev] Zope Tests: 73 OK, 12 Failed, 4 Unknown

2011-03-25 Thread Hanno Schlichting
On Fri, Mar 25, 2011 at 6:17 PM, Marius Gedminas mar...@gedmin.as wrote: Subject: FAILED : winbot / z3c.coverage_py_265_32 From: buildbot at winbot.zope.org Date: Wed Mar 23 23:31:40 EDT 2011 URL: http://mail.zope.org/pipermail/zope-tests/2011-March/036062.html This package looks to

Re: [Zope-dev] Zope test layers, pytest, and test isolation

2011-03-24 Thread Hanno Schlichting
Hi. Disclaimer: I don't know anything about pytest. On Thu, Mar 24, 2011 at 1:05 AM, Uli Fouquet u...@gnufix.de wrote: Are there cheap/fast ways to cache/restore registry setups we hadn't had on the screen? Really fast setups/cache-restores could make even function-wise registrations a

Re: [Zope-dev] Zope Tests: 69 OK, 30 Failed, 10 Unknown

2011-03-22 Thread Hanno Schlichting
On Tue, Mar 22, 2011 at 4:30 PM, Gediminas Paulauskas mene...@pov.lt wrote: This one fails because python-gettext 1.1 tests use `with` statement that is not available on python 2.4 or 2.5, and also depends on unittest2 that has the same problem. This introduces a new dependency to the stable

Re: [Zope-dev] Zope Tests: 68 OK, 34 Failed, 6 Unknown

2011-03-21 Thread Hanno Schlichting
On Mon, Mar 21, 2011 at 4:53 PM, Tres Seaver tsea...@palladion.com wrote: On 03/21/2011 07:57 AM, Zope Tests Summarizer wrote: Subject: FAILED : Zope Buildbot / zope2.12-py2.6 slave-osx From: jdriessen at thehealthagency.com Date: Sun Mar 20 09:46:37 EDT 2011 URL:

Re: [Zope-dev] Anyone want to do Google Summer of code mentoring for PSF?

2011-03-20 Thread Hanno Schlichting
On Sun, Mar 20, 2011 at 3:28 PM, Jim Fulton j...@zope.com wrote: - The mechanism shouldn't require something to grok/analyze the  code.  The mechanism should be explicit. This is implied by  pythonic.  I remember Grok being more implicit than skimming the  links above suggest. Perhaps Grok has

Re: [Zope-dev] Anyone want to do Google Summer of code mentoring for PSF?

2011-03-20 Thread Hanno Schlichting
On Sun, Mar 20, 2011 at 4:29 PM, Jim Fulton j...@zope.com wrote: I disagree.  First, the notion that you'd import at run time is pretty odd, unless you count start-up in runtime. Right, sorry. I'm used to writing add-ons for an application. In this environment my code isn't in charge of the

Re: [Zope-dev] proposed ZNagios changes

2011-03-14 Thread Hanno Schlichting
Hi. On Mon, Mar 14, 2011 at 7:56 PM, David Glick davidgl...@groundwire.org wrote: I'd like to make a couple changes to Products.ZNagios: 1. Add an optional setting in the munin plugin configuration to control which database to report metrics for, in Zope instances with multiple mountpoints.

Re: [Zope-dev] zope.app.wsgi.testlayer:http() in zope.app.publication

2011-03-13 Thread Hanno Schlichting
On Sun, Mar 13, 2011 at 9:11 PM, Jan-Jaap Driessen jdries...@thehealthagency.com wrote: I'd like to release zope.app.publication with this fix: [...] If there are no objections, please make me an owner on pypi (janjaapdriessen). You own it :) Hanno

Re: [Zope-dev] ZPublisher: using zope.formlib and z3c.form in Zope 2

2011-03-02 Thread Hanno Schlichting
On Wed, Mar 2, 2011 at 9:43 AM, yuppie y.2...@wcm-solutions.de wrote: Does that make sense? I guess that kind of change should only be made on the trunk. Sounds all good to me, and yes this should be Zope trunk only. Hanno ___ Zope-Dev maillist -

Re: [Zope-dev] Zope Tests: 83 OK, 31 Failed, 1 Unknown

2011-03-02 Thread Hanno Schlichting
On Wed, Mar 2, 2011 at 4:42 PM, Gediminas Paulauskas mene...@pov.lt wrote: zope.traversing = 3.13.1 This bugfix has new requirements, at least zope.security = 3.8.0 zope.browserresource = 3.12.0 All three of them do the same - make it possible to include their zcml files directly. And

Re: [Zope-dev] string exceptions

2011-02-25 Thread Hanno Schlichting
Hi. On Fri, Feb 25, 2011 at 11:58 AM, Godefroid Chapelle got...@bubblenet.be wrote: I find a few string exceptions leftover in Zope 2.13 code. What practice has been followed until now regarding fixing those exceptions ? Just upgrade them to new-style exception classes. Since string

Re: [Zope-dev] string exceptions

2011-02-25 Thread Hanno Schlichting
On Fri, Feb 25, 2011 at 12:14 PM, Godefroid Chapelle got...@bubblenet.be wrote: Where should those fixes happen ? 2.13 branch and trunk I suppose +1 - if you really feel like it you could backport to 2.12 branch as well (as it only supports Python 2.6 too). Hanno

Re: [Zope-dev] string exceptions

2011-02-25 Thread Hanno Schlichting
On Fri, Feb 25, 2011 at 12:32 PM, Charlie Clark charlie.cl...@clark-consulting.eu wrote: Am 25.02.2011, 12:26 Uhr, schrieb Hanno Schlichting ha...@hannosch.eu: +1 - if you really feel like it you could backport to 2.12 branch as well (as it only supports Python 2.6 too). - 1 against

Re: [Zope-dev] PAS, AuthEncoding and zope.password

2011-02-20 Thread Hanno Schlichting
Hi. On Sun, Feb 20, 2011 at 11:41 AM, Martijn Pieters m...@zopatista.com wrote: On Fri, Feb 18, 2011 at 22:19, Martijn Pieters m...@zopatista.com wrote: We should at the very least convert PAS to use zope.password instead of AccessControl.AuthEncoding. I'll just go ahead and expand then

Re: [Zope-dev] Acquisition wrapped objects do not behave well on unicode call

2011-02-19 Thread Hanno Schlichting
On Thu, Feb 17, 2011 at 8:27 AM, Christian Zagrodnick c...@gocept.com wrote: On 2011-02-16 22:22:53 +0100, Hanno Schlichting said: svn+ssh://svn.zope.org/repos/main/Acquisition/branches/zagy-unicode-should-be-called Sure. I'll review, merge and release. Should be sometime this week, cannot

Re: [Zope-dev] What happens when a KGS changes?

2011-02-17 Thread Hanno Schlichting
On Thu, Feb 17, 2011 at 6:27 PM, Alex Clark acl...@aclark.net wrote: How do we handle a situation like the one I'm about to describe w/4.1a3 and c.xdv? Did you mean to sent this to the plone-dev list? Hanno ___ Zope-Dev maillist - Zope-Dev@zope.org

Re: [Zope-dev] Acquisition wrapped objects do not behave well on unicode call

2011-02-16 Thread Hanno Schlichting
On Wed, Feb 16, 2011 at 9:18 AM, Michael Howitz m...@gocept.com wrote: Zope 2.12.8 on Python 2.6 breaks the same way as 2.13. But Zope 2.11.7 on Python 2.5 works correctly. So either Python or Acquisition must have changed since than. Acquisition changed a lot from 2.11 to 2.12 - it got

Re: [Zope-dev] Acquisition wrapped objects do not behave well on unicode call

2011-02-16 Thread Hanno Schlichting
On Wed, Feb 16, 2011 at 10:19 PM, Christian Zagrodnick c...@gocept.com wrote: I suspect a change in python (which I did not follow up after getting strange feelings when looking at PyObject_Unicode). Nevertheless I've fixed that on a branch:

Re: [Zope-dev] schema upgrades with zope.formlib + FIX

2011-02-15 Thread Hanno Schlichting
On Tue, Feb 15, 2011 at 1:21 PM, Johannes Raggam raggam...@adm.at wrote: while - IMO - zope.schema throws that error justifiably, i think zope.formlib should handle it more gracefully in setUpEditWidgets. i think, this error comes with every schema upgrade for zope.formlib based edit-forms.

Re: [Zope-dev] zope.contentprovider not useable together with Zope 2.13.4

2011-02-15 Thread Hanno Schlichting
Hi. On Tue, Feb 15, 2011 at 2:46 PM, Michael Howitz m...@gocept.com wrote: I tracked this down to Zope2/App/exclude.zcml where the meta.zcml of the package zope.browserpage gets excluded. Sadly this ZCML file defines the expressiontype directive. What is the current way to use

Re: [Zope-dev] Acquisition wrapped objects do not behave well on unicode call

2011-02-15 Thread Hanno Schlichting
On Tue, Feb 15, 2011 at 2:35 PM, Michael Howitz m...@gocept.com wrote: When I have an acquisition wrapped object, e. g. my_object and call: unicode(my_object) The method __str__ of my_object is called even when it has an __unicode__ method. Acquisition wrappers only fill the tp_repr and

Re: [Zope-dev] Zope Tests: 51 OK, 5 Failed

2011-02-06 Thread Hanno Schlichting
Hi. On Fri, Feb 4, 2011 at 5:49 PM, Gediminas Paulauskas mene...@pov.lt wrote: But then I see that some other modules (most notably, zope.traversing 3.13.1) that have trunk in ztk 1.0 require zope.security[zcml]=3.8 but we only have 3.7.4. It looks like a harmless change, can zope.security be

Re: [Zope-dev] ConnectionStateError

2011-01-12 Thread Hanno Schlichting
On Wed, Jan 12, 2011 at 2:34 PM, Godefroid Chapelle got...@bubblenet.be wrote: I understand that I should look for persistent objects stored in module or class level variables (which imply shared by threads and thus connections). Do not hesitate to tell me if this is a wrong explanation of the

Re: [Zope-dev] Zope 2: specifying Zope2 dependency

2011-01-11 Thread Hanno Schlichting
On Tue, Jan 11, 2011 at 7:58 PM, Charlie Clark charlie.cl...@clark-consulting.eu wrote: Am 04.01.2011, 14:25 Uhr, schrieb Hanno Schlichting ha...@hannosch.eu: With the current roadmap, we'll likely be able to stop using Zope 2.12 in 6-9 months altogether. I've given this some thought

[Zope-dev] Zope Toolkit 1.1 candiate 1 released

2011-01-11 Thread Hanno Schlichting
buildbot maintainers: We have a new stable 1.1 branch at svn.zope.org/repos/main/zopetoolkit/branches/1.1. The ZTK 1.1 is compatible with Python 2.5 - 2.7. The same Python version support applies to the new ZTK trunk. Kind regards, Hanno Schlichting

Re: [Zope-dev] adduser command: give feedback about success

2011-01-09 Thread Hanno Schlichting
Hi. On Fri, Jan 7, 2011 at 11:55 PM, Maurits van Rees m.van.r...@zestsoftware.nl wrote: I saw that Hanno added an entry point in Zope2 to create a bin/addzope2user command, which does the same as the 'bin/zopectl adduser' command. Yeah, I put it back after I noticed it was really needed in a

Re: [Zope-dev] Zope 2: specifying Zope2 dependency

2011-01-04 Thread Hanno Schlichting
Hi and happy new year, On Tue, Jan 4, 2011 at 2:00 PM, yuppie y.2...@wcm-solutions.de wrote: Problem is: Several Products (e.g. CMF) exist that depend on these Products and want to support Zope2 2.12, 2.13 and trunk. Is that really needed? Zope 2.13 is stable now, 2.14 a couple months away.

Re: [Zope-dev] Zope 2: specifying Zope2 dependency

2011-01-04 Thread Hanno Schlichting
Hi Yvo. On Tue, Jan 4, 2011 at 2:53 PM, yuppie y.2...@wcm-solutions.de wrote: Using CMF 2.2 for Plone 4.1 means we have to maintain CMF 2.2 for a long time and Zope 2.12 is the primary platform for CMF 2.2. So if you really want stop maintaining Zope 2.12 soon: Wouldn't it be better to release

Re: [Zope-dev] Zope 2: deprecated products

2011-01-04 Thread Hanno Schlichting
Hi. On Tue, Jan 4, 2011 at 8:24 PM, William Heymann k...@aesaeion.com wrote: On Tuesday 04 January 2011, yuppie wrote: Zope trunk (2.14) no longer ships with these Products:    Products.BTreeFolder2    Products.ExternalMethod    Products.MailHost    Products.MIMETools    

Re: [Zope-dev] plans for a ZTK-1.1 release

2011-01-04 Thread Hanno Schlichting
Hi. On Tue, Jan 4, 2011 at 9:37 PM, Jan-Wijbrand Kolman janwijbr...@gmail.com wrote: The ZTK-releaseteam is making plans for a ZTK-1.1 release. We aim for a release next week. Except for an updated versions list [1], other significant changes will be: * dropping python-2.4 support * gaining

Re: [Zope-dev] Zope Tests: 45 OK, 9 Failed, 1 Unknown

2011-01-01 Thread Hanno Schlichting
On Fri, Dec 31, 2010 at 4:10 PM, Tres Seaver tsea...@palladion.com wrote: Hmm, these look like genuine issues, either with the tests or perhaps with the new lazy stuff: Hhm, indeed. I cannot reproduce them locally and they only seem to happen on Windows. I'll try to look into test ordering

Re: [Zope-dev] Zope Tests: 45 OK, 9 Failed, 1 Unknown

2011-01-01 Thread Hanno Schlichting
On Sat, Jan 1, 2011 at 2:19 PM, Hanno Schlichting ha...@hannosch.eu wrote: On Fri, Dec 31, 2010 at 4:10 PM, Tres Seaver tsea...@palladion.com wrote: Hmm, these look like genuine issues, either with the tests or perhaps with the new lazy stuff: Hhm, indeed. I cannot reproduce them locally

Re: [Zope-dev] Request Clarification of Five Support for Z3 Roles

2010-12-20 Thread Hanno Schlichting
On Mon, Dec 20, 2010 at 11:10 AM, Jeff Rush j...@taupro.com wrote: I'm backporting a Zope3 app to Zope2 and hit the snag that I define the various possible roles in ZCML using the role id=... tag. Can anyone confirm that there is nothing in/around Five to support that tag and so all role

Re: [Zope-dev] zope.testbrowser and WebTest

2010-12-15 Thread Hanno Schlichting
On Wed, Dec 15, 2010 at 2:06 PM, Brian Sutherland br...@vanguardistas.net wrote: I've managed to get the existing tests to run against this browser with two new testing dependencies:    WebTest    zope.app.wsgi zope.app.wsgi shouldn't be a dependency of zope.testbrowser. It's ok if it's

Re: [Zope-dev] Context priority as an alternative to configuration directive overrides

2010-12-04 Thread Hanno Schlichting
On Sat, Dec 4, 2010 at 9:21 PM, Ross Patterson m...@rpatterson.net wrote: Recently I had a conversation with someone or read something about using add-on specific stacked component registries.  Would this be the best way to solve these kind of problems?  Unfortunately I can't remember where I

[Zope-dev] Zope Toolkit 1.0.1

2010-11-17 Thread Hanno Schlichting
://download.zope.org/zopetoolkit/index/1.0.1/zopeapp-versions.cfg We haven't automated the process of generating a changelog for the ZTK releases yet. If you are interested in what changed in this release ... any help would be welcome ;) Kind regards, Hanno Schlichting

Re: [Zope-dev] zope.interface memory optimization

2010-11-08 Thread Hanno Schlichting
Hi. On Mon, Nov 8, 2010 at 3:35 PM, Brian Sutherland br...@vanguardistas.net wrote: I've committed 2 patches to a jinty-mem branch of zope.interface. Together these patches reduce the startup memory use of my ZTK based application by 3%. Is that enough to justify their risk/complexity?    

[Zope-dev] Zope 2.13.0 final released

2010-11-05 Thread Hanno Schlichting
and some new features. Hanno Schlichting Zope 2 Release Manager ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope

Re: [Zope-dev] Zope 2.13 - release candidate

2010-10-28 Thread Hanno Schlichting
Hi. On Sun, Oct 17, 2010 at 4:10 PM, Hanno Schlichting ha...@hannosch.eu wrote: With the release of both a final ZODB 3.10 and the ZTK 1.0, we are good to go on a release candidate for Zope 2.13. There's currently two bugs I consider blockers for the release candidate: - zopectl start

Re: [Zope-dev] Zope 2.13 - release candidate

2010-10-28 Thread Hanno Schlichting
On Thu, Oct 28, 2010 at 1:32 PM, Jens Vagelpohl j...@dataflake.org wrote: On 10/28/10 12:29 , Hanno Schlichting wrote: Both of these have been resolved now. The index problem is waiting for a Apache config reload on download.zope.org. I reloaded it. What did you change? I explained

Re: [Zope-dev] SVN: five.pt/trunk/src/five/pt/ The container should be the Acquisition.aq_parent.

2010-10-24 Thread Hanno Schlichting
On Sun, Oct 24, 2010 at 2:29 PM, Tres Seaver tsea...@palladion.com wrote: 'container' is supposed to be the folder which holds the script / template, not the context.  In a CMF site, that will typically be the site root, given the way items in skin layers appear to be direct attributes of the

Re: [Zope-dev] Zope Tests: 38 OK, 3 Failed

2010-10-18 Thread Hanno Schlichting
On Mon, Oct 18, 2010 at 3:12 PM, Marius Gedminas mar...@gedmin.as wrote: On Mon, Oct 18, 2010 at 01:58:28PM +0200, Zope Tests Summarizer wrote: Summary of messages to the zope-tests list. Period Sun Oct 17 12:00:00 2010 UTC to Mon Oct 18 12:00:00 2010 UTC. Subject: FAILED : ZTK 1.0dev /

[Zope-dev] Zope 2.13 - release candidate blockers

2010-10-17 Thread Hanno Schlichting
Hi. With the release of both a final ZODB 3.10 and the ZTK 1.0, we are good to go on a release candidate for Zope 2.13. There's currently two bugs I consider blockers for the release candidate: - zopectl start - doen't work (https://bugs.launchpad.net/zope2/+bug/628448) - Zope2 egg is not

Re: [Zope-dev] zc.buildout/buildout.org down - disaster

2010-10-12 Thread Hanno Schlichting
On Tue, Oct 12, 2010 at 5:01 PM, Andreas Jung li...@zopyx.com wrote: sorry - wrong answer. This is a stupid misbehavior of setuptools or zc.buildout. The zc.buildout package are hosted on PyPI and PyPI was available. There is no reason for whatever component to connect to buildout.org and fail

Re: [Zope-dev] Zope 2.12 20% slower than Zope 2.9?!

2010-10-11 Thread Hanno Schlichting
On Mon, Oct 11, 2010 at 2:16 PM, Chris Withers ch...@simplistix.co.uk wrote: Just finished upgrading a medium sized project from Zope 2.9 to 2.12. One part of that does a batch of static copies of a Zope-served site. I guess I was hoping for a bit of a speed up, so was slightly horrified to

Re: [Zope-dev] Zope 2.12 20% slower than Zope 2.9?!

2010-10-11 Thread Hanno Schlichting
On Mon, Oct 11, 2010 at 10:54 PM, Chris Withers ch...@simplistix.co.uk wrote: What's the chameleon or z3c.pt way of dealing with this*? *'this' is stacks of ZODB-based page templates whose source may well be latin-1 encoded but, moreover, which are operating on a bunch of content that's

Re: [Zope-dev] Zope Tests: 42 OK, 8 Failed

2010-10-07 Thread Hanno Schlichting
On Thu, Oct 7, 2010 at 11:22 AM, Wichert Akkerman wich...@wiggy.net wrote: Perhaps more important is brevity. If the mail was a simple thing with a maximum of 15 lines or so where you can immediately see if something is wrong or not it would be much better. Something like: PROBLEMS

Re: [Zope-dev] Fun with vocabularies

2010-10-07 Thread Hanno Schlichting
Hi. On Thu, Oct 7, 2010 at 2:21 PM, Charlie Clark charlie.cl...@clark-consulting.eu wrote: I was wondering whether it's possible to use callables for schema vocabularies without registering them first? No offense, but isn't this a question for a users mailing list? It's not really about

Re: [Zope-dev] Zope Tests: 42 OK, 8 Failed

2010-10-06 Thread Hanno Schlichting
On Wed, Oct 6, 2010 at 6:02 PM, Adam GROSZER agros...@gmail.com wrote: Gary personally said about windows+python 2.4+zc.buildout: Just don't ask me. Either we just ignore this or I drop python 2.4. At least for zc,buildout 1.5+ I'd be fine to drop Python 2.4 test runs. We don't have zc.buildout

Re: [Zope-dev] Zope2 egg is not available in index

2010-10-02 Thread Hanno Schlichting
Hi. On Sat, Oct 2, 2010 at 1:26 PM, Baiju M baiju.m.m...@gmail.com wrote:     Why Zope2 egg itself is not available in index: http://download.zope.org/Zope2/index/2.12.11/ Could you please open a bug report at Launchpad about this? It's a bug in the release scripts. Hanno

Re: [Zope-dev] Zope Toolkit 1.0c2 release

2010-09-29 Thread Hanno Schlichting
On Tue, Sep 28, 2010 at 9:00 PM, Gediminas Paulauskas mene...@pov.lt wrote: The 1.0c2 tag has been copied from trunk, but it was supposed to be made from the 1.0 branch. Gaaarggghh. That's what I get from doing releases while being busy :( I made a new third release candidate from the correct

[Zope-dev] Zope Toolkit 1.0c2 release

2010-09-28 Thread Hanno Schlichting
find. Depending on the feedback we get we'll release a final release in the next two weeks. We post our meeting notes at http://docs.zope.org/zopetoolkit/releaseteam/index.html. Feel free to start discussing with us on this mailing list. Kind regards, Hanno Schlichting

Re: [Zope-dev] Zope Tests: 31 OK, 19 Failed, 2 Unknown

2010-09-25 Thread Hanno Schlichting
On Fri, Sep 10, 2010 at 10:52 PM, Tres Seaver tsea...@palladion.com wrote: My attempts at diagnosis. Subject: FAILED : Zope Buildbot / zope2 slave-ubuntu64 From: jdriessen at thehealthagency.com Date: Thu Sep  9 09:31:14 EDT 2010 URL:

Re: [Zope-dev] Zope Tests: 34 OK, 13 Failed, 3 Unknown

2010-09-23 Thread Hanno Schlichting
On Thu, Sep 23, 2010 at 8:40 AM, Michael Howitz m...@gocept.com wrote: Am 22.09.2010 um 21:05 schrieb Gediminas Paulauskas: I would add zope.generations rather than switch to maintenance branch. The independent zope.generations is what contains the code to use by applications. Nothing else

Re: [Zope-dev] Zope Tests: 42 OK, 12 Failed

2010-09-21 Thread Hanno Schlichting
On Tue, Sep 21, 2010 at 10:41 AM, Christophe Combelles cc...@free.fr wrote: This buildbot uses svn://svn.zope.org/repos/main/zopetoolkit/branches/1.0 but in ZTK 1.0, the [source] section still points to the trunks, so it has no effect. We should now have a maintenance branch for ALL packages,

Re: [Zope-dev] IUnicodeEncodingConflictResolver moronosity

2010-09-21 Thread Hanno Schlichting
On Tue, Sep 21, 2010 at 8:17 PM, Chris Withers ch...@simplistix.co.uk wrote: I like the idea of IUnicodeEncodingConflictResolver, ... [...] Why has no-one noticed this? Because there's not all that many people left using plain Zope 2 and upgrading to new versions. The rest is using Plone,

Re: [Zope-dev] buidout 1.5

2010-09-17 Thread Hanno Schlichting
On Fri, Sep 17, 2010 at 12:17 PM, Christophe Combelles cc...@free.fr wrote: There are some discussions in the grok and bluebream lists about the opportunity to upgrade to buildout 1.5, as it will provide *isolation without virtualenv*, so it should facilitate installations and deployments.

Re: [Zope-dev] Will zope.testing 3.10 be included in ZTK 1.0 final?

2010-09-15 Thread Hanno Schlichting
On Wed, Sep 15, 2010 at 9:29 AM, Robin Lee robinlee.s...@gmail.com wrote: Will zope.testing 3.10 be included in ZTK 1.0 final? No. The zope.testing and testrunner refactorings will not be included in ZTK 1.0. There's too many changes that need to be made in downstream projects to support this.

[Zope-dev] Zope Toolkit 1.0c1 release

2010-09-14 Thread Hanno Schlichting
://docs.zope.org/zopetoolkit/releaseteam/index.html. Feel free to start discussing with us on this mailing list. Kind regards, Hanno Schlichting ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts

[Zope-dev] Zope Toolkit - new 1.0 branch

2010-09-14 Thread Hanno Schlichting
Hi. After the release of the ZTK 1.0c1 I also created a maintenance branch for the ZTK 1.0. The branch can be found at: svn://svn.zope.org/repos/main/zopetoolkit/branches/1.0 Please update the buildbots to test this branch under all of Python 2.4, 2.5 and 2.6. The trunk is now open to

Re: [Zope-dev] Zope Tests: 58 OK, 8 Failed

2010-09-13 Thread Hanno Schlichting
On Mon, Sep 13, 2010 at 7:29 PM, Tres Seaver tsea...@palladion.com wrote: URL: http://mail.zope.org/pipermail/zope-tests/2010-September/019866.html Fails in 'bin/buildout' due to a version clash on zope.app.appsetup: I thought Hanno had fixed this issue already. URL:

Re: [Zope-dev] ZTK Windows support

2010-09-12 Thread Hanno Schlichting
On Sun, Sep 12, 2010 at 2:00 PM, Adam Groszer agroszer...@gmail.com wrote: On Sun, Sep 12, 2010 at 1:45 PM, Jim Fulton j...@zope.com wrote: They pass for the trunk of ztk.  They fail when running against a ztk without versions locked. That is, they fail when run against the trunks of the

Re: [Zope-dev] lxml dependency in Zope 2.12.10 KGS

2010-09-10 Thread Hanno Schlichting
Hi. On Fri, Sep 10, 2010 at 2:45 PM, Martin Aspeli optilude+li...@gmail.com wrote: The Zope 2.12.10 KGS at http://download.zope.org/Zope2/index/2.12.10/versions.cfg specifies  lxml = 2.2.6 There is no Python 2.6 Windows build for this egg, which means that this version cannot be installed

Re: [Zope-dev] lxml dependency in Zope 2.12.10 KGS

2010-09-10 Thread Hanno Schlichting
On Fri, Sep 10, 2010 at 3:17 PM, Martin Aspeli optilude+li...@gmail.com wrote: If we *are* going to use a convenience pin, then surely the ability to install on the world's most-used operating system has to be part of the convenience. ;-) That's a lame argument. Windows is almost irrelevant

Re: [Zope-dev] DTML is dead, long live DTML ;-)

2010-09-05 Thread Hanno Schlichting
On Sun, Sep 5, 2010 at 1:28 PM, Tim Hoffman zutes...@gmail.com wrote: So I was looking for zope eco system based non html/xml based templating systems as a response to Martin saying DTML is dead, as I am currently using DTML for these sorts of tasks. The Zope eco system for such tasks is the

Re: [Zope-dev] Extending Zope2 bin/instance run

2010-09-03 Thread Hanno Schlichting
On Fri, Sep 3, 2010 at 9:50 AM, Wichert Akkerman wich...@wiggy.net wrote: I have noticed that now that we are almost exclusively using eggs to distribute our software using bin/instance run has become difficult: often the script you want to run is located inside an egg which makes to path to

Re: [Zope-dev] Extending Zope2 bin/instance run

2010-09-03 Thread Hanno Schlichting
On Fri, Sep 3, 2010 at 10:30 AM, Wichert Akkerman wich...@wiggy.net wrote: On 9/3/10 10:27 , Hanno Schlichting wrote: Given that this code is completely untested except for people actually using it on different platforms I'm not personally going to merge the codebase any further. But anyone

[Zope-dev] zope.keyreference hashes vs. 32/64bit

2010-08-28 Thread Hanno Schlichting
Hi. I've recently stumbled on some at least to me unexpected behavior with zope.keyreference. For a persistent object it generates a unique key using: hash((database_name, oid)) where hash is Python's built-in hash function. Reading the documentation I assumed that a keyreference for the same

Re: [Zope-dev] SVN: Zope/trunk/buildout.cfg AccessControl has changes

2010-08-28 Thread Hanno Schlichting
On Sat, Aug 28, 2010 at 6:12 PM, Tres Seaver tsea...@palladion.com wrote: Modified: Zope/trunk/buildout.cfg === --- Zope/trunk/buildout.cfg   2010-08-25 17:16:57 UTC (rev 115947) +++ Zope/trunk/buildout.cfg   2010-08-25 17:18:10

Re: [Zope-dev] SVN: Zope/trunk/buildout.cfg AccessControl has changes

2010-08-28 Thread Hanno Schlichting
On Sat, Aug 28, 2010 at 7:17 PM, Tres Seaver tsea...@palladion.com wrote: The breakage might be in mr.developer, expecting a svn 1.6-only feature? I think it only requires Subversion 1.5 and not 1.6, which shouldn't be a problem. 1.4 is from the stone-age :) Hanno

Re: [Zope-dev] zope.keyreference hashes vs. 32/64bit

2010-08-28 Thread Hanno Schlichting
Hi. On Sat, Aug 28, 2010 at 8:47 PM, Jim Fulton j...@zope.com wrote: On Sat, Aug 28, 2010 at 12:17 PM, Hanno Schlichting ha...@hannosch.eu wrote: I've recently stumbled on some at least to me unexpected behavior with zope.keyreference. Specifically, zope.keyreference.persistent, I assume

Re: [Zope-dev] Zope 2.12.10, permission zope.Public vs zope2.Public

2010-08-23 Thread Hanno Schlichting
On Mon, Aug 23, 2010 at 6:13 PM, Sylvain Viollon sylv...@infrae.com wrote:  In Zope 2.12.10, in permissions.zcml of Five, zope2.Public is  defined. So you can use it in ZCML.  However the code who setup the security in security.py of the same  package doesn't care about zope2.Public, just

Re: [Zope-dev] Don't get ZODB 3.10 by installing Zope2.13

2010-08-23 Thread Hanno Schlichting
On Mon, Aug 23, 2010 at 9:14 PM, Vladislav Vorobiev vav...@mykniga.de wrote: I found in documentation for Zope2.13a http://docs.zope.org/zope2/releases/2.13/WHATSNEW.html that it's including ZODB 3.10. By running easy_install -i http://download.zope.org/Zope2/index/2.13.0a3 Zope2 I got

Re: [Zope-dev] (Zope2) a proposed tweak to assigning default roles to permissions

2010-08-19 Thread Hanno Schlichting
Hi. On Thu, Aug 19, 2010 at 6:15 AM, David Glick davidgl...@groundwire.org wrote: As an alternative to requiring calling setDefaultRoles/addPermission at import time, I suggest that we add an optional roles attribute to the permission directive.  This would then be used when the directive is

Re: [Zope-dev] Developer meeting today at 15:00 UTC

2010-08-18 Thread Hanno Schlichting
Hi. On Wed, Aug 18, 2010 at 8:36 AM, Christian Theune c...@gocept.com wrote: Hanno was there and we chatted a bit, one of the outcomes was his update mail which you already received. Hhm, interesting. Are you or me hallucinating? I definitely wasn't at the zope-dev meeting. There was a ZTK

[Zope-dev] The road to a ZTK 1.0

2010-08-17 Thread Hanno Schlichting
Hi. All members of the ZTK release team are back from vacation and we had our first meeting after the summer break today. The meeting notes will show up in the next days at the usual place. As a result we have finished our last self imposed task before a 1.0 release and deprecated a number of

Re: [Zope-dev] Zope Tests: 28 OK, 13 Failed, 1 Unknown

2010-08-14 Thread Hanno Schlichting
On Wed, Aug 11, 2010 at 3:21 PM, Tres Seaver tsea...@palladion.com wrote: Subject: FAILED (failures=1) : Zope-trunk Python-2.6.5 : Linux From: Zope Tests Date: Tue Aug 10 21:40:36 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-August/018203.html This is a failure in

Re: [Zope-dev] zope.pagetemplate new install dependencies introduced since 3.5.0 and a modest proposal.

2010-08-12 Thread Hanno Schlichting
Hi. On Thu, Aug 12, 2010 at 7:36 AM, Tim Hoffman zutes...@gmail.com wrote: I have been using zope.pagetemplate for quite some time within repoze.bfg projects and bobo (+zope.component) on google appengine (python 2.5.x). Is there a reason why you don't use Chameleon? Since version 1.1 it

Re: [Zope-dev] zope.pagetemplate new install dependencies introduced since 3.5.0 and a modest proposal.

2010-08-12 Thread Hanno Schlichting
On Thu, Aug 12, 2010 at 10:46 AM, Tim Hoffman zutes...@gmail.com wrote: I will revisit chameleon. One thing I note that chameleon uses python as default expressions where as zope.pagetemplate (and all our code) uses tal expressions as default, and python: when we want python.  If that default

Re: [Zope-dev] zope.pagetemplate new install dependencies introduced since 3.5.0 and a modest proposal.

2010-08-12 Thread Hanno Schlichting
On Thu, Aug 12, 2010 at 12:10 PM, Tim Hoffman zutes...@gmail.com wrote: The other thing I am trying to find is batch compiling all of the templates. I can't rely on 100% coverage in dev for all of the templates to be compiled with chameleon before deployment to appengine, have been hunting

Re: [Zope-dev] Changing and migrating persistence structure

2010-08-08 Thread Hanno Schlichting
On Sun, Aug 8, 2010 at 2:21 PM, Martin Aspeli optilude+li...@gmail.com wrote: On 08/08/2010, Jim Fulton j...@zope.com wrote: On Thu, Aug 5, 2010 at 2:36 AM, Martin Aspeli optilude+li...@gmail.com wrote: What is the best way to manage this type of migration? Today, it probably makes the most

Re: [Zope-dev] SVN: Zope/trunk/ Replaced failUnless with assertTrue and failIf with assertFalse in tests.

2010-08-08 Thread Hanno Schlichting
On Mon, Aug 9, 2010 at 12:00 AM, Tres Seaver tsea...@palladion.com wrote: Hanno Schlichting wrote: Log message for revision 11:   Replaced failUnless with assertTrue and failIf with assertFalse in tests. Hmm, I don't like the way 'asseertTrue' and 'assertFalse' read

Re: [Zope-dev] locale data inside zope.i18n

2010-08-05 Thread Hanno Schlichting
Hi. On Thu, Aug 5, 2010 at 6:42 PM, Baiju M mba...@zeomega.com wrote:    The zope.i18n has some locale data inside zope/i18n/locales/data. The global locale provider (zope.i18n.locales.locales) get data from this directory. What is the recommended approach to add a new locale XML file which

Re: [Zope-dev] Developer meeting 2010-08-02 at 15:00 UTC

2010-08-05 Thread Hanno Schlichting
On Thu, Aug 5, 2010 at 8:22 AM, Christian Theune c...@gocept.com wrote: Has everyone who was supposed to received their MSDN licenses by now? I got eight mails with different subscribers ids a couple of days ago. All of them where delayed by three days, so by the time I got them, they had

Re: [Zope-dev] Products in Zope 2.12+

2010-08-04 Thread Hanno Schlichting
Hi. On Wed, Aug 4, 2010 at 10:31 AM, Chris Withers ch...@simplistix.co.uk wrote: I'm in the process of egg-ifying some Zope 2 Products of mine (first up is MailTemplates) and I'm curious as to how add-in products work in an egg-based Zope setup. Do I need to include anything in zope.conf or

Re: [Zope-dev] Products in Zope 2.12+

2010-08-04 Thread Hanno Schlichting
On Wed, Aug 4, 2010 at 10:55 AM, Chris Withers ch...@simplistix.co.uk wrote: What does a regular ZCML slug look like? My first Google hit is this http://worldcookery.com/files/ploneconf05-five/step2.html :) Is this setuptools namespace package magic making things work or is there explicit

Re: [Zope-dev] Products in Zope 2.12+

2010-08-04 Thread Hanno Schlichting
On Wed, Aug 4, 2010 at 11:13 AM, Chris Withers ch...@simplistix.co.uk wrote: Okay, but what about: include package=Products.Whatever / ...causes Whatever/__init__.py's initialize method to get called? Yes. Eggified products behave in the same way as code dumped into one of the products

Re: [Zope-dev] docs.zope.org automation

2010-08-03 Thread Hanno Schlichting
On Tue, Aug 3, 2010 at 11:05 PM, Jens Vagelpohl j...@dataflake.org wrote: I understand that. But it must be possible to do that programatically in my code. I mean, setup.py --long-description obviously executes Python code, which I may be able to execute myself in my current interpreter

Re: [Zope-dev] Class advisors in Python 3

2010-07-30 Thread Hanno Schlichting
On Fri, Jul 30, 2010 at 1:53 PM, Stephan Richter srich...@cosmos.phy.tufts.edu wrote: On Friday, July 30, 2010, Hanno Schlichting wrote: zope.interface contains 2to3 fixers to rewrite them to a class decorator syntax IIRC. Wow, that's really nice. BTW, does Python 2.7 support class decorators

<    1   2   3   4   5   6   7   >