Hello Dieter, I have searched for objects with the meta_type of the old product. Nothing to find. If I export the directory and scan the zexp-file, then I find the product in several places. If you can analyze the zexp-file, then write to me. I will send you the file, but I don't want to send it over the mailing-list. Is there anything else I can do? Regards Florian Reiser
You could try exporting to XML to find and remove the offender then importing. Florian Reiser wrote:
Hello Dieter,
I have searched for objects with the meta_type of the old product. Nothing to find. If I export the directory and scan the zexp-file, then I find the product in several places. If you can analyze the zexp-file, then write to me. I will send you the file, but I don't want to send it over the mailing-list.
Is there anything else I can do?
Florian Reiser wrote at 2004-3-9 17:34 +0100:
I have searched for objects with the meta_type of the old product. Nothing to find.
Zope's "FindSupport" finds only "ObjectManager" content. There are other ways to attach objects.
... If you can analyze the zexp-file, then write to me. I will send you the file, but I don't want to send it over the mailing-list.
I could in principle -- but why should I? At your place, I would look at the folder in an interactive Python interpreter (there is a HowTo around how to access the ZODB in an interactive interpreter). Assume "f" is your folder. You then can do: f._p_changed = 0 # this loads "f" into memory from pprint import pprint as pp pp(f.__dict__) # this lists "f"'s content I assume, you will see an instance of your class. How you can get rid of it in a consistent way, depends on how it is stored in "f". Thus, you may need to come back with what you have discovered... -- Dieter
Hello Dieter, I could find a ZSQL method in Zope, containing the problematic product (ZReportLab2). I append the xml export below. What function has it in the ZSQL method? How can I get rid of the product? With kind regards Florian Reiser -----Original Message----- From: Dieter Maurer [mailto:dieter@handshake.de] Sent: Wednesday, March 10, 2004 10:05 PM To: florian.reiser@ra-bc.de Cc: zope@zope.org Subject: Re: [Zope] ImportError Florian Reiser wrote at 2004-3-9 17:34 +0100:
I have searched for objects with the meta_type of the old product. Nothing to find.
Zope's "FindSupport" finds only "ObjectManager" content. There are other ways to attach objects.
... If you can analyze the zexp-file, then write to me. I will send you the file, but I don't want to send it over the mailing-list.
I could in principle -- but why should I? At your place, I would look at the folder in an interactive Python interpreter (there is a HowTo around how to access the ZODB in an interactive interpreter). Assume "f" is your folder. You then can do: f._p_changed = 0 # this loads "f" into memory from pprint import pprint as pp pp(f.__dict__) # this lists "f"'s content I assume, you will see an instance of your class. How you can get rid of it in a consistent way, depends on how it is stored in "f". Thus, you may need to come back with what you have discovered... -- Dieter
participants (3)
-
Dieter Maurer -
Florian Reiser -
Troy Farrell