pan-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pan-devel] Re: PAN 0.93: newsgroups.ynm


From: Charles Kerr
Subject: Re: [Pan-devel] Re: PAN 0.93: newsgroups.ynm
Date: Tue, 18 Apr 2006 14:05:47 -0500
User-agent: Mozilla Thunderbird 1.0.7-1.4.1 (X11/20050929)

Motor wrote:
On Tue, 18 Apr 2006 00:25:45 +0100, Motor wrote:


On Mon, 17 Apr 2006 18:05:00 -0500, Charles Kerr wrote:


Motor wrote:

I'm getting this message when starting pan 0.93

  (groups.cc:232:load_group_permissions) Permission for 0000000.0000
  needs to be one of 'y', 'n', or 'm'.

In the ~/.pan2/newsgroups.ynm file, the first entry is:

  0000000.0000:alt.religion.rasta-khan:n

It looks like the group name has a colon in it, and pan is just taking
anything after the first colon as the posting permission.

The proper groupname is alt.religion.rasta-khan ... looks like somehow
your ynm file's gotten corrupted?

Are there other suspicious groups about?

There aren't any other lines like that. I edited the file to remove
"0000000.0000:", and now pan loads with no complaints. A quick skim
through the file doesn't show up anything weird either.


Another bit of info:

I deleted from ~/.pan2:

newsgroups.dsc  newsgroups.ynm  newsrc-2  newsrc-5 newsgroups.xov newsrc-1
newsrc-3

reran pan 0.93, edited the newservers and let it redownload all the groups
from the servers. When it had finished:

This line was back:

   0000000.0000:alt.religion.rasta-khan:n

in newsgroups.ynm

my servers.xml looks like this (I've edited the usenet2.ath.cx to remove
my user/password):

<?xml version="1.0" encoding="utf-8" ?> <server-properties>
  <server id="1">
    <host>nntp.aoie.org</host>
    <port>119</port>
    <username></username>
    <password></password>
    <expire-articles-n-days-old>0</expire-articles-n-days-old>
    <connection-limit>4</connection-limit>
  </server>
  <server id="2">
    <host>usenet2.ath.cx</host>
    <port>119</port>
    <username>xxxx</username>
    <password>xxxxx</password>
    <expire-articles-n-days-old>0</expire-articles-n-days-old>
    <connection-limit>4</connection-limit>
  </server>
  <server id="3">
    <host>freebin.readnews.com</host>
    <port>119</port>
    <username></username>
    <password></password>
    <expire-articles-n-days-old>31</expire-articles-n-days-old>
    <connection-limit>2</connection-limit>
  </server>
  <server id="5">
    <host>news.gmane.org</host>
    <port>119</port>
    <username></username>
    <password></password>
    <expire-articles-n-days-old>0</expire-articles-n-days-old>
    <connection-limit>4</connection-limit>
  </server>
</server-properties>

A grep in the ~/.pan2 directory for ".rasta-khan" doesn't show any
instances with 0000000.0000 added on the front (other than
newsgroups.ynm)... maybe that suggests that pan is corrupting things
somehow before storing it in newsgroups.ynm?

Yes, I think that's what it suggests. :)

Does it get corrupted after the first news server, or the second,
or do you have to chug through a few to tickle the bug?

The reason I ask is, the merging code is different than the
single-server code...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]