Hello all!
I've spent a frustrating hour tracing the repercussions of a module name change in a Product on Zope 2.9.3. The problem was visible only on uninstall.
No need to go into all the details, but the tiny piece of additional information (in this case, the class name) given by this patch gave me just the clue I needed.  To make things easier for the next guy, I offer it for inclusion, with no reservations.
Would one of you Zope committers like to vet and apply it? 

In zope/lib/python/OFS:

diff -u Uninstalled.py.orig Uninstalled.py
--- Uninstalled.py.orig 2006-07-23 17:06:43.000000000 +0100
+++ Uninstalled.py      2006-07-23 16:38:38.000000000 +0100
@@ -38,7 +38,8 @@
         raise SystemError, (
             """This object was originally created by a product that
             is no longer installed.  It cannot be updated.
-            """ )
+            %s
+            """ % repr(self) )
     def __getattr__(self, name):
         if name[:3]=='_p_':
--r

_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to