Re: Recent error message
By: Slinky to All on Mon Feb 06 2023 15:18:51
A couple of weeks ago, I started getting "SyntaxError: JSON.parse" in the services window whenever the BBS was restarted. I also tried to install a weather door written for Synch, in .JS, and it had the same error when it tried to run. I haven't touched anything or upgraded anything recently.
The most likely culprit is one of the JSONDB modules. You can try to track down which one by editing ctrl/json-service.ini. Each DB module is configured with a section like:
[someModule]
dir=/some/path/
You can disable these by commenting them out with semicolons like:
;[someModule]
;dir=/some/path/
Turn them all off, restart, see if the problem goes away. If not, then your problem is somewhere else. If yes, then turn them all back on one by one, restarting each time (it may automatically restart) until you find the one that raises the error. This one's data file (eg. 'someModule.json') is probably corrupted or too large and needs to be deleted.
If not, then it's some other service that is attempting to parse JSON for whatever reason, and there are lots of things that might do that.
---
echicken
electronic chicken bbs - bbs.electronicchicken.com
---
þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)