🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #145738

Re: [ANN] XPN 0.2.5 out!

#145738
From: Nemesis
Date: Sun, 04 Apr 2004 12:01
34 lines
2515 bytes
Mentre io pensavo ad una intro simpatica "Patrick Lamaizière" scriveva:

>> Hmm not at this moment. I choosed to always prepend the X- because those
>> are "not-standard" headers and AFAIK they MUST be prepended with X-. I
>> think I should get a more complete list of "standard" headers.
>> In fact Approved is standard and I shouldn't prepend the X-.
> I will change the code, it is easy ;-)

Oh, good :-)

> I've got a problem to read fr.test, XPN shows "fr.test unread 458" and it
> freezes when it builts threads (Threading 301/458) :
> ~/xpn-0.2.5$ ./xpn.py
> Traceback (most recent call last):
>   File "./xpn.py", line 226, in view_group
>     self.show_threads(self.group_to_thread)
>   File "./xpn.py", line 199, in show_threads
>     idx=ref.rindex("<")
> ValueError: substring not found

It seems that you've found an article with a blank References field
(I've never experienced this bug, but other people reported it to me).
I'll try by myself, but you can try a little solution, open the xpn.py
file and add this line after the line 187.

if ref: ref=ref.strip()

It should solve the problem.
-- 
Life is anything that dies when you stomp on it.

 |\ |       |HomePage   : http://nem01.altervista.org
 | \|emesis |XPN (my nr): http://xpn.altervista.org
Technical Details
Message-ID: <1vko4c.nu1.ln@nemesis.homeinvalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed.news2me.com!newsfeed.icl.net!news.mailgate.org!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail
References: <vcjk4c.sg2.ln@nemesis.homeinvalid> <Xns75C83A45F6836plam@news.free.fr> <eh0m4c.3v1.ln@nemesis.homeinvalid> <XnsA396D6B3E5A21plam@news.free.fr>

Show Full Headers
Complete Article Headers
Message-ID: <1vko4c.nu1.ln@nemesis.homeinvalid>
Subject: Re: [ANN] XPN 0.2.5 out!
Date: Sun, 04 Apr 2004 12:01:37 GMT
From: Nemesis <nemesis@nowhere.invalid>
References: <vcjk4c.sg2.ln@nemesis.homeinvalid> <Xns75C83A45F6836plam@news.free.fr> <eh0m4c.3v1.ln@nemesis.homeinvalid> <XnsA396D6B3E5A21plam@news.free.fr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed.news2me.com!newsfeed.icl.net!news.mailgate.org!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: XPN/0.2.5 (The Best of Both Worlds)
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
Lines: 34
NNTP-Posting-Host: 151.26.89.187
X-Complaints-To: abuse@libero.it
X-Trace: twister2.libero.it 1081080097 151.26.89.187 (Sun,
NNTP-Posting-Date: Sun, 04 Apr 2004 14:01:37 MET DST
Organization: [Infostrada]