• Recent error message

    From Slinky@1:103/705 to All on Mon Feb 6 15:18:51 2023
    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.
    -* Steven Bennett *-

    ---
    � Synchronet � Slinky's Place - slinkybbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Codefenix@1:103/705 to Slinky on Mon Feb 6 21:29:05 2023
    Re: Recent error message
    By: Slinky to All on Mon Feb 06 2023 03:18 pm

    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.

    Hey Steve, good to see you on here again.

    It wasn't syncWXremix, was it? That died a few years back when WU did away with their free API, which could explain the parse error.

    |01<|09co|03d|11e|15�|11e|03n|09ix|01>|07
    ---
    � Synchronet � -=[ ConstructiveChaos BBS | conchaos.synchro.net ]=-
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Slinky on Tue Feb 7 15:35:56 2023
    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)
  • From Slinky@1:103/705 to Codefenix on Tue Feb 7 06:02:53 2023
    Re: Recent error message
    By: Codefenix to Slinky on Mon Feb 06 2023 09:29 pm

    Yes, it was the WXremix. It must be looking in the modopts.ini file still. I'll remove the entry.

    I have a WX station that reports to WX Underground, so I get free API files. Too bad the door doesn't work anymore.
    -* Steven Bennett *-

    ---
    � Synchronet � Slinky's Place - slinkybbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Slinky on Tue Feb 7 16:45:55 2023
    Re: Recent error message
    By: Slinky to Codefenix on Tue Feb 07 2023 06:02:53

    Yes, it was the WXremix. It must be looking in the modopts.ini file still. I'll remove the entry.

    It doesn't make sense that WXRemix would be generating this error message in your services output, nor on startup.

    My recollection of this script is that it ran under the terminal server and showed forecast data to telnet/ssh/rlogin users. You might see a JSON parse error when somebody ran the script, but not under 'services', and not on every startup. (Maybe on every login.)

    Maybe you're using some other variant of the script or your configuration is different from what I recall.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    � Synchronet � electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Slinky@1:103/705 to echicken on Tue Feb 7 11:13:17 2023
    Re: Recent error message
    By: echicken to Slinky on Tue Feb 07 2023 03:35 pm

    Thank you, I'll try that.

    ---
    � Synchronet � Slinky's Place - slinkybbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Daryl Stout@1:2320/33 to Codefenix on Tue Feb 7 10:11:00 2023
    It wasn't syncWXremix, was it? That died a few years back when WU did
    away with their free API, which could explain the parse error.

    Sure hated to lose that one.

    Daryl

    ... "Do you, Sysop, take this BBS, to be your wedded spouse?"
    === MultiMail/Win v0.52
    --- SBBSecho 3.15-Win32
    * Origin: The Thunderbolt BBS - Little Rock, Arkansas (1:2320/33)
  • From Codefenix@1:103/705 to Daryl Stout on Thu Feb 9 08:45:17 2023
    Re: Re: Recent error message
    By: Daryl Stout to Codefenix on Tue Feb 07 2023 10:11 am

    It wasn't syncWXremix, was it? That died a few years back when WU
    did away with their free API, which could explain the parse error.

    Sure hated to lose that one.

    Yeah, but there are other free weather APIs available though. The weather mod I made here uses Weather.gov for US forecasts and OpenWeatherMap.org for international forecasts.

    That said, I'm sure if someone wanted to, they could ressurect syncWXremix by reworking it to use a different API.

    |01<|09co|03d|11e|15�|11e|03n|09ix|01>|07
    ---
    � Synchronet � -=[ ConstructiveChaos BBS | conchaos.synchro.net ]=-
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Daryl Stout@1:2320/33 to Codefenix on Fri Feb 10 08:57:00 2023
    Yeah, but there are other free weather APIs available though. The
    weather mod I made here uses Weather.gov for US forecasts and OpenWeatherMap.org for international forecasts.

    I use the one from OpenWeather for a ham radio appliation called D-Rats.

    That said, I'm sure if someone wanted to, they could ressurect
    syncWXremix by reworking it to use a different API.

    Now, that's what I call a hint. <G>

    Daryl

    ... "You'll soon feel the effects of salmonella." -Message in fortune cookie. === MultiMail/Win v0.52
    --- SBBSecho 3.15-Win32
    * Origin: The Thunderbolt BBS - Little Rock, Arkansas (1:2320/33)