[ZODB-Dev] Pidfile not truncated

2006-04-25 Thread Thomas Guettler
Hi, We just had this in data.fs.lock: 831 5 The server had an unclean shutdown. The old PID was five digits long and was overridden by 831\n. We use an old version of ZODB, but I looked at: http://svn.zope.org/ZODB/trunk/src/ZODB/lock_file.py?view=markup and the lockfile is not truncated in

Re: [ZODB-Dev] Pidfile not truncated

2006-04-25 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25 Apr 2006, at 09:01, Thomas Guettler wrote: I think it is a bug. If you think there is a bug please use the collector: http://www.zope.org/Collectors/Zope Email gets lost and forgotten, it is unsuitable for reporting bugs. jens

[ZODB-Dev] Re: ZEO and Twisted

2006-04-25 Thread Florent Guillaume
[Ccing zodb-dev] On 25 Apr 2006, at 15:09, David Pratt wrote: The protocol is simple yes, but the iteractions w.r.t threading are sometimes subtle. Hi Florent. This could be set up using a twisted's application object so that you have a twisted app using a twisted .tac. I guess this

Re: [ZODB-Dev] Re: ZEO and Twisted

2006-04-25 Thread Jim Fulton
Florent Guillaume wrote: [Ccing zodb-dev] On 25 Apr 2006, at 15:09, David Pratt wrote: The protocol is simple yes, but the iteractions w.r.t threading are sometimes subtle. Hi Florent. This could be set up using a twisted's application object so that you have a twisted app using a

[ZODB-Dev] Corrupted Data Error?

2006-04-25 Thread Sidnei da Silva
Got the following exception while doing some work on a Zope instance here. It's the first time I see such error. * Module ZODB.Connection, line 704, in setstate * Module ZODB.Connection, line 760, in _setstate * Module ZODB.serialize, line 495, in setGhostState * Module

Re: [ZODB-Dev] Re: ZEO and Twisted

2006-04-25 Thread Florent Guillaume
On 25 Apr 2006, at 15:23, Jim Fulton wrote: Florent Guillaume wrote: [Ccing zodb-dev] On 25 Apr 2006, at 15:09, David Pratt wrote: The protocol is simple yes, but the iteractions w.r.t threading are sometimes subtle. Hi Florent. This could be set up using a twisted's application

Re: [ZODB-Dev] Re: ZEO and Twisted

2006-04-25 Thread Jim Fulton
Florent Guillaume wrote: On 25 Apr 2006, at 15:23, Jim Fulton wrote: Florent Guillaume wrote: [Ccing zodb-dev] On 25 Apr 2006, at 15:09, David Pratt wrote: The protocol is simple yes, but the iteractions w.r.t threading are sometimes subtle. Hi Florent. This could be set up using a

[ZODB-Dev] Re: SVN: Zope3/branches/jim-adapter/src/zope/app/component/ Added compatibility for old pickles.

2006-04-25 Thread Florent Guillaume
Hi, Jim Fulton wrote: Log message for revision 67595: Added compatibility for old pickles. Modified: Zope3/branches/jim-adapter/src/zope/app/component/tests/test_registration.py +# Work around a bug in ZODB +# XXX fix ZODB +class FileStorage(ZODB.FileStorage.FileStorage): + +def

[ZODB-Dev] Re: SVN: Zope3/branches/jim-adapter/src/zope/app/component/ Added compatibility for old pickles.

2006-04-25 Thread Jim Fulton
Florent Guillaume wrote: Hi, Jim Fulton wrote: Log message for revision 67595: Added compatibility for old pickles. Modified: Zope3/branches/jim-adapter/src/zope/app/component/tests/test_registration.py +# Work around a bug in ZODB +# XXX fix ZODB +class

[ZODB-Dev] Re: ZEO and Twisted

2006-04-25 Thread David Pratt
Florent Guillaume wrote: Huh, I thought you were talking about the ZEO client, ClientStorage, not the ZEO server. For the ZEO server I don't see the point of changing it, it works well. OTOH a ClientStorage has to integrate with the other servers in Zope, and that's the one that would

Re: [ZODB-Dev] Re: ZEO and Twisted

2006-04-25 Thread Jim Fulton
David Pratt wrote: ... Is there is any strong opposition to using the twistd daemon for a twisted zeo service? I am strongly against linking ZEO to an application's main loop. If twisted supports using multiple independent main loops, then it would be an option. Then the possible issues are:

Re: [ZODB-Dev] Corrupted Data Error?

2006-04-25 Thread Chris Withers
Sidnei da Silva wrote: Got the following exception while doing some work on a Zope instance here. It's the first time I see such error. * Module ZEO.ClientStorage, line 746, in load * Module ZEO.ClientStorage, line 769, in loadEx * Module ZEO.ServerStub, line 192, in loadEx *

Re: [ZODB-Dev] Corrupted Data Error?

2006-04-25 Thread Sidnei da Silva
On Tue, Apr 25, 2006 at 10:22:25AM -0300, Sidnei da Silva wrote: | Any hint to what can be done to recover from this situation? It's a bad disk block situation. No blame on Zope. Getting a new disk. -- Sidnei da Silva Enfold Systemshttp://enfoldsystems.com Fax +1 832 201 8856

Re: [ZODB-Dev] Discrete synchronization with ZEO

2006-04-25 Thread Arve Knudsen
On Mon, 24 Apr 2006 22:17:17 +0300, Dieter Maurer [EMAIL PROTECTED] wrote: Arve Knudsen wrote at 2006-4-23 22:44 +0300: I already use ZODB as a local persistency service for my Python application, now I'm considering ZEO as a distributed data source. The thing is I don't want to keep my

Re: [ZODB-Dev] Corrupted Data Error?

2006-04-25 Thread Tim Peters
[Sidnei da Silva] It's a bad disk block situation. No blame on Zope. Getting a new disk. That's refreshing -- most people would claim that ZODB destroyed their disk ;-) These are the times you're glad you made backups, eh? http://zope.org/Wikis/ZODB/FileStorageBackup

Re: [ZODB-Dev] Discrete synchronization with ZEO

2006-04-25 Thread Dieter Maurer
Arve Knudsen wrote at 2006-4-25 17:32 +0300: ... How should I ensure local ownership of objects from the ClientStorage, by deep copying them? The ZODB does not have any ownership concept. Zope, on the other hand has two: executable ownership and local role ownership. Executable ownership

Re: [ZODB-Dev] Discrete synchronization with ZEO

2006-04-25 Thread Arve Knudsen
I must say I'm not an expert on all things ZODB/ZEO, but what I meant by ownership is the management of persistent objects. The cache management logic of ZODB can the way I understand it ghostify objects, what happens if I insert an object from one ZODB (using ClientStorage) into another

Re: [ZODB-Dev] Re: ZEO and Twisted

2006-04-25 Thread Rodrigo Dias Arruda Senra
You probably already know all of these, but just in case ... [ Jim Fulton ]: --- | | I am strongly against linking ZEO to an application's main loop. Twisted performs better if the protocols build upon it rely on its reactor (asynchronous loop). That means breaking long