[Zope-dev] ZPatterns transaction bug

Steve Alexander steve@cat-box.net
Sun, 27 Aug 2000 10:29:35 +0100


I have a trigger that is a datamanager-plugin for a Customizer folder.
The trigger listens to ADD events.

If the trigger rasies an exception as it is notified that a new DataSkin
object is being added beneath the customizer folder, I get a ZODB error:

2000-08-27T09:25:38 ERROR(200) ZODB Couldn't load state for
'\000\000\000\000\000\000*\336'
Traceback (innermost last):
  File /usr/local/zope/SiteBox/lib/python/ZODB/Connection.py, line 442,
in setstate
  File /usr/local/zope/SiteBox/lib/python/ZODB/FileStorage.py, line 587,
in load
    (Object: /usr/local/zope/SiteBox/var/Data.fs)
  File /usr/local/zope/SiteBox/lib/python/ZODB/FileStorage.py, line 563,
in _load
    (Object: /usr/local/zope/SiteBox/var/Data.fs)
KeyError: *Þ

Sometimes I get slightly different errors, where Zope refuses to commit
any more transactions.

Zope 2.2.1, ZPatterns 0-4-1snap1 with the DataSkins patch I posted a few
minutes ago.

--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net