http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4838
Summary: *noisy* warning: "config: can not determine userstate
dir"
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: All
OS/Version: All
Status: NEW
Severity: trivial
Priority: P5
Component: spamassassin
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
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.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.