Op 24 jul 2011, om 16:59 heeft Hanno Schlichting het volgende geschreven: > Hi. >
Hello, > I polished my zc.zodbdgc a bit and published them at > http://zodb.org/documentation/articles/multi-zodb-gc.html > > Those include a description on using the reference database to find > and fix PosKeyErrors (tested by Andreas). > I had a look at it today. However, if I run multi-check-gc, I get a Python error: Traceback (most recent call last): File "./bin/multi-zodb-gc", line 210, in <module> zc.zodbdgc.gc_command() File "/Users/sylvain/Documents/debug-eggs/zc.zodbdgc-0.6.0-py2.7.egg/zc/zodbdgc/__init__.py", line 99, in gc_command untransform=untransform, ptid=ptid) File "/Users/sylvain/Documents/debug-eggs/zc.zodbdgc-0.6.0-py2.7.egg/zc/zodbdgc/__init__.py", line 105, in gc return gc_(close, conf, days, ignore, conf2, fs, untransform, ptid) File "/Users/sylvain/Documents/debug-eggs/zc.zodbdgc-0.6.0-py2.7.egg/zc/zodbdgc/__init__.py", line 220, in gc_ getrefs(data, name, ignore)) File "/Users/sylvain/Documents/debug-eggs/zc.zodbdgc-0.6.0-py2.7.egg/zc/zodbdgc/__init__.py", line 398, in insert tid = max(tid, oldtid) NameError: global name 'oldtid' is not defined Which is true, oldtid is not defined anywhere in this Python module. I used zc.zodbdgc 0.6 and ZODB 2.10.3 (Zope 2 2.13.8) with Python 2.7. (I just run the script with a database that do have POSKeyError, using only a configuration file). Regards, Sylvain, -- Sylvain Viollon -- Infrae t +31 10 243 7051 -- http://infrae.com Hoevestraat 10 3033GC Rotterdam -- The Netherlands _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev