You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2006/03/22 20:30:19 UTC

[Bug 4838] New: *noisy* warning: "config: can not determine userstate dir"

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: dev@spamassassin.apache.org
        ReportedBy: openmacnews@gmail.com


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.

[Bug 4838] *noisy* warning: "config: can not determine userstate dir"

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4838





------- Additional Comments From openmacnews@gmail.com  2006-08-02 03:20 -------
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.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 4838] *noisy* warning: "config: can not determine userstate dir"

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4838


felicity@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From felicity@apache.org  2006-08-02 02:02 -------
I believe this was fixed already in 3.1.2. :)



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.