• fidonet nodelist browser error

    From xbit@VERT/XBITBBS to All on Mon Jun 2 05:58:31 2025
    I get the following:

    !JavaScript fido-nodelist-browser.js line 6941: SyntaxError: unterminated string
    literal

    !ERROR compiling d:\sbbs\EXEC\fido-nodelist-browser.js

    Install doc: https://wiki.synchro.net/module:fido-nodelist-browser?s[]=fido&s[]=nodelist&s[] =browser&s[]=js
    ---
    |15<|07<|08< +h3 |02><|08-bi+ >|07>|15>
    þ Synchronet þ |15<|07<|08< +h3 |02><|08-bi+ >|07>|15>
  • From nelgin@VERT/EOTLBBS to All on Mon Jun 2 13:32:46 2025
    On Mon, 2 Jun 2025 05:58:31 -0700
    "xbit" (VERT/XBITBBS) <VERT/XBITBBS!xbit@endofthelinebbs.com> wrote:
    I get the following:

    !JavaScript fido-nodelist-browser.js line 6941: SyntaxError:
    unterminated string literal

    !ERROR compiling d:\sbbs\EXEC\fido-nodelist-browser.js

    Install doc: https://wiki.synchro.net/module:fido-nodelist-browser?s[]=fido&s[]=nodelist&s[]
    =browser&s[]=js ---
    |15<|07<|08< +h3 |02><|08-bi+
    â–  Synchronet â–  |15<|07<|08< +h3 |02><|08-bi+ >|07>|15>
    Line 6941 is
    case "^Z":
    Try to comment it out and see if it works. If so then it's probably
    picking up ^Z as end of file or something. Winderz?
    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23
    ---
    ï¿­ Synchronet ï¿­ End Of The Line BBS - endofthelinebbs.com
  • From Nightfox@VERT/DIGDIST to xbit on Mon Jun 2 12:40:12 2025
    Re: fidonet nodelist browser error
    By: xbit to All on Mon Jun 02 2025 05:58 am

    I get the following:

    !JavaScript fido-nodelist-browser.js line 6941: SyntaxError: unterminated string
    literal

    !ERROR compiling d:\sbbs\EXEC\fido-nodelist-browser.js

    Do you have the latest version of fido-nodelist-browser.js?

    I'm checking the file in the Synchronet Git repo:

    https://gitlab.synchro.net/main/sbbs/-/blob/master/exec/fido-nodelist-browser.j s?ref_type=heads

    Line 6941 is this:

    case " ":

    I don't see anything wrong with that line..

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From xbit@VERT/XBITBBS to Nightfox on Mon Jun 2 13:50:22 2025
    Re: fidonet nodelist browser error
    By: Nightfox to xbit on Mon Jun 02 2025 12:40 pm

    Do you have the latest version of fido-nodelist-browser.js?

    Yes, I tested the latest when i first got the error.
    ---
    |15<|07<|08< +h3 |02><|08-bi+ >|07>|15>



    ...A Vulcan can no sooner be disloyal than he can exist without breathing.
    ---
    þ Synchronet þ |15<|07<|08< +h3 |02><|08-bi+ >|07>|15>
  • From Digital Man@VERT to xbit on Mon Jun 2 14:47:57 2025
    Re: fidonet nodelist browser error
    By: xbit to All on Mon Jun 02 2025 05:58 am

    I get the following:

    !JavaScript fido-nodelist-browser.js line 6941: SyntaxError: unterminated string
    literal

    !ERROR compiling d:\sbbs\EXEC\fido-nodelist-browser.js

    What's on line 6941 of your version of that file?
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #50:
    KD = King Drafus (Allen Christiansen)
    Norco, CA WX: 79.4øF, 52.0% humidity, 7 mph WSW wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From xbit@VERT/XBITBBS to Digital Man on Mon Jun 2 15:02:40 2025
    Re: fidonet nodelist browser error
    By: Digital Man to xbit on Mon Jun 02 2025 02:47 pm

    I get the following:
    !JavaScript fido-nodelist-browser.js line 6941: SyntaxError: unterminated
    !ERROR compiling d:\sbbs\EXEC\fido-nodelist-browser.js

    What's on line 6941 of your version of that file?

    case "SUB":

    Quick update: downgraded to the version on 3.19 and it works. That said, more than happy to test w/ my current ver or anyothers.
    ---
    |15<|07<|08< +h3 |02><|08-bi+ >|07>|15>



    ...Nothing matters very much, and very few things matter at all.
    ---
    þ Synchronet þ |15<|07<|08< +h3 |02><|08-bi+ >|07>|15>
  • From Digital Man@VERT to xbit on Mon Jun 2 15:17:54 2025
    Re: fidonet nodelist browser error
    By: xbit to Digital Man on Mon Jun 02 2025 03:02 pm

    Re: fidonet nodelist browser error
    By: Digital Man to xbit on Mon Jun 02 2025 02:47 pm

    I get the following:
    !JavaScript fido-nodelist-browser.js line 6941: SyntaxError: unterminated
    !ERROR compiling d:\sbbs\EXEC\fido-nodelist-browser.js

    What's on line 6941 of your version of that file?

    case "SUB":

    Quick update: downgraded to the version on 3.19 and it works. That said, more than happy to test w/ my current ver or anyothers.

    I see the problem. In the current version of that file (I'm not sure about older versions), many of those case statements in/around line 6941 are literal control characters embedded in a string. Windows and DOS treat the Ctrl-Z (SUB) character as EOF (holdover from CP/M days), so Nelgin's likely right.

    Even though your viewer/editor might show case "SUB" or case "^Z" it's actually a literal control character in the file and that's not kosher JS.
    --
    digital man (rob)

    Steven Wright quote #34:
    If at first you don't succeed, skydiving is not for you.
    Norco, CA WX: 81.0øF, 49.0% humidity, 17 mph WNW wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net