Re: [ZODB-Dev] Blobs, Copies, and Exports (Zope 3)

2008-10-24 Thread Jim Fulton
A few high-level observations. (I don't have time to get into the weeds.) 1. The parent pointers used in Zope 3 are, obviously, a problem for ZODB exports. You've already noticed this. A possible way to mitigate this would be to extend the export API to be able to omit objects from

Re: [ZODB-Dev] Blobs, Copies, and Exports (Zope 3)

2008-10-24 Thread Christian Theune
On Fri, 2008-10-24 at 09:51 -0400, Jim Fulton wrote: 2. I doubt that blobs have been factored into ZODB exports. This is, obviously, an oversight. They were factored in and we have tests. However, the initial pickle will empty them: copying blobs this way including their content isn't

Re: [ZODB-Dev] NotImplementedError when attempting to undo transactions

2008-10-24 Thread Chris Withers
Jim Fulton wrote: File /opt/Zope-2.11/lib/python/ZODB/DB.py, line 809, in abort raise NotImplementedError NotImplementedError You can ignore this error. It has no consequence. What does it mean? (It prevented my undo, which was a bit of a bummer :-S There's a bunch of stuff going on

Re: [ZODB-Dev] Blobs, Copies, and Exports (Zope 3)

2008-10-24 Thread Chris Withers
Christian Theune wrote: On Fri, 2008-10-24 at 09:51 -0400, Jim Fulton wrote: 2. I doubt that blobs have been factored into ZODB exports. This is, obviously, an oversight. They were factored in and we have tests. However, the initial pickle will empty them: copying blobs this way including

Re: [ZODB-Dev] Blobs, Copies, and Exports (Zope 3)

2008-10-24 Thread Jim Fulton
On Oct 24, 2008, at 10:00 AM, Christian Theune wrote: On Fri, 2008-10-24 at 09:51 -0400, Jim Fulton wrote: 2. I doubt that blobs have been factored into ZODB exports. This is, obviously, an oversight. They were factored in and we have tests. However, the initial pickle will empty them:

Re: [ZODB-Dev] Blobs, Copies, and Exports (Zope 3)

2008-10-24 Thread Christian Theune
On Fri, 2008-10-24 at 15:06 +0100, Chris Withers wrote: Christian Theune wrote: On Fri, 2008-10-24 at 09:51 -0400, Jim Fulton wrote: 2. I doubt that blobs have been factored into ZODB exports. This is, obviously, an oversight. They were factored in and we have tests. However, the

Re: [ZODB-Dev] Blobs, Copies, and Exports (Zope 3)

2008-10-24 Thread Chris Withers
Christian Theune wrote: On Fri, 2008-10-24 at 15:06 +0100, Chris Withers wrote: Christian Theune wrote: On Fri, 2008-10-24 at 09:51 -0400, Jim Fulton wrote: 2. I doubt that blobs have been factored into ZODB exports. This is, obviously, an oversight. They were factored in and we have

Re: [ZODB-Dev] NotImplementedError when attempting to undo transactions

2008-10-24 Thread Chris Withers
Carlos de la Guardia wrote: That's happened to me before. As Jim says, this error is not the culprit. If you check the error log on the ZMI you will find the *real* error. This *was* the error that showed up in the ZMI... Chris -- Simplistix - Content Management, Zope Python Consulting

Re: [ZODB-Dev] Blobs, Copies, and Exports (Zope 3)

2008-10-24 Thread Jeff Shell
On Oct 24, 2008, at 5:06 AM, Christophe Combelles wrote: What can I do here? I'm in the midst of a botched deployment of some content updates for a customer. I thought that copying something 'containing' a Blob would cause its contents to be copied. If this is an exercise for application layer

Re: [ZODB-Dev] Blobs, Copies, and Exports (Zope 3)

2008-10-24 Thread Jeff Shell
On Oct 24, 2008, at 7:51 AM, Jim Fulton wrote: A few high-level observations. (I don't have time to get into the weeds.) 1. The parent pointers used in Zope 3 are, obviously, a problem for ZODB exports. You've already noticed this. A possible way to mitigate this would be to extend

Re: [ZODB-Dev] [Zope-dev] Blobs and modes

2008-10-24 Thread Christian Theune
On Fri, 2008-10-24 at 15:50 -0400, Benji York wrote: On Fri, Oct 24, 2008 at 3:28 PM, Jim Fulton [EMAIL PROTECTED] wrote: On Oct 24, 2008, at 3:24 PM, Benji York wrote: Is there a good reason blobs don't support b or t in the mode strings passed to open? I'm refactoring some code that