[ python-Bugs-986528 ] bsddb/weakref error
SourceForge.net
noreply at sourceforge.net
Fri Jul 9 16:08:55 CEST 2004
Bugs item #986528, was opened at 2004-07-07 06:51
Message generated for change (Comment added) made by montanaro
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=986528&group_id=5470
Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Skip Montanaro (montanaro)
>Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: bsddb/weakref error
Initial Comment:
After a cvs up and reinstall of Python, Spambayes is giving
me this traceback:
Traceback (most recent call last):
File "/Users/skip/local/bin/sb_filter.py", line 257, in ?
main()
File "/Users/skip/local/bin/sb_filter.py", line 248, in main
action(msg)
File "/Users/skip/local/bin/sb_filter.py", line 192, in
train_spam
self.open('c')
File "/Users/skip/local/bin/sb_filter.py", line 163, in open
self.h = hammie.open(self.dbname, self.usedb,
self.mode)
File "/Users/skip/local/lib/python2.4/site-packages/
spambayes/hammie.py", line 275, in open
return Hammie(storage.open_storage(filename, useDB,
mode))
File "/Users/skip/local/lib/python2.4/site-packages/
spambayes/storage.py", line 679, in open_storage
return klass(data_source_name, mode)
File "/Users/skip/local/lib/python2.4/site-packages/
spambayes/storage.py", line 164, in __init__
self.load()
File "/Users/skip/local/lib/python2.4/site-packages/
spambayes/storage.py", line 189, in load
self.dbm = dbmstorage.open(self.db_name, self.mode)
File "/Users/skip/local/lib/python2.4/site-packages/
spambayes/dbmstorage.py", line 65, in open
return f(db_name, mode)
File "/Users/skip/local/lib/python2.4/site-packages/
spambayes/dbmstorage.py", line 19, in open_dbhash
import bsddb
File "/Users/skip/local/lib/python2.4/bsddb/__init__.py",
line 68, in ?
exec """
File "<string>", line 3, in ?
File "/Users/skip/local/lib/python2.4/weakref.py", line 152,
in ?
class KeyedRef(ref):
TypeError: cannot create 'builtin_function_or_method'
instances
I don't know what it means, but it wasn't happening before
the cvs up. I suspect something changed in the bsddb3
stuff, so I'm provisionally giving it to Greg.
----------------------------------------------------------------------
>Comment By: Skip Montanaro (montanaro)
Date: 2004-07-09 09:08
Message:
Logged In: YES
user_id=44345
Further inspection of recent python-checkins activity shows
a large change to the weakref stuff by Fred on July 2nd
(more recent than Greg's change to bsddb on June 28th), so
reassigning to him in case it's a weakref problem.
I've been so-far unable to back out the change in my
repository (subsequent changes to some of the files make
that difficult), so I can't verify the weakref changes are
the root of my problems, but they seem pretty wide-ranging,
so that's my guess.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=986528&group_id=5470
More information about the Python-bugs-list
mailing list