🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
10 messages
10 total messages Started by Adam Funk Wed, 14 Oct 2009 13:14
[slrn] bad header in group causes loss of stickytags in that group
#236809
Author: Adam Funk
Date: Wed, 14 Oct 2009 13:14
18 lines
1533 bytes
I use stickytags-1.72.sl (which I think is still the current version)
quite extensively, but I've found a strange bug.  Whenever I go into a
group that has one or more articles with this error

   Expected closing '>' character in the address

the sticktagged articles in that group lose their tags.  I'm not
certain, but I suspect some other bad-header errors may cause this
too.

Any suggestions?


-- 
I spend almost as much time figuring out what's wrong with my computer
as I do actually using it.  Networked software, especially, requires
frequent updates and maintenance, all of which gets in the way of
doing routine work.                                     (Stoll 1995)
Re: [slrn] bad header in group causes loss of stickytags in that group
#236833
Author: Peter J Ross
Date: Wed, 14 Oct 2009 23:02
30 lines
2196 bytes
In news.software.readers on Wed, 14 Oct 2009 14:14:44 +0100, Adam Funk
<a24061@ducksburg.com> wrote:

> I use stickytags-1.72.sl (which I think is still the current version)
> quite extensively, but I've found a strange bug.  Whenever I go into a
> group that has one or more articles with this error
>
>    Expected closing '>' character in the address
>
> the sticktagged articles in that group lose their tags.  I'm not
> certain, but I suspect some other bad-header errors may cause this
> too.
>
> Any suggestions?

My only suggestion is to contact the author and maintainer of the
script.

On jbn's website it says:

"Last tested with slrn 0.9.7.4 & S-Lang 1.4.5"

<http://forestfield.org/slrn/#stickytags>


-- 
PJR :-)
slrn newsreader v0.9.9p1: http://slrn.sourceforge.net/
extra slrn documentation: http://slrn-doc.sourceforge.net/
newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
Re: [slrn] bad header in group causes loss of stickytags in that group
#236996
Author: Adam Funk
Date: Fri, 16 Oct 2009 20:05
32 lines
1876 bytes
On 2009-10-14, Peter J Ross wrote:

> In news.software.readers on Wed, 14 Oct 2009 14:14:44 +0100, Adam Funk
><a24061@ducksburg.com> wrote:
>
>> I use stickytags-1.72.sl (which I think is still the current version)
>> quite extensively, but I've found a strange bug.  Whenever I go into a
>> group that has one or more articles with this error
>>
>>    Expected closing '>' character in the address
>>
>> the sticktagged articles in that group lose their tags.  I'm not
>> certain, but I suspect some other bad-header errors may cause this
>> too.
>>
>> Any suggestions?
>
> My only suggestion is to contact the author and maintainer of the
> script.
>
> On jbn's website it says:
>
> "Last tested with slrn 0.9.7.4 & S-Lang 1.4.5"
>
><http://forestfield.org/slrn/#stickytags>

I guess before that, I should try to poke around in it myself.  (I did
STFW for this before posting, so I get half a point already.)


-- 
Usenet is a cesspool, a dung heap.  [Patrick A. Townson]
Re: [slrn] bad header in group causes loss of stickytags in that group
#237059
Author: John E. Davis
Date: Fri, 16 Oct 2009 21:54
16 lines
1613 bytes
On Wed, 14 Oct 2009 14:14:44 +0100, Adam Funk <a24061@ducksburg.com>
wrote:
> I use stickytags-1.72.sl (which I think is still the current version)
> quite extensively, but I've found a strange bug.  Whenever I go into a
> group that has one or more articles with this error
>
>    Expected closing '>' character in the address

I have never encountered this error.  Did you verify that the header
is invalid?

[...]
> Any suggestions?

You need to wrap the code that causes this error to be generated in a
try-catch block.  --John
Re: [slrn] bad header in group causes loss of stickytags in that group
#237043
Author: Adam Funk
Date: Sat, 17 Oct 2009 19:06
37 lines
2440 bytes
On 2009-10-16, John E. Davis wrote:

> On Wed, 14 Oct 2009 14:14:44 +0100, Adam Funk <a24061@ducksburg.com>
> wrote:
>> I use stickytags-1.72.sl (which I think is still the current version)
>> quite extensively, but I've found a strange bug.  Whenever I go into a
>> group that has one or more articles with this error
>>
>>    Expected closing '>' character in the address
>
> I have never encountered this error.  Did you verify that the header
> is invalid?

Here's the last header I came across that tripped this:

From: Zapanaz <http://joecosby.com/code/mail.pl?foo=@mindspring.com>

Actually, it isn't an error but a warning, to be precise; slrn prints
it at the bottom of the screen.  I don't even want to see this warning
(there's nothing I can do about it, and I don't care) but it does
consistently drop the stickytags in the group (it doesn't affect the
tags in other groups).

>> Any suggestions?
>
> You need to wrap the code that causes this error to be generated in a
> try-catch block.  --John

I guess I'll have to learn some s-lang for this.  (I know a little,
but not much.)


