Re: [ZODB-Dev] TypeError: unbound method beforeCompletion() must be called with Synchronizer instance as first argument (got Transaction instance instead)

2011-07-26 Thread Wichert Akkerman
On 07/26/2011 01:47 PM, Stéphane Klein wrote: Hi, I've this in my source code : from zope.interface import implements from transaction.interfaces import ISynchronizer class Synchronizer(object): implements(ISynchronizer) def beforeCompletion(self, transaction):

Re: [ZODB-Dev] [RFC] ZEO: Allow non-packaged products

2011-04-29 Thread Wichert Akkerman
On 4/29/11 15:24 , Vincent Pelletier wrote: Hi. I need ZEO to be able to find non-packaged products for conflict resolution purposes. As ZEO AFAIK doesn't support this I gave it a quick try. I reached the works for me state, that I now would like to get feedback on. Basically, I transposed

[ZODB-Dev] 3.10.0b6 traceback

2010-09-10 Thread Wichert Akkerman
self._cache.new_ghost(oid, obj) AssertionError: The given oid is already in the cache is that likely to be a ZODB bug, or a bug in our application? Wichert. -- Wichert Akkerman wich...@wiggy.net It is simple to make things. http://www.wiggy.net/ It is hard to make things simple

Re: [ZODB-Dev] 3.10.0b6 traceback

2010-09-10 Thread Wichert Akkerman
/Connection.py, line 257, in get self._cache.new_ghost(oid, obj) AssertionError: The given oid is already in the cache is that likely to be a ZODB bug, or a bug in our application? Wichert. -- Wichert Akkerman wich...@wiggy.net It is simple to make things. http://www.wiggy.net

Re: [ZODB-Dev] Problem with handling of data managers that join transactions after savepoints

2010-05-11 Thread Wichert Akkerman
On 5/11/10 19:41 , Chris Withers wrote: Jim Fulton wrote: I plan to implement A soon if there are no objections. Unless someone somehow convinced me to do D, I'll also add an assertion in the Transaction.join method to raise an error if a data manager joins more than once. Option A sounds

Re: [ZODB-Dev] Using zodb and blobs

2010-04-14 Thread Wichert Akkerman
On 4/14/10 08:24 , Christian Theune wrote: I'm pretty sure it's not. IIRC fsync is defined by POSIX and absolutely requires the implementor to flush data physically to disk ensuring its persistency. If that doesn't hold true then all transactions are borked. That was the problem with fsync on

Re: [ZODB-Dev] redirect burps on unicode URLs

2010-02-25 Thread Wichert Akkerman
wrong list I suspect? :) On 2/25/10 14:56 , Adam GROSZER wrote: Hello, Looks like zope.publisher burps on unicode URL which contain non-ascii chars. This is from a KGS 3.4 application, but looking at the source it still seems to have the same problems. opinions? ...

Re: [ZODB-Dev] Data.fs size grows non-stop

2009-12-10 Thread Wichert Akkerman
or similar tools to create that mapping - you would get a lot of query options for free with those as well. Wichert. -- Wichert Akkerman wich...@wiggy.net It is simple to make things. http://www.wiggy.net/ It is hard to make things simple

Re: [ZODB-Dev] Data.fs size grows non-stop

2009-12-07 Thread Wichert Akkerman
. Wichert. -- Wichert Akkerman wich...@wiggy.net It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev

Re: [ZODB-Dev] [OT] NoSQL

2009-11-14 Thread Wichert Akkerman
On 11/13/09 21:33 , Shane Hathaway wrote: I've been studying how to build an enormous database based on what I know. There are an incredible number of distributed databases these days, but all of them concern me in one way or another. Can you share some of those concerns with us? I'ld be

Re: [ZODB-Dev] Zeo cache files : how to estimate the space?

2009-08-11 Thread Wichert Akkerman
On 8/11/09 15:29 , Dominique Arnoult wrote: Hello, i deal with a problem of /tmp. I have a 1 Go partition and cannot easily change it. I run a Zeo cluster of 7 clients. Since the lsof command, I can see 7 process and each process has 4 files opened of 100 Mb max. That corresponds of the

Re: [ZODB-Dev] error installing ZODB 3.9.0a12 with Python 2.6 on Windows

2009-04-03 Thread Wichert Akkerman
On 4/3/09 1:41 PM, Chris Withers wrote: buildout said easy_install barfed: Installing zeoinstance. Getting distribution for 'ZODB3'. error: Setup script exited with error: None An error occured when trying to install ZODB3 3.9.0a12.Look above this message f or any errors thatwere output by

Re: [ZODB-Dev] create unique container keys

2009-04-02 Thread Wichert Akkerman
On 4/2/09 4:36 PM, Christian Theune wrote: ZODB has autoincrement support for one type: OIDs. The problem of autoincrement is that this needs to be handled outside the scope of transactions. In a distributed fashion this seems rather hard to do in comparison to just buying into conflicts.

Re: [ZODB-Dev] Can I use RelStorage with ZODB3.9.0

2009-03-05 Thread Wichert Akkerman
On 3/6/09 6:27 AM, eastxing wrote: Hi all, About one month ago, I asked a question about 'ZODB pack' and got suggestions to update to new ZODB version. It took me one month to update my site from Plone2.5.5(with Zope2.9.6-final,ZODB3.6.2) to Plone3.1.7(with Zope2.10.7,ZODB3.7.3). Then I

Re: [ZODB-Dev] SVN woes.

