[Zope-dev] Developer meeting on IRC in #zope today at 15:00 UTC

2010-06-08 Thread Christian Theune
Hi, it's time again. See the attached agenda. The three issues will be: - KGS 3.4.1 release state - Test runners/nightly builds - Meta See you later today, Christian -- Christian Theune · c...@gocept.com gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com

[Zope-dev] transaction_manager attribute of transaction.interfaces.IDataManager

2010-06-08 Thread Chris Withers
Hi All, What is this attribute actually used for? I see it present on IDataManager but I notice that zope.sqlalchemy's SessionDataManager doesn't have this attribute, with no apparent ill effect. cheers, Chris ___ Zope-Dev maillist -

Re: [Zope-dev] Developer meeting on IRC in #zope today at 15:00 UTC

2010-06-08 Thread Charlie Clark
Am 08.06.2010, 09:18 Uhr, schrieb Christian Theune c...@gocept.com: - KGS 3.4.1 release state - Test runners/nightly builds - Meta I'd like to add Adding Python 2.7 to the buildbots to that now that the RC is out. Charlie -- Charlie Clark Managing Director Clark Consulting Research

Re: [Zope-dev] deciding whether to do work in tpc_vote or tpc_finish

2010-06-08 Thread Laurence Rowe
On 8 June 2010 09:51, Chris Withers ch...@simplistix.co.uk wrote: Hi All, I need to write a data manger that interacts with a transactional system that doesn't support two phase commit. Looking for inspiration, I went to look at zope.sqlalchemy and zope.sendmail. In the non-tpc situation,

Re: [Zope-dev] transaction_manager attribute of transaction.interfaces.IDataManager

