Subj : MsgBase get_all_msg_headers issue
To   : Nightfox
From : Digital Man
Date : Fri Mar 15 2019 03:11 pm

 Re: MsgBase get_all_msg_headers issue
 By: Nightfox to Digital Man on Fri Mar 15 2019 01:07 pm

>   Re: MsgBase get_all_msg_headers issue
>   By: Digital Man to Nightfox on Fri Mar 15 2019 12:13 am
>
>  >> !JavaScript  ../xtrn/DigDist/MsgReader/DDMsgReader.js line 1392:
>  >> Error: index re
>  >> ad (1062) failed
>
>  >> I wasn't seeing that before.  I've overwritten my binaries now, so I'm
>  >> not sure offhand which binaries I had where I wasn't seeing that
>  >> error.
>
>  >> Where it's failing in my script, I'm not calling that function twice,
>  >> it's right after opening the messagebase.
>
>  DM> That's weird. Calling get_msg_headers() right after opening the
>  DM> messagebase did not cause any error for me, nor should it have (the
>  DM> file pointer would be at the beginning the file by default). I wrote a
>  DM> simple little script to executing JSexec to 1. reproduce the error and
>  DM> 2. confirm the fix.
>
> It seems that many of my messagebases had corruption in them (particularly,
> most of them were FidoNet areas).  I ran fixsmb on those and it seems to be
> resolved.

I'll see if I can make it more tolerant of corrupted message bases.

> Another sub-board where it's having that error though is another one where
> the messagebase files don't exist (possibly because nobody has posted in
> there yet?).

It shouldn't do that. What's the exact error message in that case?

                                           digital man

This Is Spinal Tap quote #36:
Bobbi Flekman: Money talks, and bullshit walks.
Norco, CA WX: 70.5�F, 23.0% humidity, 12 mph E wind, 0.00 inches rain/24hrs

---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net