Re: [ZODB-Dev] Re: KeyError / POSKeyError

2007-03-29 Thread Tim Tisdall
Okay... I've managed to create a persistent object called 'p' with the OID of the missing object. I have no idea how to determine the database connection object to pass it to the ZODB.Connection.Connection.add() . -Tim On 3/27/07, Dieter Maurer [EMAIL PROTECTED] wrote: Tim Tisdall wrote at

Re: [ZODB-Dev] Re: KeyError / POSKeyError

2007-03-29 Thread Tim Tisdall
It took me all day, but I finally managed to figure out how to do what you suggested. Unfortunately, I still get the very same error: POSKeyError, Error Value: 0x01edf2 . Just to make sure I did it right, 0x01edf2 is the OID I should use in your solution, right? -Tim On 3/29/07, Tim

Re: [ZODB-Dev] Re: KeyError / POSKeyError

2007-03-29 Thread Dieter Maurer
Tim Tisdall wrote at 2007-3-29 12:02 -0400: Okay... I've managed to create a persistent object called 'p' with the OID of the missing object. I have no idea how to determine the database connection object to pass it to the ZODB.Connection.Connection.add() . If you have a persistent object

Re: [ZODB-Dev] Re: KeyError / POSKeyError

2007-03-29 Thread Dieter Maurer
Tim Tisdall wrote at 2007-3-29 16:03 -0400: It took me all day, but I finally managed to figure out how to do what you suggested. Unfortunately, I still get the very same error: POSKeyError, Error Value: 0x01edf2 . Just to make sure I did it right, 0x01edf2 is the OID I should use in your

Re: [ZODB-Dev] Re: KeyError / POSKeyError

2007-03-27 Thread Tim Tisdall
The broken object is a 1gb plone instance. Which is what I'm trying to recover. -Tim On 3/26/07, Dieter Maurer [EMAIL PROTECTED] wrote: Tim Tisdall wrote at 2007-3-23 20:08 -0400: ... broken objects ... Another possibility would be to try to delete the broken object(s). There is a HowTo

Re: [ZODB-Dev] Re: KeyError / POSKeyError

2007-03-27 Thread Dieter Maurer
Tim Tisdall wrote at 2007-3-27 09:17 -0400: The broken object is a 1gb plone instance. Which is what I'm trying to recover. You may try to find the (non broken) persistent subobjects of the broken objects and relink them to a new object. Then you can delete the broken object. Whether you have

Re: [ZODB-Dev] Re: KeyError / POSKeyError

2007-03-27 Thread Tim Tisdall
When I try to access any part of the plone instance I'm given the same exceptions I mentioned before. I can't seem to access any subobjects. Am I doomed? -Tim On 3/27/07, Dieter Maurer [EMAIL PROTECTED] wrote: Tim Tisdall wrote at 2007-3-27 09:17 -0400: The broken object is a 1gb plone

Re: [ZODB-Dev] Re: KeyError / POSKeyError

2007-03-27 Thread Paul Winkler
On Tue, Mar 27, 2007 at 02:59:51PM -0400, Tim Tisdall wrote: When I try to access any part of the plone instance I'm given the same exceptions I mentioned before. I can't seem to access any subobjects. Am I doomed? Are you getting these exceptions via the ZMI? You should also try

Re: [ZODB-Dev] Re: KeyError / POSKeyError

2007-03-27 Thread Tim Tisdall
That's what I've been using... the zopectl debug. It basically says that there is a KeyError: 'fammed-old' when I try to access a part of the object. The traceback seems to indicate that it's trying to connect to that object but isn't able to. I can get a list via dir(obj), but that seems to

Re: [ZODB-Dev] Re: KeyError / POSKeyError

2007-03-27 Thread Tim Tisdall
Maybe I missed mentioning it, but if there was no fammed-old object then it would give a KeyError: 'fammed-old'. If I created a new plone instance in the spot where it was expecting, it would instead give me a POSKeyError. I really don't know anything about Python... how do I create a

Re: [ZODB-Dev] Re: KeyError / POSKeyError

2007-03-24 Thread Andreas Jung
--On 24. März 2007 12:39:32 -0400 Tim Tisdall [EMAIL PROTECTED] wrote: Where can I find a fixed version of fsrefs.py? I've been looking via Google but haven't found anything yet. If there is one then you'll find it on svn.zope.org. -aj pgpiocEhbJI6L.pgp Description: PGP signature

Re: [ZODB-Dev] Re: KeyError / POSKeyError

2007-03-23 Thread Tim Tisdall
When I run the fsrefs.py on the database I get the following: - oid 0x0L persistent.mapping.PersistentMapping last updated: 2007-01-02 18:59:32.016077, tid=0x36AA393889A1800L refers to invalid object: oid ('\x00\x00\x00\x00\x00\x00\x00\x01', None) missing: 'unknown' oid 0x1L

Re: [ZODB-Dev] Re: KeyError / POSKeyError

2007-03-23 Thread Dieter Maurer
Tim Tisdall wrote at 2007-3-23 16:03 -0400: When I run the fsrefs.py on the database I get the following: - oid 0x0L persistent.mapping.PersistentMapping last updated: 2007-01-02 18:59:32.016077, tid=0x36AA393889A1800L refers to invalid object: oid ('\x00\x00\x00\x00\x00\x00\x00\x01',

Re: [ZODB-Dev] Re: KeyError / POSKeyError

2007-03-23 Thread Tim Tisdall
Okay, I didn't think it'd work, but I tried using a backup. It didn't work. I only have backups of the ZODB with the plone instance I want to keep. Unfortunately, it and all the backups seem to be hung up on finding the broken plone instance in a completely different ZODB. I didn't bother