INN 2.5, inn-CURRENT-20090103 Issues
William Kronert
wkronert at sunstroke.sdsu.edu
Sun Jan 18 02:05:25 UTC 2009
Hi Julian,
At 06:37 AM 1/17/2009, Julien ÉLIE wrote:
>>In the case of fr.* it is completely is broken.
>>When I feed fr.* in manually into docheckgroups I get:
>>grep: Unmatched ) or \)
>>grep: Unmatched ) or \)
>>grep: Unmatched ) or \)
>>grep: Unmatched ) or \)
>>grep: Unmatched ) or \)
>>grep: Unmatched ) or \)
>
>Exactly six times?
Yep, six times exactly.
>Then I believe $PATS is bad in docheckgroups.
>
>15:23 news at trigofacile ~% grep -E "a(" test
>grep: Échec du pairage de ( ou de \(
>
>
>In <pathbin>/docheckgroups, you have:
>
>PATS=`${SED} <${T}/$$msg \
> -e 's/[ ].*//' -e 's/\..*//' \
> -e 's/^!//' -e '/^$/d' \
> -e 's/^/^/' -e 's/$/[. ]/' \
> | ${SORT} -u \
> | (tr '\012' '|' ; echo '' )\
> | ${SED} -e 's/|$//'`
>
>Please add just after:
>
>echo "$PATS"
>cat ${T}/$$msg
>
>and tell us the result of « echo "$PATS" » and if you notice something
>wrong in cat. (You can paste it here if you want.)
>
>
>We will see after for fido7.*.
I am not sure if I did this right or the way you meant but....
I first decided to go to ftp.isc.org and get a
new newsgroup description since it has been
awhile since that has been updated on our site
and I didn't want to throw in any more variables.
In docheckgroups:
PATS=`${SED} <${T}/$$msg \
-e 's/[ ].*//' -e 's/\..*//' \
-e 's/^!//' -e '/^$/d' \
-e 's/^/^/' -e 's/$/[. ]/' \
| ${SORT} -u \
| (tr '\012' '|' ; echo '' )\
| ${SED} -e 's/|$//'`
[I added the below, right after the above as you suggested]
echo "$PATS"
cat ${T}/$$msg
----------------------------------------------
I then tested the fr.* and fido7.* using your:
wget
http://usenet.trigofacile.com/hierarchies/index.py?see=FIDO7&only=checkgroups
-O fido7
wget
http://usenet.trigofacile.com/hierarchies/index.py?see=FR&only=checkgroups
-O fr
I also tested the checkgroups I already had from the control messages.
So I ran each using:
cat fido7 | docheckgroups
cat fr | docheckgroups
I intentionally had two groups wrong in our
active file for fido7.* just to see what the
docheckgroups would do. The results are below for
fido7.* and for fr.*. They were exactly the same
in regards to "newsgroups descriptions are obsolete":
Basically the docheckgroups work with your
checkgroups from wget. But using the actual
control messages I had instead of yours I got
strange output i.e those 6 "grep: Unmatched ) or
\)" or adding strange fido7.* newsgroups names.
Here is the results using your wget fido and fr
checkgroups with the echo "$PATS, etc added in
--------------------------------------------------------------------------------------------------------------------------------------
[all newsgroups and descriptions were
listed for fido7.*, i.e the last couple of lines are below....]
fido7.zx.spectrum Fidonet ZX.SPECTRUM - ZX Spectrum computers (Moderated)
fido7.zxc.club Fidonet ZXC.CLUB (Moderated)
[then after the above list I got this,
this should be right as it should be removed:]
# You can remove them by executing the command(s):
/etc/news/bin/ctlinnd rmgroup fido7.central.asia.talk
[then I get this. This is right also as it should be added:]
# You can add them by executing the command(s):
/etc/news/bin/ctlinnd newgroup fido7.r46.warez.new m
[then...]
# The following newsgroups descriptions are obsolete:
# fido7.angarsk.general Fidonet
ANGARSK.GENERAL - ÷Ó£ Ï áÎÇÁÒÓËÅ (Moderated)
[...for every single newsgroup the descriptions are obsolete]
[then...]
# The following newsgroups descriptions are missing and should be added:
# fido7.angarsk.general Fidonet
ANGARSK.GENERAL - ÑУРÐРбÐÐÐТУÐÐ (Moderated)
[...for every single newsgroup it gives a new description]
-----------------
Doing the same for fr.* I got the same
results. No change in newsgroups since they were
right but every newsgroup description was wrong
and I was given a replacement description:
# The following newsgroups descriptions are obsolete:
# fr.bienvenue.questions Les premières
questions sur Usenet. (Où ? Comment ?)
# fr.bio.medecine Discussions sur la médecine.
[for every newsgroup description]
# The following newsgroups descriptions are missing and should be added:
# fr.bienvenue.questions Les premières
questions sur Usenet. (Où ? Comment ?)
# fr.bio.medecine Discussions sur la médecine.
I get the impression that the actual newsgroups
are being check fine and returned fine but the
newsgroup descriptions are somewhat of a problem.
More information about the inn-workers
mailing list