Re: [ZODB-Dev] Repozo tests -- not

2009-12-02 Thread Godefroid Chapelle
Jim Fulton wrote: > > No one seems to be willing to step up and take responsibility. > I guess everyone assumes I will. > > Jim > I'll take the responsibility of transforming the manual test to an automated... -- Godefroid Chapelle (aka __gotc

Re: [ZODB-Dev] Repozo tests -- not

2009-12-02 Thread Godefroid Chapelle
Godefroid Chapelle wrote: > Jim Fulton wrote: > > > >> >> No one seems to be willing to step up and take responsibility. >> I guess everyone assumes I will. >> >> Jim >> > > I'll take the responsibility of transforming the manual tes

Re: [ZODB-Dev] Repozo tests -- not

2009-12-02 Thread Godefroid Chapelle
Tres Seaver wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Godefroid Chapelle wrote: >> Godefroid Chapelle wrote: >>> Jim Fulton wrote: >>> >>> >>> >>>> No one seems to be willing to step up and take responsibility.

Re: [ZODB-Dev] Repozo tests -- not

2009-12-02 Thread Godefroid Chapelle
. I suspect I do not express myself correctly. I try to say that repozo should be tested against a database being mutated (the current test only exercise backups when the db is closed). As far as I can understand, THE reason for repozo is to backup without stopping the ZOD

Re: [ZODB-Dev] undo (and storage interface) brokenness

2009-12-24 Thread Godefroid Chapelle
customers. They rather have me restore some content with a few minutes of work even at the cost (for them) of undoing later transactions. IOW, I'll support Martin's statement : step-by-step undo should be kept if possible. -- Godefroid Chapelle (aka __gotcha) http://bubblenet.be