2008-11-11 Thread Wichert Akkerman
On 11/11/08 4:10 PM, Izak Burger wrote: Jim Fulton wrote: I'm going to restore svn from a backup and see where that leaves us. I'm going to disable svn access while I work on this. Good luck :-) I know a little something about the hard work involved in recovering subversion repos,

Re: [ZODB-Dev] PyTables Storage

2008-11-01 Thread Wichert Akkerman
On 11/1/08 1:17 PM, David Pratt wrote: Hi guys. repoze has package is useful for solving the transaction management issue. http://svn.repoze.org/repoze.tm2 repoze.tm2 is a WSGI middleware wrapper around the transaction package that was split out from ZODB. It does not add magically

Re: [ZODB-Dev] [Checkins] SVN: ZODB/trunk/src/persistent/wref.py Merged the rst formatting to the trunk

2008-10-13 Thread Wichert Akkerman
in the APIDOC. I would suggest that the better change is to fix apidoc. Wichert. -- Wichert Akkerman [EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. ___ For more information

Re: [ZODB-Dev] [Checkins] SVN: ZODB/trunk/src/persistent/wref.pyMerged the rst formatting to the trunk

2008-10-13 Thread Wichert Akkerman
Christophe Combelles wrote: On Mon, 13 Oct 2008 08:32:52 +0200, Wichert Akkerman [EMAIL PROTECTED] wrote: Christophe Combelles wrote: Zvezdan Petkovic a écrit : On Oct 12, 2008, at 5:51 AM, Christophe Combelles wrote: Log message for revision 92067: Merged the rst formatting to the trunk

Re: [ZODB-Dev] Broken instances after refactoring in ZODB

2008-10-04 Thread Wichert Akkerman
. -- Wichert Akkerman[EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list

[ZODB-Dev] ZODB 3.8.1b8 tests do not run on OSX

2008-09-22 Thread Wichert Akkerman
/tests/forker.py, line 198, in shutdown_zeo_server ack = s.recv(1024) KeyboardInterrupt Wichert. -- Wichert Akkerman[EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple

Re: [ZODB-Dev] what could cause this kind of cache corruption?

2008-08-02 Thread Wichert Akkerman
Jim Fulton wrote: On Aug 1, 2008, at 11:13 AM, Wichert Akkerman wrote: Jim Fulton wrote: On Jul 31, 2008, at 1:53 PM, Chris Withers wrote: What I'd *really* like is a stable zodb release with Christian's patches for zeoraid and Shane's patches for RelStorage that then feeds through

Re: [ZODB-Dev] RelStorage: Clearing temp_store in replication-friendly way

2008-07-24 Thread Wichert Akkerman
memcache client library was written for MySQL (libmemcache is quite horrible). Python bindings for that library would improve many things, including this :) Wichert. -- Wichert Akkerman[EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make

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

2008-06-02 Thread Wichert Akkerman
to the Ruby buzz, translate the hype in terms of the ZODB, tone it down some, and add that it's been battle-tested for a decade. I assume you mean http://new.zope.org/projects/zodb ? It's there, waiting for the rest of that site to be finished. Wichert. -- Wichert Akkerman[EMAIL PROTECTED

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

2008-06-02 Thread Wichert Akkerman
already have a complete design with proper layouts on new.zope.org. We just need more content. Wichert. -- Wichert Akkerman[EMAIL PROTECTED]It is simple to make things. http://www.wiggy.net/ It is hard to make things simple

Re: [ZODB-Dev] RelStorage and BLOBs

2008-05-07 Thread Wichert Akkerman
customers. That means we can not use NFS mounts to store blobs. Wichert. -- Wichert Akkerman [EMAIL PROTECTED] It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. ___ For more information about ZODB, see

[ZODB-Dev] ZEO authentication change backported to 3.7 and 3.8

2008-05-03 Thread Wichert Akkerman
Since nobody objected I have backported the ZEO authentication patch from trunk to the 3.7 and 3.8 branches. In the meantime someone also filed a bugreport for this issue (https://bugs.launchpad.net/zodb/+bug/220856) which is fixed by this change. Wichert. -- Wichert Akkerman [EMAIL

Re: [ZODB-Dev] ZEO authentication change backported to 3.7 and 3.8

2008-05-03 Thread Wichert Akkerman
Jim Fulton wrote: I don't see any mention of this under 3.8.1 in the NEWS.txt on the 3.8.1 branch. Please add a news item. Sorry about that, fixed. Wichert. -- Wichert Akkerman [EMAIL PROTECTED] It is simple to make things. http://www.wiggy.net/ It is hard to make things

Re: [ZODB-Dev] Completing ZEO authentication support

2008-04-24 Thread Wichert Akkerman
love to have a release from current trunk as well to be able to have an official release with blob support, but I understand that that may not be realistic short term. Wichert. -- Wichert Akkerman [EMAIL PROTECTED] It is simple to make things. http://www.wiggy.net

Re: [ZODB-Dev] Completing ZEO authentication support

2008-04-24 Thread Wichert Akkerman
Shane Hathaway wrote: Wichert Akkerman wrote: I think the onle proposed changes that would be in this new 3.9 are your Scratch the proposal--I suggested it when I didn't realize Zope 2.11b1 was already out. invalidation patch and my authentication patch, is that correct? Considering

Re: [ZODB-Dev] Completing ZEO authentication support

2008-04-23 Thread Wichert Akkerman
Shane Hathaway wrote: Wichert Akkerman wrote: I would like to get that fix in for Zope 2.11, which will use ZODB 3.8. Are there any objections to changing this there as well? This is a bit of a grey area between a bugfix and completing an unfinished feature, and I'm do not know what the rules