• Json Error

    From kk4qbn@VERT/KK4QBN to All on Sun Jun 16 00:18:06 2024
    I have been getting this error a few times throughout the day for a good while now. I've tried to track where it is coming from but it really does'nt give me much to work with.

    Sat Jun 15 23:56:48 2024 master/aabef5821 kk4qbn.synchro.net
    srvc 0000 JSON SyntaxError: JSON.parse

    It does'nt seem to have any negative impact on anything on my system other than infating the daily error counter.

    "JSON.parse" does not exist in any of the json related javascripts, and I've tried searching for this error to no avail.

    Thanks!
    ---
    Tim (kk4qbn)
    +o kk4qbn.synchro.net
    ■ Synchronet ■ KK4QBN BBS - kk4qbn.synchro.net - Chatsworth, GA USA
  • From kk4qbn@VERT/KK4QBN to Digital Man on Tue Aug 20 15:47:57 2024
    Re: Json Error
    By: Digital Man to kk4qbn on Sun Jun 16 2024 14:27:55

    "JSON.parse" does not exist in any of the json related javascripts, and
    I've tried searching for this error to no avail.

    I found it in load/json-sock.js: Socket.prototype.recvJSON

    I'm committing a change to add more detail to the error message logged in this case. Hopefully that helps.

    Ok, whatever you did in these last couple of commits has stopped all those errors I was getting, I was getting anywhere from 20-100 different of these weird errors daily, after the last update i'm getting NONE.. Maybe it was just an errant js file or something I don't know.. but the commit where you took the executable flag off all the JS files fixed it.
    ---
    Tim (kk4qbn)
    +o kk4qbn.synchro.net
    ■ Synchronet ■ KK4QBN BBS - kk4qbn.synchro.net - Chatsworth, GA USA