[Zope-Checkins] SVN: Zope/branches/2.11/doc/CHANGES.txt updated to ZODB 3.8.1

2008-10-17 Thread Andreas Jung
Log message for revision 92289: updated to ZODB 3.8.1 Changed: U Zope/branches/2.11/doc/CHANGES.txt -=- Modified: Zope/branches/2.11/doc/CHANGES.txt === --- Zope/branches/2.11/doc/CHANGES.txt 2008-10-17 06:24:48 UTC (rev

[Zope-Checkins] SVN: Zope/branches/2.11/lib/python/ updated to ZODB 3.8.1

2008-10-17 Thread Andreas Jung
Log message for revision 92290: updated to ZODB 3.8.1 Changed: _U Zope/branches/2.11/lib/python/ -=- Property changes on: Zope/branches/2.11/lib/python ___ Name: svn:externals - BTrees

[Zope-Checkins] SVN: Zope/branches/2.11/utilities/ use the _current_ ZODB 3.8.1 release

2008-10-17 Thread Andreas Jung
Log message for revision 92299: use the _current_ ZODB 3.8.1 release Changed: _U Zope/branches/2.11/utilities/ -=- Property changes on: Zope/branches/2.11/utilities ___ Name: svn:externals - ZODBTools

[Zope-Checkins] SVN: Zope/branches/2.10/utilities/ using _current_ ZODB 3.7.1 release

2008-10-17 Thread Andreas Jung
Log message for revision 92300: using _current_ ZODB 3.7.1 release Changed: _U Zope/branches/2.10/utilities/ -=- Property changes on: Zope/branches/2.10/utilities ___ Name: svn:externals - ZODBTools -r 41153

Re: [Zope-dev] traversal: different with and without a request

2008-10-17 Thread Philipp von Weitershausen
El 17 Oct 2008, a las 10:37 , Christian Theune escribió: There is a process that actually needs the request and this process is what I call traversal: breaking down a URL and finding a publishable object. zope.traversing has (almost) nothing to do with it, the real kind of traversal happens

[Zope-dev] Zope Tests: 5 OK

2008-10-17 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Thu Oct 16 11:00:00 2008 UTC to Fri Oct 17 11:00:00 2008 UTC. There were 5 messages: 5 from Zope Tests. Tests passed OK --- Subject: OK : Zope-2.8 Python-2.3.6 : Linux From: Zope Tests Date: Thu Oct 16 20:50:58 EDT 2008 URL:

Re: [Zope-dev] traversal: different with and without a request

2008-10-17 Thread Jim Fulton
On Oct 15, 2008, at 12:02 PM, Philipp von Weitershausen wrote: Christian Theune wrote: we stumbled over an annoyance that took a while to debug: Writing an ITraversable, we used zope.traversing.api.traverse() in a test to verify our code. We registered the ITraversable as an (non-multi)

Re: [Zope-dev] traversal: different with and without a request

2008-10-17 Thread Philipp von Weitershausen
El 17 Oct 2008, a las 15:02 , Jim Fulton escribió: First of all, its name is quite misleading. It should really be called 'zope.resolvepath' because it resolves TALES-like object paths. In fact, it's pretty much only used by the PageTemplate machinery to hook it up to the TALES

Re: [Zope-dev] ForbiddenAttribute: why subclass AttributeError?

2008-10-17 Thread Christian Zagrodnick
On 2008-10-15 17:49:30 +0200, Christian Theune [EMAIL PROTECTED] said: Why is a ForbiddenAttribute also an AttributeError? Is this intended to avoid 'information leaks'? We found a nasty side-effect together with getattr and annotations: a user that didn't have read-access to

[Zope-dev] zope.testbrowser: Newlines in textarea not always preserved

2008-10-17 Thread Christian Zagrodnick
Hi, a few weeks ago I posted a bug regarding zope.testbrowser: https://bugs.launchpad.net/zope3/+bug/268139 »When there is XML or HTML-Code in the Textarea the newlines are removed.« Could anybody give me a hint how to fix it? I'd really apprechiate it because it prevents me from using Python

[Zope-dev] Double usage of vocabulary in z3c.form seems to fail

2008-10-17 Thread Hermann Himmelbauer
Hi, I currently have two schema.Choice() fields in my z3c.form - based form, that references the same vocabulary. runjobs = Choice( title = u'Job', vocabulary=('cronjobsVocabulary'), required = False) cronjobs = Choice( title = u'Periodic Jobs',

Re: [Zope-dev] SVN: ZODB/trunk/buildout.cfg Changed the generated test script to use a part-local tmp directory

2008-10-17 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: Log message for revision 92293: Changed the generated test script to use a part-local tmp directory that is cleaned up at the start of a test run. Unfortunately, the ZODB tests leave lots of temporary files behind

Re: [Zope-dev] SVN: ZODB/trunk/buildout.cfg Changed the generated test script to use a part-local tmp directory

2008-10-17 Thread Jim Fulton
On Oct 17, 2008, at 12:38 PM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: Log message for revision 92293: Changed the generated test script to use a part-local tmp directory that is cleaned up at the start of a test run. Unfortunately, the ZODB

Re: [Zope-dev] SVN: z3c.relationfield/trunk/buildout.cfg zope.testing somehow doesn't upgrade without hardcoding it. I don't know

2008-10-17 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martijn Faassen wrote: Log message for revision 92303: zope.testing somehow doesn't upgrade without hardcoding it. I don't know why I keep running into it, but I am running into it absolutely all over the place. There is a newer release of

Re: [Zope-dev] traversal: different with and without a request

2008-10-17 Thread Stephan Richter
On Friday 17 October 2008, Jim Fulton wrote: It would be nice to deprecate zope.traversing and fold it into   zope.app.pagetemplate. Just skimming the thread, wouldn't this make it harder for us to integrate z3c.pt, which also needs those traversal APIs? Regards, Stephan -- Stephan Richter

Re: [Zope-dev] traversal: different with and without a request

2008-10-17 Thread Jim Fulton
On Oct 17, 2008, at 1:13 PM, Stephan Richter wrote: On Friday 17 October 2008, Jim Fulton wrote: It would be nice to deprecate zope.traversing and fold it into zope.app.pagetemplate. Just skimming the thread, wouldn't this make it harder for us to integrate z3c.pt, which also needs

Re: [Zope-dev] zope.interface: verifyObject vs properties

2008-10-17 Thread Dieter Maurer
Christian Theune wrote at 2008-10-16 20:27 +0200: ... Then again, verifyObject is a *very* light way to spot simple errors. IMHO attributes and methods aren't that different in Python, as using both may result in exceptions. Using attributes (not computed one) does not result in exceptions.

Re: [Zope-dev] zope.interface: verifyObject vs properties

2008-10-17 Thread Thomas Lotze
Dieter Maurer [EMAIL PROTECTED] schrieb: And if the attribute is implemented by a property (of the class, i.e. the decriptor is on the metaclass), then the descriptors __get__ is called (in the same way as for verifyObject). Instance properties (descriptor on the class) may not define methods

Re: [Zope-dev] zope.interface: verifyObject vs properties

2008-10-17 Thread Dieter Maurer
Thomas Lotze wrote at 2008-10-16 20:57 +0200: Christian Theune [EMAIL PROTECTED] wrote: Arguably, the check for an attribute would be sufficient if it checked whether an attribute implementation is around -- either by a simple attribute value or a descriptor providing that. At this point, I

Re: [Zope-dev] zope.interface: verifyObject vs properties

2008-10-17 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dieter Maurer wrote: Thomas Lotze wrote at 2008-10-16 20:57 +0200: Christian Theune [EMAIL PROTECTED] wrote: Arguably, the check for an attribute would be sufficient if it checked whether an attribute implementation is around -- either by a

Re: [Zope-dev] zope.interface: verifyObject vs properties

2008-10-17 Thread Dieter Maurer
Thomas Lotze wrote at 2008-10-17 19:42 +0200: Dieter Maurer [EMAIL PROTECTED] schrieb: ... Instance properties (descriptor on the class) may not define methods (probably a bug). I don't understand what you're saying in that last sentence; can you elaborate? verifyObject/verifyClass is likely

Re: [Zope-dev] [Checkins] SVN: zope.testing/trunk/ - Open doctest files in universal mode, so that packages released in Windoes

2008-10-17 Thread Jim Fulton
testrunner-coverage.txt is failing since this check in. What's up with this? Jim On Aug 27, 2008, at 3:41 AM, Stephan Richter wrote: Log message for revision 90401: - Open doctest files in universal mode, so that packages released in Windoes can be tested in Linux, for example.

Re: [Zope-dev] zope.interface: verifyObject vs properties

2008-10-17 Thread Thomas Lotze
Dieter Maurer [EMAIL PROTECTED] schrieb: verifyObject/verifyClass is likely not to handle the following case correctly: class I(Interface): def m(...): ... class C(object): implements(I) m = property(lambda self: lambda ...: ...) i.e. when

Re: [Zope-dev] zope.interface: verifyObject vs properties

2008-10-17 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dieter Maurer wrote: Thomas Lotze wrote at 2008-10-17 19:42 +0200: Dieter Maurer [EMAIL PROTECTED] schrieb: ... Instance properties (descriptor on the class) may not define methods (probably a bug). I don't understand what you're saying in that

Re: [Zope-dev] [Checkins] SVN: zope.testing/trunk/ - Open doctest files in universal mode, so that packages released in Windoes

2008-10-17 Thread Stephan Richter
On Friday 17 October 2008, Jim Fulton wrote: testrunner-coverage.txt is failing since this check in.  What's up   with this? It passes for me on Python 2.5. Can you be more specific? Are you using a ZC-internal set of package versions? :-) Regards, Stephan -- Stephan Richter Web Software

Re: [Zope-dev] [Checkins] SVN: zope.testing/trunk/ - Open doctest files in universal mode, so that packages released in Windoes

2008-10-17 Thread Jim Fulton
On Oct 17, 2008, at 3:16 PM, Stephan Richter wrote: On Friday 17 October 2008, Jim Fulton wrote: testrunner-coverage.txt is failing since this check in. What's up with this? It passes for me on Python 2.5. Sigh. It passes for me too with 2.5. Can you be more specific? It fails with

Re: [Zope-dev] zope.interface: verifyObject vs properties

2008-10-17 Thread Thomas Lotze
Tres Seaver [EMAIL PROTECTED] schrieb: Dieter Maurer wrote: class C(object): implements(I) m = property(lambda self: lambda ...: ...) i.e. when a method (declared by the interface) is implemented by a property. Why would I want to do that, rather than using

[Zope-dev] Errors / Warnings in Zope log - what to do?

2008-10-17 Thread Hermann Himmelbauer
Hi, During testing, I found the following warnings/errors in my zope log: --- 2008-10-17T17:56:50 WARNING ZopePublication Competing writes/reads at ???: database conflict error (oid 0x06d3, class zc.queue._queue.BucketQueue, serial this txn started with 0x0379451cbf5d7bdd 2008-10-17

Re: [Zope-dev] Double usage of vocabulary in z3c.form seems to fail

2008-10-17 Thread Hermann Himmelbauer
Am Freitag 17 Oktober 2008 18:06:34 schrieb Hermann Himmelbauer: Hi, I currently have two schema.Choice() fields in my z3c.form - based form, that references the same vocabulary. Aeh, sorry, forget about it - I had a mistake in my page template, which referenced the same widget for two times,

Re: [Zope-dev] traversal: different with and without a request

2008-10-17 Thread Wichert Akkerman
Previously Jim Fulton wrote: On Oct 17, 2008, at 1:13 PM, Stephan Richter wrote: On Friday 17 October 2008, Jim Fulton wrote: It would be nice to deprecate zope.traversing and fold it into zope.app.pagetemplate. Just skimming the thread, wouldn't this make it harder for us to

[Zope] Zope 2.11.1-final MailHost Product

2008-10-17 Thread Giampiero Benvenuti
To whom it may concern, Thanks so much for your good work and for adding the new feature (MailHost with asynchronous mode). I have just installed the new version of Zope (2.11.1) on my Mac to be able to use it. I did struggle a bit, though, because I didn't realize that in the method for

Re: [Zope] Five and editform

2008-10-17 Thread JeanMichel FRANCOIS
Hi Mark Gibson, Do you develop this with egg ? throw Products namespace ? The zcml seems good. If you develop outside of the Products namespace don't forget to include your package in the site.zcml. You can verify this by making a mistake in the zcml and try to start zope. Does you content

[Zope] Stepper1.5.0: more steps !!!!

2008-10-17 Thread JeanMichel FRANCOIS
Thx Marco I don't know what was the pb, but after having this issue, my instance was not able to start. So i have re-buildout it and now, all is OK. Stepper work with those Products/__init__.py files. In fact i m adding __init__ file to every Products folder because Pydev index source in it

Re: [Zope] Five and editform

2008-10-17 Thread Mark Gibson
Hi JeanMichel, thanks for our reply. This is not an egg - just a simple product I have in instance_home/lib/python. I'm working with Zope 2.9.7, not a buildout environment. I get the Boring product in the Add dropdown, and I can create the object. I do have the product included in

Re: [Zope] Python compatibility for Zope 2.11

2008-10-17 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dennis Allison wrote: Is the appropriate Python still 2.4.5 and not either 2.5.X or 2.6.X? We are discussion 2.5 / 2.6 as supported for the not-yet-released 2.12; nothing has changed (or will) for the already-released 2.11. Tres. - --

[Zope] Zope failing to load causing 503 error

2008-10-17 Thread rugbert
I migrated a server from one machine to another (using this thread: http://ubuntuforums.org/showthread.php?t=35087) and while most everything transferred over correctly (some permission settings didnt) apache isnt %100 working. There are two virtual host files, the default, and the

Re: [Zope] Zope failing to load causing 503 error

2008-10-17 Thread rugbert
here is an error I found in my apache error log, its repeated over and over: 127.0.0.1 - - [07/Oct/2008:05:27:41 -0500] GET / HTTP/1.0 503 323 - Apache/2.2.3 (Ubuntu) PHP/5.2.1 mod_ssl/2.2.3 OpenSSL/0.9.8c (internal dummy connection) rugbert wrote: I migrated a server from one machine to

Re: [Zope] .html from python

2008-10-17 Thread Andrew Milton
+---[ Garry Saddington ]-- | How would I do this: | | dtml_method = context.singleitemview.html | s = | return s dtml_method = getattr(context, 'singleitemview.html') return dtml_method(client=context, REQUEST={}, foo='bar') -- Andrew Milton [EMAIL PROTECTED]

Re: [Zope] .html from python

2008-10-17 Thread Garry Saddington
On Friday 17 October 2008 21:30, Andrew Milton wrote: +---[ Garry Saddington ]-- | How would I do this: | | dtml_method = context.singleitemview.html | s = | return s dtml_method = getattr(context, 'singleitemview.html') return dtml_method(client=context,