Hello Dieter, thanks for your help. I now finally got rid of the old product. With kind regards Florian Reiser -----Original Message----- From: Dieter Maurer [mailto:dieter@handshake.de] Sent: Saturday, March 13, 2004 7:28 PM To: florian.reiser@ra-bc.de Cc: zope@zope.org Subject: RE: [Zope] ImportError Florian Reiser wrote at 2004-3-13 15:15 +0100:
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?
It is part of the "_col" attribute. In this attribute, the Z SQL method remembers the columns that were returned by the last query (to support the so called "searchable" interface).
How can I get rid of the product?
I fear this is not so easy... The right way would be to find out why Zope prevents you from entering the folder containing this Z SQL Method. In principle, Zope should return an instance of the "Broken" class (what you may see as a "broken object" from time to time). For some unknown reason this does not work in your case. This should be fixed... Unfortunately, it will probably require some deep ZODB zen to fix it. Maybe, your zen level is not yet advanced enough. In this case, you may try the following approach (make a backup first!). * export a subtree containing the broken Z SQL Method (what you did for the attached export) * delete this subtree (the broken Z SQL Method is now gone, unfortunatle together with other (maybe relevant) objects * replace the <global id="50904.41" name="str" module="Products.ZReportLab2.ZReportLab"/> in the XML export file by <string id="50904.41" encoding="repr">broken</string> * import the modified file at the orginal place If everything goes well, you will have again a fully functional site. -- Dieter
participants (1)
-
Florian Reiser