mharc-users

Re: Namazu-problem

2002-08-09 21:59:50
On August 9, 2002 at 23:26, Lars Jorgensen wrote:

While importing messages I sometimes get

"Use of uninitialized value in substitution (s///) at 
/usr/share/namazu/filter/mhonarc.pl line 108, <GEN5> line 3."

I don't know if it is important or not, I just wanted to let you know. 
Searching the archive seems to be mostly okay, but when I tried 
searching for a specific message, I couldn't find it. The result 
returned didn't contain my search words. I can browse to the message so 
I know it's there.

This is a known problem and probably related to certain versions of
Perl (are you using 5.6.0?) and some assumptions that the mhonarc.pl
namazu filter makes.  The main problem is that searching will not
work for the archives that generate the message since it appears
that mknmz craps out.  Mharc actually checks to see if this happens.
If mknmz craps out, you should get a warning message about it.

You can see
<http://www.mhonarc.org/archive/html/mharc-users/2002-07/msg00045.html>,
for previous discussion about this along with checking recent
messages to the namazu-users-en(_at_)namazu(_dot_)org mailing list archives
at <http://www.namazu.org/>.

Don't spend any time on this problem, it's not that important. But if 
you have a quick idea or a pointer in the right direction, it would be 
appreciated.

First, check you have a stable version of Perl.  I've been using
5.6.1.

Second, see
<http://www.mhonarc.org/archive/html/mharc-users/2002-08/msg00000.html>
to obtain my version of mhonarc.pl for Namazu.  Just copy it to
/usr/share/namazu/filter/mhonarc.pl (i.e. replace the existing one),
and you should get better results and behavior.  The namazu developers
stated they will include my changes to mhonarc.pl into namazu.  So
hopefully, when upgrading namazu, we do not have to copy over mhonarc.pl
each time.

Note, my version of mhonarc.pl may prevent the problems you are
encountering with your current version of Perl.  Regardles, if using
5.6.0, at least upgrade to 5.6.1 since 5.6.0 is known to have problems.
Perl 5.8.0 has recently been released.

--ewh

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHARC-USERS

<Prev in Thread] Current Thread [Next in Thread>