πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83334

Re: Empty Articles

#83334
From: Steve Crook
Date: Sun, 01 Aug 2010 17:24
16 lines
1896 bytes
On Sun, 1 Aug 2010 15:47:47 +0200, Julien Γ‰LIE wrote in
Message-Id: <i33tu3$mpd$1@news.trigofacile.com>:

> An interesting option is server.set_debuglevel(2)

Hi Julien,

Setting this immediately enabled me to see what was going wrong.  I'm
not passing a file to nntplib but instead using Python's StringIO to
pass it a file-like buffer.  I was doing this within a loop for each
nntp peer but wasn't resetting the pointer within the file-like object
after each iteration.  As a result, on the second pass, the article is
indeed empty.

Thanks so much for putting me out of my misery, I've been staring at
that for days and going completely down the wrong path! :-)
Technical Details
Message-ID: <slrni5bbdq.mt9.steve@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!.POSTED.ip6-localhost!not-for-mail
References: <slrni5aq76.mt9.steve@news.mixmin.net> <i33tu3$mpd$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrni5bbdq.mt9.steve@news.mixmin.net>
Subject: Re: Empty Articles
Date: Sun, 01 Aug 2010 17:24:10 +0000
From: Steve Crook <steve@mixmin.net>
References: <slrni5aq76.mt9.steve@news.mixmin.net> <i33tu3$mpd$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.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!.POSTED.ip6-localhost!not-for-mail
Newsgroups: news.software.nntp
Organization: Mixmin
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 1 Aug 2010 17:24:10 +0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="ip6-localhost:::1";
 logging-data="14123"; mail-complaints-to="abuse@mixmin.net"
User-Agent: slrn/pre1.0.0-18 (Linux)
Lines: 15