[PATCH] bogotune [was: bogotune bugs?]

David Relson relson at osagesoftware.com
Sun Mar 20 16:47:58 CET 2005


On Sun, 20 Mar 2005 00:29:12 +0000 (UTC)
Jason Lunz wrote:

> does bogotune have known bugs? I'm using debian sarge, and I've tried
> both 0.94.0 and 0.94.1. No matter what I do, it says:
> 
> [mudd](0) % bogotune -n ham -s spam
> Calculating initial x value...
> Error: /home/lunz/.bogofilter/wordlist.db is not a directory.
> bogotune: cannot find bogofilter directory.
> You must specify a directory on the command line, in the config file,
> or by using the BOGOFILTER_DIR or HOME environment variables.
> Program aborting.
> Initial x value is 0.541073
> Too few high-scoring non-spams in this data set.
> [snip]
> 
> there's lots of other output, but i'm not inclined to trust it or try to
> figure out what it means if bogotune can't even seem to read the
> wordlist.
> 
> What are the error messages supposed to mean? Of course
> "/home/lunz/.bogofilter/wordlist.db is not a directory". It's not
> supposed to be.
> 
> I've tried different combinations of using BOGOFILTER_DIR, -d, giving
> the name of either wordlist.db itself or the directory it's in, and
> nothing works.
> 
> any ideas?
> 
> Jason

Hi Jason,

Digging into the bogotune code I found a directory/filename error which
the attached patch corrects.  Give it a try and let me know what happens.

David
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.0320.bogotune.c
URL: <http://www.bogofilter.org/pipermail/bogofilter/attachments/20050320/8e928470/attachment.c>
-------------- next part --------------
_______________________________________________
Bogofilter mailing list
Bogofilter at bogofilter.org
http://www.bogofilter.org/mailman/listinfo/bogofilter


More information about the Bogofilter mailing list