New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bsddb/weakref error #40516
Comments
After a cvs up and reinstall of Python, Spambayes is giving 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 |
Logged In: YES Further inspection of recent python-checkins activity shows |
Logged In: YES Are you sure your build is completely up to date? For |
Logged In: YES Yes. My sandbox has no tags. I generally just blindly do a I just reverted Fred's changes from July 2 to the relevant Maybe there's nothing wrong with what Fred checked in, but |
Logged In: YES What version of Spambayes are you using? Is there a Spambayes test suite I can run with a given Is this running on Mac OS X of some flavor? (Guessing from mwh's comment is right on target; something fishy is going |
Logged In: YES Have we worked out how Skip has hosed his install yet <wink>? |
Logged In: YES No we haven't. ;-) The only thing I can think of is I did a |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: