kk4qbn wrote to All <=-
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.
danc@palantir:/sbbs/exec$ grep -i json.parse *.js
avatars.js: if((obj = JSON.parse(text.join(''))) != undefined) chksetup.js: finger_obj = JSON.parse(finger_result.join(''));
exportcfg.js:const defaults = JSON.parse(JSON.stringify(options)); exportcfg.js: propfmt[arg] = JSON.parse('"' + value + '"');
exportcfg.js: options[arg] = JSON.parse('"' + value + '"'); // support
C-encoded chars (e.g. \t\r\n)
exportcfg.js: options[arg] = JSON.parse('"' + argv[++i] + '"'); // support
C-encoded chars (e.g. \t\r\n)
exportcfg.js: obj = item; //JSON.parse(JSON.stringify(item)); imapservice.js: scpy = JSON.parse(JSON.stringify(saved_config[sub].Seen));
importcfg.js: obj = JSON.parse(text[i]);
install-xtrn.js: service = JSON.parse(JSON.stringify(item));
replace_text.js: obj = JSON.parse(file.readAll().join("\n")); sbbslist.js: return JSON.parse(JSON.stringify(obj));
sbbslist.js: if((bbs = JSON.parse(text.join(' '))) != undefined) sbbslist.js: bbs=JSON.parse(buf);
sbbslist.js: alert("JSON.parse exception: " + e);
updatefiles.js: var copy = JSON.parse(JSON.stringify(file));
xtrnmenucfg.js: copyitem = JSON.parse(JSON.stringify(menu.items[itemids[selection]])); // make copy xtrnmenucfg.js: menuconfig = JSON.parse(config_src.toString());
... So easy, a child could do it. Child sold separately.
--- MultiMail/Linux v0.52
þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL