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?