🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #86915

Re: rant on innd error messages

#86915
From: Julien ÉLIE
Date: Tue, 25 Aug 2015 19:36
41 lines
2889 bytes
Bonsoir Bernard,

> First, let me say how comforting it is that my remarks were taken
> without offense! Good job.

Merci à toi pour tes bons mots, c'est très gentil !


> As for what I would like the error message to say, in its simplest
> form, naming the configuration file any old way would do. That way
> the user/admin would look for that file and see it was missing, or
> empty, or had bad permissions, etc.

All right, that's pretty easy to do.  In the case of the history.dir 
file, it will be fixed in the upcoming INN 2.6.0 release.
If I fall into other imprecise log lines in the future, I shall improve 
them too.


> As for the other message I complained about "Numerical argument out
> of domain", I do understand fully that sometimes the program is so
> deep in some complex process that it can't write a better message.

Also note that the "Numerical argument out of domain" error is the 
string returned by calling the strerror() function on your system.  That 
string may be different in other systems, and even localized (in French 
for instance).  INN uses the EDOM error, as explained here:
     https://en.wikipedia.org/wiki/Errno.h

INN could, as Russ said, use more customised error strings instead of 
the generic ones provided by the system.  That's a bit of work, though, 
to improve all of that.  But you're right that it is the path where we 
should tend!

-- 
Julien ÉLIE

« Sur vingt personnes qui parlent de nous, dix-neuf en disent du mal
   et la vingtième, qui en dit du bien, le dit mal. » (Rivarol)

Technical Details
Message-ID: <mrig4c$9qf$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
References: <5691d030-fe63-4e55-95a5-22ad3ef184c3@googlegroups.com> <mr58vk$mdq$1@news.trigofacile.com> <a85d9307-5e5c-42c4-b3af-ebbd81a61594@googlegroups.com>

Show Full Headers
Complete Article Headers
Message-ID: <mrig4c$9qf$1@news.trigofacile.com>
Subject: Re: rant on innd error messages
Date: Tue, 25 Aug 2015 21:36:44 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <5691d030-fe63-4e55-95a5-22ad3ef184c3@googlegroups.com> <mr58vk$mdq$1@news.trigofacile.com> <a85d9307-5e5c-42c4-b3af-ebbd81a61594@googlegroups.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 25 Aug 2015 19:36:44 +0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="aaubervilliers-651-1-202-133.w83-114.abo.wanadoo.fr:83.114.33.133";
 logging-data="10063"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0)
 Gecko/20100101 Thunderbird/38.2.0
In-Reply-To: <a85d9307-5e5c-42c4-b3af-ebbd81a61594@googlegroups.com>
X-Received-Body-CRC: 3252193845
X-Received-Bytes: 2885