bogotune bugs?

Greg Louis glouis at dynamicro.on.ca
Sun Mar 20 12:16:13 CET 2005


On 20050319 (Sat) at 2317:12 -0500, David Relson wrote:
> On Sat, 19 Mar 2005 19:47:53 -0500
> Greg Louis wrote:
> 
> > > 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.

This is due to a failure in the initial calculation of x, which is
where the directory identification fails, I think (remember the wonky
order of status printouts).  You and I fixed errors producing the same
symptoms some few releases back; I only keep penultimate and current
versions so I don't know which one worked. (For the last few versions
I've only been testing bogofilter, not bogotune, at install time --
naughty me.)

By "confirmed" I meant I get the same errors Jason does.  And using a
terminal slash in the -d option makes no difference, v.i.

So the initial x value is wrong, the program does not abort and life
goes on but wrongly:

# bogotune -d /root/.bogofilter/ -v -n r500.ns -s r500.sp
Reading r500.ns
Reading /root/.bogofilter//wordlist.db
556 messages  
Reading r500.sp
550 messages  
Calculating initial x value...
Error: /root/.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.457519
False-positive target is 1 (cutoff 0.594918)
Performing coarse scan:
   rs    md     rx    spesf    nsesf  cutoff  fp  fn
1.0000 0.060 0.458 0.562500 0.562500 0.835892  1  55
1.0000 0.060 0.458 0.562500 0.237305 0.813183  1  54
1.0000 0.060 0.458 0.562500 0.100113 0.787287  1  52
1.0000 0.060 0.458 0.562500 0.042235 0.756492  1  52
...

Sorry for the melodrama but I need to be in less pain before I look at
this any harder.

-- 
| G r e g  L o u i s         | gpg public key: 0x400B1AA86D9E3E64 |
|  http://www.bgl.nu/~glouis |   (on my website or any keyserver) |
|  http://wecanstopspam.org in signatures helps fight junk email. |
_______________________________________________
Bogofilter mailing list
Bogofilter at bogofilter.org
http://www.bogofilter.org/mailman/listinfo/bogofilter



More information about the Bogofilter mailing list