Article View: news.software.readers
Article #187981Re: XPN 0.5.7 released
From: Neil Woods
Date: Mon, 17 Jul 2006 19:21
Date: Mon, 17 Jul 2006 19:21
83 lines
3958 bytes
3958 bytes
"Nemesis" <nemesis2001@gmx.it> writes:
> Neil Woods wrote:
>
>> > [XPN and Leafnode]
>> Yes, that worked fine. It imported my ~/.newsrc without any problems.
>
> But you got only empty groups right?
Correct.
>> > Could you show me the server_logs you have after this operation?
>>
>> Yes, the server_logs contain
>>
>> Sun Jul 16 23:36:32 2006 :: >> MODE READER
>> Sun Jul 16 23:36:32 2006 :: << nntplib.NNTPPermanentError,500 Unknown command
> [...]
>
> That's really odd. As you can see Whiskers has used XPN with leafnode
> (and I read of another guy using it with leafnode 1.11.4) whitout
> problems. So the problem is on you PC, but I can't figure out what is
> going on.
>
> Try this:
> from the shell type 'python'
> you will end up in the python interactive shell, type this row line by
> line:
>
> from nntplib import *
> n=NNTP("localhost",119,user="your_username",password="your_password",readermode=True)
>
> or if you don't use authentication:
>
> from nntplib import *
> n=NNTP("localhost",119,readermode=True)
>
> report here the errors you get.
I don't use authentication, so I typed the above. This is what I get:
#v+
$ python
Python 2.3.5 (#2, Jun 13 2006, 23:12:55) [1]
[GCC 4.1.2 20060613 (prerelease) (Debian 4.1.1-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from nntplib import *
>>> n=NNTP("localhost",119,readermode=True)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.3/nntplib.py", line 150, in __init__
resp = self.shortcmd('authinfo user '+user)
File "/usr/lib/python2.3/nntplib.py", line 260, in shortcmd
return self.getresp()
File "/usr/lib/python2.3/nntplib.py", line 221, in getresp
raise NNTPPermanentError(resp)
nntplib.NNTPPermanentError: 500 Unknown command
>>>
#v-
(the #v+/- are verbatim markers, used by Gnus and slrn and can be ignored).
[1] The default version of python on Debian is version 2.3 - the "python"
command is symlinked to python2.3.
Substituting python2.4 in the above however results in exactly the same
error message (even down to the error line numbers).
It seems to be something to do with authentication (or lack thereof)
interacting with leafnode on localhost. As an experiment, I substituted
"news.individual.net" in the server box, adding in my authentication
details. It worked fine!
> you should use python2.4 with xpn, 2.3 is no longer supported.
Yes, I'll use that.
--
Neil.
No excellent soul is exempt from a mixture of madness.
-- Aristotle
Technical Details
Message-ID:
<87odvo9gw1.fsf@phun.phasmic.org>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.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<20060715121147.2623.67652.XPN@orion.homeinvalid> <873bd2r5ja.fsf@phun.phasmic.org> <20060716072908.2464.44788.XPN@orion.homeinvalid> <874pxhbv5b.fsf@phun.phasmic.org> <20060716184622.2211.18700.XPN@orion.homeinvalid> <87vepx9mzc.fsf@phun.phasmic.org> <1153142369.530743.258750@m73g2000cwd.googlegroups.com>Show Full Headers
Complete Article Headers
Message-ID: <87odvo9gw1.fsf@phun.phasmic.org> Subject: Re: XPN 0.5.7 released Date: Mon, 17 Jul 2006 20:21:34 +0100 From: Neil Woods <cnw+usenet-0607@pobox.com> References: <20060715121147.2623.67652.XPN@orion.homeinvalid> <873bd2r5ja.fsf@phun.phasmic.org> <20060716072908.2464.44788.XPN@orion.homeinvalid> <874pxhbv5b.fsf@phun.phasmic.org> <20060716184622.2211.18700.XPN@orion.homeinvalid> <87vepx9mzc.fsf@phun.phasmic.org> <1153142369.530743.258750@m73g2000cwd.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.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: (TINO) Lines: 83 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: individual.net nfTkkOqpj7D4ilE4Jq9CuwmmD1ktmUPGGuSWWiwz+Vy6zQ+e60 Keywords: nntplib,python,leafnode,xpn Mail-Copies-To: nobody User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:Oc2CG4tLQ10Ofr2Z6kOzqkoWrOI=