Re: spamprobe-1.3x2 released - Big bug in spamprobe - unusable database if moved.
"David A. Lee" <[email protected]> Tue, 6 Dec 2005 08:25:25 -0500
| Newsgroups | gmane.mail.spam.spamprobe.general |
|---|---|
| Message-ID | <[email protected]> |
While your at it how about a 'spamprobe create-db' command so you can create the empty DB without putting in any data. Right now I have to do a trick which I forget every time spamprobe -d blah spam ^D why create a DB first ? so that my existing spamprobe scripts dont have to pass in the magic create parameters to the -d flag ... so I want to create empty spamprobe DB's then run my import or train scripts. I dont mind the config file being created if it was more obvious how to fix it up if I move it, maybe omit the database declaration ? or use a relative or symbolic ( "." ) so that it can survive moving . > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > David A. Lee wrote: >> cd .. >> mv .spamprobe .spamprobe.save >> mv sp .spamprobe >> spamprobe counts **** THIS FAILS cannot open directory error >> >> Poking around I found the spamprobe.hdl file contains the name of the >> directory, which now happens to be wrong. hand editing spamprobe.hdl >> to refer to $HOME/.spamprobe instead of $HOME/sp fixes the problem > > Yup. The config file has to be kept consistent. I'm thinking that the > "auto generate config file if not present" feature isn't a good one to > have. Better to have a "spamprobe create-config" command to explicitly > create a config file if somebody wants one. That way people who don't > want one don't have to deal with issues like yours. > > Thanks, > ++Brian > > -----BEGIN PGP SIGNATURE----- > Version: PGP Desktop 9.0.3 (Build 2932) > > iQEVAwUBQ5UJUzxRyEoJfXIFAQhACgf/RcXluFLmMEv877EBE6EvpcqXqLAZqNn/ > qArjvuriRvdqR4jlsWG78Bo8DC8xKdxU/1WVOYZG29oPrXDHzskIOzrLeQfR4J12 > e9DTidxwcCUg7mIQ8snd5SIt+/re7cR8uMKcf9XQd77jgUgSk1p8gC1VsciC0E3m > ZscTcbE8wukmRMsiZcdWEIJZy8j4Zn7lZ01HmpV+63ddn6o5dWfBD27RNA6dEy0i > fUA/1HGXzChFw6PA+Va/ZjEDhcNXfS/iGZUR5WvpQff5ezlhhpqedUsPBTq6DKSH > h+VzeHrHnsVydxJu+pugral72RbGH7+VxaWTOAlfJJbBOhip/31Oxw== > =Lo0U > -----END PGP SIGNATURE----- > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Spamprobe-users mailing list > Spamprobe-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/spamprobe-users > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click