[spambayes-bugs] [ spambayes-Bugs-811725 ] 1.06a - which_database
fails on Win32
SourceForge.net
noreply at sourceforge.net
Wed Sep 24 20:59:15 EDT 2003
Bugs item #811725, was opened at 2003-09-25 00:28
Message generated for change (Comment added) made by anadelonbrin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=811725&group_id=61702
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Shawn Behrens (sbehrens)
Assigned to: Nobody/Anonymous (nobody)
Summary: 1.06a - which_database fails on Win32
Initial Comment:
1.06a on a WinXP, Python 2.3, new installation running
as service. Tried with service started and service
stopped. which_database shows my storage as a 'None'.
On further reflection, this is to be expected, as the
database I actually see is called
'message_info_database.db'. It seems that
which_database uses the persistant_storage_file
property, where spambayes uses messageinfo_storage_file.
>From bayescustomize.ini:
messageinfo_storage_file: C:\Documents and
Settings\DawnWolf\Application
Data\SpamBayes\Proxy\message_info_database.db
persistent_storage_file: C:\Documents and
Settings\DawnWolf\Application
Data\SpamBayes\Proxy\statistics_database.db
Output of running which_database:
C:\Program Files\spambayes\utilities>which_database.py
Pickle is available.
Dumbdbm is available.
Dbhash is available.
Bsddb[3] is available.
Your storage C:\Documents and
Settings\[User]\Application Data\SpamBayes\Proxy
\statistics_database.db is a: None
----------------------------------------------------------------------
>Comment By: Tony Meyer (anadelonbrin)
Date: 2003-09-25 12:59
Message:
Logged In: YES
user_id=552329
SpamBayes uses *two* databases. One, the
message_info_database.db, keeps track of which messages it
has already seen/trained. The other, statistics_database.db,
keeps track of statistics - basically how many times each
word (token) has been seen in ham and spam.
None should mean that the file is unreadable or doesn't exist.
Is this the case? I'll update which_database to print out a
nicer message in this case. It works fine for me. What
version of Python are you using? What should the answer
be? (i.e. are you using the default, which would be dbhash or
bsddb[3], or have you changed to a pickle).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=811725&group_id=61702
More information about the Spambayes-bugs
mailing list