• smb_addvote thread_back field and node alerts

    From Karloch@1:103/705 to All on Sun Dec 18 17:53:30 2016
    Hi *.*,

    I can see in the error logs several lines like this one:

    ERROR 2 (No such file or directory) in qwk.cpp line 1185 (qwk_vote) writing "/sbbs/data/subs/dove-gen" access=-105 info=smb_addvote thread_back field
    missing

    I guess it has something to do with the following CVS commit:

    ======= /src/smblib/smbadd.c - Revision 1.32
    smb_addvote() now requires that the caller setup the msg.hdr.thread_back value first (performing any reply_id look-up necessary). That functionality was moved to postmsg.cpp->votemsg().
    =======

    But I don't know where I have to setup the thread_back value. Where is it?

    By the way, I have noticed that after logging in the BBS, I don't receive anymore node alerts regarding errors, new EchoMail and so... What could be missing?

    Regards,
    Carlos

    ---
    * Synchronet * HISPAMSX BBS - The 8-bit MSX computers BBS - 2:345/111@fidonet
    * Origin: Vertrauen - vert.synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Karloch on Sun Dec 18 11:07:40 2016
    Re: smb_addvote thread_back field and node alerts
    By: Karloch to All on Sun Dec 18 2016 05:53 pm

    Hi *.*,

    I can see in the error logs several lines like this one:

    ERROR 2 (No such file or directory) in qwk.cpp line 1185 (qwk_vote) writing "/sbbs/data/subs/dove-gen" access=-105 info=smb_addvote thread_back field
    missing

    I guess it has something to do with the following CVS commit:

    ======= /src/smblib/smbadd.c - Revision 1.32
    smb_addvote() now requires that the caller setup the msg.hdr.thread_back value first (performing any reply_id look-up necessary). That functionality was moved to postmsg.cpp->votemsg().
    =======

    But I don't know where I have to setup the thread_back value. Where is it?

    The original voting code didn't include the thread_back values. The current code in CVS does, so those errors should stop occurring. Only some of the original vote messages on VERT should trigger that error and it can be safely ignored. If you get instances of that error (with new votes), then I would like to know about it.

    By the way, I have noticed that after logging in the BBS, I don't receive anymore node alerts regarding errors, new EchoMail and so... What could be missing?

    Are you using a custom logon module? Or maybe your text.dat is not in-sync with the version of Synchronet you're using?

    digital man

    Synchronet "Real Fact" #33:
    The Synchronet web user interface was contributed by Robert Couture, Runemaster.
    Norco, CA WX: 56.5oF, 18.0% humidity, 14 mph WSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.00-Win32
    * Origin: Vertrauen - vert.synchro.net (1:103/705)
  • From Karloch@1:103/705 to Digital Man on Tue Dec 20 23:50:22 2016
    Re: smb_addvote thread_back field and node alerts
    By: Digital Man to Karloch on Sun Dec 18 2016 11:07:40

    The original voting code didn't include the thread_back values. The current code in CVS does, so those errors should stop occurring. Only some of the original vote messages on VERT should trigger that error and it can be safely ignored. If you get instances of that error (with new votes), then I would like to know about it.

    I guess you are right, I have not seen the error anymore since then.

    Are you using a custom logon module? Or maybe your text.dat is not in-sync with the version of Synchronet you're using?

    No, I'm not using custom login modules. I usually run the BBS under a recent CVS compilation, current one from two weeks ago. I updated text.dat to the latest CVS revision, but no avail, I don't get node alerts... I must be missing something...

    Regards,
    Carlos

    ---
    * Synchronet * HISPAMSX BBS - The 8-bit MSX computers BBS - 2:345/111@fidonet
    * Origin: Vertrauen - vert.synchro.net (1:103/705)