-- 
Taken on the whole however this is a fine disc and a good example of
the current pop scene attempting to break out of its vulgarisms and
sometimes downright obscene derivative hogwash.
                                     (Julian Stone-Mason B.A., 1972)
Re: [slrn] bad header in group causes loss of stickytags in that group
#237051
Author: John E. Davis
Date: Sat, 17 Oct 2009 20:04
25 lines
1876 bytes
On Sat, 17 Oct 2009 20:06:40 +0100, Adam Funk <a24061@ducksburg.com>
wrote:
> Here's the last header I came across that tripped this:
>
> From: Zapanaz <http://joecosby.com/code/mail.pl?foo=@mindspring.com>

  The ':' character is not permitted inside <...>, which is why slrn
stopped parsing when it encountered it.

>> You need to wrap the code that causes this error to be generated in a
>> try-catch block.  --John
>
> I guess I'll have to learn some s-lang for this.  (I know a little,
> but not much.)

Assuming that you have the latest development version of slrn, you
should be able to see where it is failing if you run slrn in debug mode:

   slrn --debug /tmp/slrn.log

Older versions before pre1.0.0-15 did not write the slang traceback
messages to the log file.

Thanks,
--John
Re: [slrn] bad header in group causes loss of stickytags in that group
#237210
Author: andrew
Date: Mon, 19 Oct 2009 03:50
44 lines
2289 bytes
On 2009-10-17, John E. Davis <jed@jedsoft.org> wrote:

> Assuming that you have the latest development version of slrn, you
> should be able to see where it is failing if you run slrn in debug mode:
>
>    slrn --debug /tmp/slrn.log

I tracked down this gentleman here:

Message-ID: <7adub5lekcknjra8o5iot6aud6c00p41vo@4ax.com>

and ran slrn with the --debug option. Pretty big output but I think this
is the relevant section:

#v+
>GROUP alt.slack
>


<211 11 2 12 alt.slack group selected

>XOVER 2-11
>


<224 Overview information for postings 2-11:

<2	Another stupid Ubuntu question	Zapanaz
<http://joecosby.com/code/mail.pl?foo=@mindspring.com>	Wed, 01 Jul 2009
17:28:19 -0700	<usun45l93nv8poocdldthht799tljc9tdl@4ax.com>
3623	76	Xref: skamandros.andrews-corner.org alt.slack:2
alt.os.linux:120 comp.databases.mysql:2

Expected closing '>' character in the address
Run-Time Error
#v-

My apologies if I have given the wrong section but the error is
reproducible at the MID I have given.

Andrew

-- 
Do you think that's air you're breathing?
Re: [slrn] bad header in group causes loss of stickytags in that group
#237235
Author: John E. Davis
Date: Mon, 19 Oct 2009 17:41
17 lines
2054 bytes
On Sat, 17 Oct 2009 20:04:36 +0000 (UTC), John E. Davis <jed@jedsoft.org>
wrote:
> On Sat, 17 Oct 2009 20:06:40 +0100, Adam Funk <a24061@ducksburg.com>
> wrote:
>> Here's the last header I came across that tripped this:
>>
>> From: Zapanaz <http://joecosby.com/code/mail.pl?foo=@mindspring.com>
>
>   The ':' character is not permitted inside <...>, which is why slrn
> stopped parsing when it encountered it.

The latest development version contains changes that will clear the
error generated by parsing these invalid headers, but it will give the
article an initial score of -1000.  This value may be customized by 
setting the "invalid_header_score" variable to the desired value.

--John
Re: [slrn] bad header in group causes loss of stickytags in that group
#237293
Author: andrew
Date: Tue, 20 Oct 2009 05:41
12 lines
1536 bytes
On 2009-10-19, John E. Davis <jed@jedsoft.org> wrote:

> The latest development version contains changes that will clear the
> error generated by parsing these invalid headers, but it will give the
> article an initial score of -1000.  This value may be customized by 
> setting the "invalid_header_score" variable to the desired value.

Thanks yet again John!

Andrew
-- 
Do you think that's air you're breathing?
Re: [slrn] bad header in group causes loss of stickytags in that group
#237450
Author: Adam Funk
Date: Thu, 22 Oct 2009 01:28
23 lines
1982 bytes
On 2009-10-19, John E. Davis wrote:

> On Sat, 17 Oct 2009 20:04:36 +0000 (UTC), John E. Davis <jed@jedsoft.org>
> wrote:
>> On Sat, 17 Oct 2009 20:06:40 +0100, Adam Funk <a24061@ducksburg.com>
>> wrote:
>>> Here's the last header I came across that tripped this:
>>>
>>> From: Zapanaz <http://joecosby.com/code/mail.pl?foo=@mindspring.com>
>>
>>   The ':' character is not permitted inside <...>, which is why slrn
>> stopped parsing when it encountered it.
>
> The latest development version contains changes that will clear the
> error generated by parsing these invalid headers, but it will give the
> article an initial score of -1000.  This value may be customized by 
> setting the "invalid_header_score" variable to the desired value.

Thanks; looking forward to it.


-- 
Usenet is a cesspool, a dung heap.  [Patrick A. Townson]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads