Subj : MsgBase get_all_msg_headers issue
To : Digital Man
From : Nightfox
Date : Fri Mar 15 2019 12:54 pm
Re: MsgBase get_all_msg_headers issue
By: Digital Man to Nightfox on Fri Mar 15 2019 12:13 am
>> get_all_msg_headers():
>> !JavaScript ../xtrn/DigDist/MsgReader/DDMsgReader.js line 1392:
>> Error: index re
>> ad (1062) failed
DM> The problem I fixed in js_msgbase.c rev 1.230 (Mar-13-2019 UTC) was
DM> introduced in rev 1.226 of js_msgbase.c (Feb-12-2019). Calling any JS
DM> MsgBase method that read from the index file before calling the
DM> get_all_msg_headers() method would cause the error. I confirmed the error
DM> and the fix.
>> 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 file
DM> pointer would be at the beginning the file by default). I wrote a simple
DM> little script to executing JSexec to 1. reproduce the error and 2. confirm
DM> the fix.
It seems to be inconsistent - I'm not getting that error with every sub-board,
only some of them. I'm not sure if I might have some sub-board corruption
somehow..
Nightfox
---
� Synchronet � Digital Distortion: digitaldistortionbbs.com