Subj : Re: Json Error To : kk4qbn From : Gamgee Date : Sun Jun 16 2024 09:22:00 -=> kk4qbn wrote to All <=- kk> I have been getting this error a few times throughout the day for kk> a good while now. I've tried to track where it is coming from but kk> it really does'nt give me much to work with. kk> Sat Jun 15 23:56:48 2024 master/aabef5821 kk4qbn.synchro.net kk> srvc 0000 JSON SyntaxError: JSON.parse kk> It does'nt seem to have any negative impact on anything on my kk> system other than infating the daily error counter. kk> "JSON.parse" does not exist in any of the json related kk> 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 .