2010-06-08 Thread Chris Withers
Laurence Rowe wrote: transaction_manager = zope.interface.Attribute( The transaction manager (TM) used by this data manager. This is a public attribute, intended for read-only use. The value is an instance of ITransactionManager, typically set by the data

Re: [Zope-dev] transaction_manager attribute of transaction.interfaces.IDataManager

2010-06-08 Thread Laurence Rowe
On 8 June 2010 11:25, Chris Withers ch...@simplistix.co.uk wrote: Laurence Rowe wrote:    transaction_manager = zope.interface.Attribute(        The transaction manager (TM) used by this data manager.        This is a public attribute, intended for read-only use.  The value        is an

Re: [Zope-dev] transaction_manager attribute of transaction.interfaces.IDataManager

2010-06-08 Thread Chris Withers
Laurence Rowe wrote: On 8 June 2010 11:25, Chris Withers ch...@simplistix.co.uk wrote: Laurence Rowe wrote: transaction_manager = zope.interface.Attribute( The transaction manager (TM) used by this data manager. This is a public attribute, intended for read-only use. The

Re: [Zope-dev] deciding whether to do work in tpc_vote or tpc_finish

2010-06-08 Thread Chris Withers
Laurence Rowe wrote: Committing in tpc_vote is right so long as you ensure your data manager sorts last, and that there are no other data managers in the transaction which are using the same trick. Why does the latter part matter? (It is, of course, the situation I'm in, where

Re: [Zope-dev] deciding whether to do work in tpc_vote or tpc_finish

2010-06-08 Thread Christian Theune
On 06/08/2010 12:44 PM, Chris Withers wrote: Laurence Rowe wrote: Committing in tpc_vote is right so long as you ensure your data manager sorts last, and that there are no other data managers in the transaction which are using the same trick. Why does the latter part matter? (It is, of

Re: [Zope-dev] deciding whether to do work in tpc_vote or tpc_finish

2010-06-08 Thread Chris Withers
Laurence Rowe wrote: On 8 June 2010 09:51, Chris Withers ch...@simplistix.co.uk wrote: Hi All, I need to write a data manger that interacts with a transactional system that doesn't support two phase commit. Looking for inspiration, I went to look at zope.sqlalchemy and zope.sendmail. In

Re: [Zope-dev] deciding whether to do work in tpc_vote or tpc_finish

2010-06-08 Thread Chris Withers
Christian Theune wrote: If you have more than one then it can happen that the first one committed, but the second one doesn't and then you can't properly roll back. Okay, but this is quite a common occurrence now. For example, many projects will use zope.sendmail and zope.sqlalchemy

Re: [Zope-dev] deciding whether to do work in tpc_vote or tpc_finish

2010-06-08 Thread Laurence Rowe
On 8 June 2010 11:44, Chris Withers ch...@simplistix.co.uk wrote: Laurence Rowe wrote: Committing in tpc_vote is right so long as you ensure your data manager sorts last, and that there are no other data managers in the transaction which are using the same trick. Why does the latter part

Re: [Zope-dev] deciding whether to do work in tpc_vote or tpc_finish

2010-06-08 Thread Laurence Rowe
On 8 June 2010 12:48, Chris Withers ch...@simplistix.co.uk wrote: Christian Theune wrote: If you have more than one then it can happen that the first one committed, but the second one doesn't and then you can't properly roll back. Okay, but this is quite a common occurrence now. For

[Zope-dev] Zope Tests: 48 OK, 8 Failed

2010-06-08 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Mon Jun 7 12:00:00 2010 UTC to Tue Jun 8 12:00:00 2010 UTC. There were 56 messages: 6 from Zope Tests, 12 from ccomb at free.fr, 1 from ct at gocept.com, 37 from jdriessen at thehealthagency.com. Test failures - Subject: FAILED :

Re: [Zope-dev] deciding whether to do work in tpc_vote or tpc_finish

2010-06-08 Thread Chris Withers
Laurence Rowe wrote: it fails you will end up in an inconsistent state whatever. It's just that with the maildir implementation, it pretty much can't fail as it is only a rename and that should always succeed. Really, it should register as an after commit hook instead. How do I do that?

Re: [Zope-dev] deciding whether to do work in tpc_vote or tpc_finish

2010-06-08 Thread Laurence Rowe
On 8 June 2010 12:59, Chris Withers ch...@simplistix.co.uk wrote: Laurence Rowe wrote: it fails you will end up in an inconsistent state whatever. It's just that with the maildir implementation, it pretty much can't fail as it is only a rename and that should always succeed. Really, it should

Re: [Zope-dev] transaction_manager attribute of transaction.interfaces.IDataManager

2010-06-08 Thread Jim Fulton
On Tue, Jun 8, 2010 at 6:23 AM, Laurence Rowe l...@lrowe.co.uk wrote: On 8 June 2010 09:45, Chris Withers ch...@simplistix.co.uk wrote: Hi All, What is this attribute actually used for? I see it present on IDataManager but I notice that zope.sqlalchemy's SessionDataManager doesn't have this

Re: [Zope-dev] deciding whether to do work in tpc_vote or tpc_finish

2010-06-08 Thread Laurence Rowe
On 8 June 2010 14:38, Jim Fulton j...@zope.com wrote: This is intended as a broad response to the thread, rather than a response to any specific post. :) I've been thinking of expanding the data manager API to add an optional tpc_rollback method.  If tpc_finish returns a value and a data

Re: [Zope-dev] deciding whether to do work in tpc_vote or tpc_finish

2010-06-08 Thread Jim Fulton
On Tue, Jun 8, 2010 at 1:00 PM, Laurence Rowe l...@lrowe.co.uk wrote: On 8 June 2010 14:38, Jim Fulton j...@zope.com wrote: This is intended as a broad response to the thread, rather than a response to any specific post. :) I've been thinking of expanding the data manager API to add an

Re: [Zope-dev] deciding whether to do work in tpc_vote or tpc_finish

2010-06-08 Thread Laurence Rowe
On 8 June 2010 18:11, Jim Fulton j...@zope.com wrote: On Tue, Jun 8, 2010 at 1:00 PM, Laurence Rowe l...@lrowe.co.uk wrote: On 8 June 2010 14:38, Jim Fulton j...@zope.com wrote: This is intended as a broad response to the thread, rather than a response to any specific post. :) I've been

Re: [Zope-dev] deciding whether to do work in tpc_vote or tpc_finish

2010-06-08 Thread Jim Fulton
On Tue, Jun 8, 2010 at 1:44 PM, Laurence Rowe l...@lrowe.co.uk wrote: On 8 June 2010 18:11, Jim Fulton j...@zope.com wrote: On Tue, Jun 8, 2010 at 1:00 PM, Laurence Rowe l...@lrowe.co.uk wrote: On 8 June 2010 14:38, Jim Fulton j...@zope.com wrote: This is intended as a broad response to the

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

2010-06-08 Thread Jan-Jaap Driessen
On 4 June 2010 09:44, Jens Vagelpohl j...@dataflake.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6/3/10 16:29 , Tres Seaver wrote: Zope Tests Summarizer wrote: Subject: FAILED : Zope Buildbot / zope2.12 slave-osx From: jdriessen at thehealthagency.com Date: Wed Jun  2