🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Edmund H. Ramm Mon, 29 Nov 2010 19:46
[INN] pullnews timeout
#83698
Author: Edmund H. Ramm
Date: Mon, 29 Nov 2010 19:46
30 lines
2153 bytes
Cher ami Julien,

   my upstream appears to have problems today. My pullnews timed out,
sending

de.soc.verkehr:
        last checked: Sun Nov 28 15:34:14 2010
        236 articles available.  First 205284 Last 205519
        Our current highest: 205509 (10 to get)
++xxUse of uninitialized value $code in substr at
/usr/share/perl/5.10/Net/Cmd.pm line 366.
Argument "" isn't numeric in numeric eq (==) at
//usr/share/perl/5.10/Net/NNTP.pm line 657.
xUse of uninitialized value $code in substr at
/usr/share/perl/5.10/Net/Cmd.pm line 366.
Argument "" isn't numeric in numeric eq (==) at
//usr/share/perl/5.10/Net/NNTP.pm line 657.
xUse of uninitialized value $code in substr at
/usr/share/perl/5.10/Net/Cmd.pm line 366.

etc. ad nauseam to stderr.

   Are you aware of this problem, has it maybe even been fixed in
a newer version of NNTP.pm?

   slt, Eddi ._._.
-- 
      e-mail: dk3uz AT arrl DOT net  |  AMPRNET: dk3uz@db0hht.ampr.org
      If replying to a Usenet article, please use above e-mail address.
               Linux/m68k, the best U**x ever to hit an Atari!
Re: [INN] pullnews timeout
#83697
Author: Julien ÉLIE
Date: Mon, 29 Nov 2010 21:32
35 lines
2584 bytes
Hi Edmund,

> my upstream appears to have problems today. My pullnews timed out,
> sending
> Use of uninitialized value $code in substr at
> /usr/share/perl/5.10/Net/Cmd.pm line 366.
> Argument "" isn't numeric in numeric eq (==) at
> //usr/share/perl/5.10/Net/NNTP.pm line 657.
>
> Are you aware of this problem, has it maybe even been fixed in
> a newer version of NNTP.pm?

Looking at latest *development* version of libnet
    http://cpansearch.perl.org/src/GBARR/libnet-1.22_01/Net/Cmd.pm

I read:

+  return undef unless defined $code;
   substr($code, 0, 1);

so I believe the first problem is solved.
I do not know whether the second one is also fixed (I don't see
any changes in NNTP.pm) but maybe it was triggered off by the
first error.

Anyway, if you still see the error, here is the relevant
bug tracking system for libnet:
    https://rt.cpan.org/Public/Dist/Display.html?Name=libnet

-- 
Julien ÉLIE

« Attention aux bugs dans le code ci-dessus. Je ne l'ai pas testé,
  j'ai seulement prouvé qu'il était correct. » (Donald Knuth) 
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