Public bug reported: Binary package hint: python2.5
Upgrading to the latest python2.5-2.5.1-5ubuntu3 package in Gutsy breaks spambayes. Here's the output of a failed training session: Traceback (most recent call last): File "/usr/bin/sb_filter.py", line 257, in <module> main() File "/usr/bin/sb_filter.py", line 248, in main action(msg) File "/usr/bin/sb_filter.py", line 179, in filter self.open('r') File "/usr/bin/sb_filter.py", line 163, in open self.h = hammie.open(self.dbname, self.usedb, self.mode) File "/usr/lib/python2.5/site-packages/spambayes/hammie.py", line 267, in open return Hammie(storage.open_storage(filename, useDB, mode)) File "/usr/lib/python2.5/site-packages/spambayes/storage.py", line 708, in open_storage return klass(data_source_name, mode) File "/usr/lib/python2.5/site-packages/spambayes/storage.py", line 187, in __init__ self.load() File "/usr/lib/python2.5/site-packages/spambayes/storage.py", line 215, in load if self.db.has_key(self.statekey): File "/usr/lib/python2.5/shelve.py", line 98, in has_key return self.dict.has_key(key) File "/usr/lib/python2.5/site-packages/PIL/__init__.py", line 256, in has_key File "bsddb/dbutils.py", line 62, in DeadlockWrap bsddb.db.DBRunRecoveryError: (-30975, 'DB_RUNRECOVERY: Fatal error, run database recovery -- /home/dhess/.hammiedb: pgi\ n failed for page 217') Exception bsddb.db.DBRunRecoveryError: DBRunRecoveryError(-30975, 'DB_RUNRECOVERY: Fatal error, run database recovery -\ - PANIC: fatal region error detected; run recovery') in ignored Exception bsddb.db.DBRunRecoveryError: DBRunRecoveryError(-30975, 'DB_RUNRECOVERY: Fatal error, run database recovery -\ - PANIC: fatal region error detected; run recovery') in ignored >From the traceback, it wasn't obvious how to fix the problem (dunno how the interpreter ended up in PIL!), so I simply reverted to python2.5-2.5.1-5ubuntu1, which fixed the problem. ** Affects: python2.5 (Ubuntu) Importance: Undecided Status: New -- python2.5-2.5.1-5ubuntu3 breaks spambayes https://bugs.launchpad.net/bugs/139257 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs