SA Bugzilla – Bug 4838
*noisy* warning: "config: can not determine userstate dir"
Last modified: 2006-08-01 20:20:56 UTC
current SA-trunk (r387415) built on OSX 10.4.5 when i run, e.g., sa-learn, i see warning: "config: can not determine userstate dir". running SA 'make test', i see the warning on just abt every test. from #irc i learn from felicity: "that warning occurs when __userstate__ is used in a path and SA can't find a directory to use for it (~/.spamassassin by default) I put it in a week or two ago to fix a really annoying debug problem. the old version of the code would go through an array to find the first existing directory, but if none were found, the last one was returned as found. which caused lots of debugging confusion. now it returns undef, but also throws a warning when it occurs so that a person doing debugging can see something odd happened. feel free to open up a BZ ticket about it. there seems to be lots of places we call that function (M::SA::get_and_create_userstate_dir()) where we probably don't need to. either that or make the warning an info or something." on my sys, i see that warning DESPITE the fact that i do NOT use "~/" paths, rather explicitly spec'ing 'other' absolutie path locations for .spamassassin/*. although i understand it's 'just' a warning ... when running, e.g., 'make test', seeing it virtually every test is a little disconcerting. perhaps this warning can be 'quieted down'? thx.
I believe this was fixed already in 3.1.2. :)
once i got past 'new' errors of: "Can't locate Debug.pm in @INC" updating: IO::Socket::SSL v0.993 --> v0.994 per, http://www.mail-archive.com/dev@spamassassin.apache.org/msg15500.html (it's always sumthin' !) w/: % svn info | grep Revision Revision: 421710 % spamassassin --version SpamAssassin version 3.2.0-r418131 running on Perl version 5.8.8 on: % sa-learn ... i see NO trace of the: "config: can not determine userstate dir" message. looks good here! thanks.