>> You will need the source.  I believe you can use sb_filter to do
>> this, with something like:
>>
>>     python sb_filter.py before.mbx > after.mbx
>
> I set the BAYESCUSTOMIZE environment variable to point to the same
> .ini file that is used by the Windows service; i.e.,
>
> BAYESCUSTOMIZE="C:\Documents and Settings\LocalService\Application
> Data\SpamBayes\Proxy\bayescustomize.ini"
>
> I get the following error; any suggestions?
>
> Traceback (most recent call last):
> [...]
> bsddb._db.DBNoSuchFileError: (2, 'No such file or directory')

Have you checked to make sure that hammie.db is in the ...\Proxy  
directory?

You could try specifying the location to the file:

     python sb_filter.py -o "Storage:persistent_storage_file:C: 
\Documents and Settings\LocalService\Application Data\SpamBayes\Proxy 
\hammie.db" -o "Storage:persistent_use_database:dbm" before.mbx >  
after.mbx

(That's all one line; obviously you'll need to change the path if the  
file is elsewhere or has a different name, and change "dbm" to  
"pickle" or "zodb" if those storage backends are used).

=Tony.Meyer

-- 
Please always include the list (spambayes at python.org) in your replies
(reply-all), and please don't send me personal mail about SpamBayes.
http://www.massey.ac.nz/~tameyer/writing/reply_all.html explains this.


_______________________________________________
[email protected]
http://mail.python.org/mailman/listinfo/spambayes
Check the FAQ before asking: http://spambayes.sf.net/faq.html

Reply via email to