Bugs item #3357718, was opened at 2011-07-07 09:16
Message generated for change (Comment added) made by jstitch
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=3357718&group_id=61702

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: hammie
Group: 1.1.x
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Javier Novoa (jstitch)
Assigned to: Nobody/Anonymous (nobody)
Summary: sb_mboxtrain fails with Python 2.7.2

Initial Comment:
I get the following traceback:

  File "/usr/bin/sb_mboxtrain.py", line 349, in <module>
    main()
  File "/usr/bin/sb_mboxtrain.py", line 328, in main
    h = hammie.open(pck, usedb, "c")
  File "/usr/lib/python2.7/site-packages/spambayes/hammie.py", line 272, in open
    return Hammie(storage.open_storage(filename, useDB, mode), mode)
  File "/usr/lib/python2.7/site-packages/spambayes/storage.py", line 998, in 
open_storage
    return klass(data_source_name, mode)
  File "/usr/lib/python2.7/site-packages/spambayes/storage.py", line 154, in 
__init__
    self.load()
  File "/usr/lib/python2.7/site-packages/spambayes/storage.py", line 180, in 
load
    self.dbm = dbmstorage.open(self.db_name, self.mode)
  File "/usr/lib/python2.7/site-packages/spambayes/dbmstorage.py", line 70, in 
open
    return f(db_name, mode)
  File "/usr/lib/python2.7/site-packages/spambayes/dbmstorage.py", line 40, in 
open_best
    return f(*args)
  File "/usr/lib/python2.7/site-packages/spambayes/dbmstorage.py", line 20, in 
open_dbhash
    return bsddb.hashopen(*args)
AttributeError: 'NoneType' object has no attribute 'hashopen'

I use ArchLinux, with Python2 package, version 2.7.2-2

----------------------------------------------------------------------

>Comment By: Javier Novoa (jstitch)
Date: 2011-07-07 11:24

Message:
ok, fixed the problem.
It was that my python update didn't installed the bsddb module, so I
installed it by my own and now it all works fine.
Sorry for the inconvenience!

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=3357718&group_id=61702
_______________________________________________
Spambayes-bugs mailing list
Spambayes-bugs@python.org
http://mail.python.org/mailman/listinfo/spambayes-bugs

Reply via email to