[ZODB-Dev] TypeError: ('object.__new__(SyncedLanguages) is not safe, use Persistence.Persistent.__new__()', ...

2010-12-30 Thread Godefroid Chapelle
ope I have not told too many silly things -- Godefroid Chapelle (aka __gotcha) http://bubblenet.be ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.o

Re: [ZODB-Dev] TypeError: ('object.__new__(SyncedLanguages) is not safe, use Persistence.Persistent.__new__()', ...

2010-12-30 Thread Godefroid Chapelle
Le 31/12/10 02:02, Godefroid Chapelle a écrit : > Hi, > > I have been fighting all day to understand a bug with the unregistration > of a utility from a local site. > > After unregistration, some instance is left in the _subscribers list of > the utilities AdapterRegi

Re: [ZODB-Dev] TypeError: ('object.__new__(SyncedLanguages) is not safe, use Persistence.Persistent.__new__()', ...

2010-12-30 Thread Godefroid Chapelle
Le 31/12/10 04:08, Marius Gedminas a écrit : > On Fri, Dec 31, 2010 at 02:02:36AM +0100, Godefroid Chapelle wrote: >> I have been fighting all day to understand a bug with the unregistration >> of a utility from a local site. >> >> After unregistration, some instance

Re: [ZODB-Dev] Progress report: porting persistent, BTrees to Python3

2012-12-16 Thread Godefroid Chapelle
of us will be able to participate. Regards, -- Godefroid Chapelle (aka __gotcha) http://bubblenet.be ___ For more information about ZODB, see http://zodb.org/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev

[ZODB-Dev] POSKeyError when transaction.commit after savepoint.rollback and connection.readCurrent

2013-09-17 Thread Godefroid Chapelle
/6457bcfd07b3b77f240cbc6d60f222f0d40e8d5d Before the fix, the test triggered a traceback very similar to the one seen when migrating Plone. As I am not an expert of ZODB internals, I'd like someone to review my fix even if the test suite does not break. Thanks -- Godefroid Chapelle (aka __gotcha)

Re: [ZODB-Dev] POSKeyError when transaction.commit after savepoint.rollback and connection.readCurrent

2013-09-23 Thread Godefroid Chapelle
Le 17/09/13 10:44, Godefroid Chapelle a écrit : Hi, Plone 3 to 4 migration occasionally triggers a POSKeyError during transaction commit. See http://rpatterson.net/blog/poskeyerror-during-commit I encountered the issue yesterday. I committed a test and a fix in branch 3.10. https

Re: [ZODB-Dev] POSKeyError when transaction.commit after savepoint.rollback and connection.readCurrent

2014-02-03 Thread Godefroid Chapelle
only ? Pull the fix and do some magic with the test so that it runs only in Python 2 ? Other suggestion ? Regards, -- Godefroid Chapelle (aka __gotcha) http://bubblenet.be ___ For more information about ZODB, see http://zodb.org/ ZODB-Dev mailing list

Re: [ZODB-Dev] POSKeyError when transaction.commit after savepoint.rollback and connection.readCurrent

2014-02-03 Thread Godefroid Chapelle
reference to newly created objects (iow in same transaction). And that the fix I propose makes sense anyway. -- Godefroid Chapelle (aka __gotcha) http://bubblenet.be -- Godefroid Chapelle (aka __gotcha) http://bubblenet.be ___ For more information about

Re: [ZODB-Dev] [zopefoundation/ZODB] 49919d: test for POSKeyError during transaction commit

2014-02-04 Thread Godefroid Chapelle
thout acquisition is welcome. Which other change is inappropriate ? -- Godefroid Chapelle (aka __gotcha) http://bubblenet.be ___ For more information about ZODB, see http://zodb.org/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/ma

Re: [ZODB-Dev] [zopefoundation/ZODB] 49919d: test for POSKeyError during transaction commit

2014-02-05 Thread Godefroid Chapelle
cond transaction hence does not need to participate in readCurrent dance. This was a very long explanation which I hope will help to confirm the fix or to come up with a better one. PS: keep in mind that english is not my mothertongue. -- Godefroid Chapelle (aka __gotcha) http://bubblenet.b

Re: [ZODB-Dev] [zopefoundation/ZODB] 49919d: test for POSKeyError during transaction commit

2014-02-05 Thread Godefroid Chapelle
th a better one. > >PS: keep in mind that english is not my mothertongue. :) You do very well. I think your fix is correct. As you point out, It doesn't make sense to guard against conflicts on new objects. I think a cleaner test could be written using the co

[ZODB-Dev] Re: ZODB Benchmarks

2007-12-06 Thread Godefroid Chapelle
tests might already be a good proof ? Or should we be more prudent ? If it would, What do you mean by 'If it would' ? then of course we should contribute documentation and a test to the Python source tree. Jim -- Jim Fulton Zope Corporation -- Godefroid Cha

[ZODB-Dev] Re: ZODB Benchmarks

2007-12-06 Thread Godefroid Chapelle
Jim Fulton wrote: On Dec 6, 2007, at 2:40 PM, Godefroid Chapelle wrote: Jim Fulton wrote: On Nov 6, 2007, at 2:40 PM, Sidnei da Silva wrote: Despite this change there are still a huge amount of unexplained calls to the 'persistent_id' method of the ObjectWriter in serialize

[ZODB-Dev] Re: ZODB Benchmarks

2007-12-07 Thread Godefroid Chapelle
Jim Fulton wrote: It sounds like I should write some pickle and cPickle tests and we should update the ZODB trunk to take advantage of this. (/me fears gettimg mired in Python 3.) Jim Would you do that on Python 2.4, 2.5 or ... ? -- Godefroid Chapelle (aka __gotcha) http://bubblenet.be

[ZODB-Dev] Re: ZODB Benchmarks

2007-12-07 Thread Godefroid Chapelle
Godefroid Chapelle wrote: Jim Fulton wrote: On Dec 6, 2007, at 2:40 PM, Godefroid Chapelle wrote: Jim Fulton wrote: On Nov 6, 2007, at 2:40 PM, Sidnei da Silva wrote: Despite this change there are still a huge amount of unexplained calls to the 'persistent_id' method of the Ob

[ZODB-Dev] Re: ZODB Benchmarks

2007-12-07 Thread Godefroid Chapelle
Jim Fulton wrote: On Dec 7, 2007, at 10:55 AM, Godefroid Chapelle wrote: Jim Fulton wrote: It sounds like I should write some pickle and cPickle tests and we should update the ZODB trunk to take advantage of this. (/me fears gettimg mired in Python 3.) Jim Would you do that on Python

Re: [ZODB-Dev] Re: Ruby/Smalltalk OODB

2008-06-02 Thread Godefroid Chapelle
e are usually very demanding with themselves, which leads to the bad pattern of not advertizing our good stuff because it is not perfect. Time to change our patterns, and advertize stuff before they are perfect ;-) -- Godefroid Chapelle (aka __gotcha) http://bubblen

Re: [ZODB-Dev] problem with _p_mtime

2008-12-04 Thread Godefroid Chapelle
these scripts across your production ZODB? > > cheers > alan -- Godefroid Chapelle (aka __gotcha) http://bubblenet.be ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@z

[ZODB-Dev] Moving temporary storage from each zeo client to zeo server

2009-06-09 Thread Godefroid Chapelle
Hi, I found the following https://weblion.psu.edu/trac/weblion/wiki/TemporaryStorageInZeo where Weblion documents how to move temporary storage from each zeo client to zeo server in Zope2. I understand the pro (no need for sticky sessions). What would be the cons ? Thanks -- Godefroid