• Newslink Question (again)

    From kyonshi@VERT to alt.bbs.synchronet on Monday, January 29, 2024 19:18:06
    From Newsgroup: alt.bbs.synchronet

    I am getting this when I run ./jsexec -r newslink.js

    JSexec v3.20a-Linux master/5c3b7af1b - Execute Synchronet JavaScript Module Compiled Jan 28 2024 12:37:12 with GCC 10.2.1

    Loading configuration files from /sbbs/ctrl
    JavaScript-C 1.8.5 2011-03-31
    JavaScript: Creating runtime: 167772160 bytes

    cmdline compiled in 0.00 seconds
    !JavaScript line 1: ReferenceError: newslink is not defined
    Result (undefined): undefined
    cmdline executed in 0.00 seconds
    !Module (cmdline) set exit_code: 1

    JavaScript: Destroying context
    JavaScript: Destroying runtime


    According to what I see here newslink is not defined, but I have the configuration in newslink.cfg and in scfg (and it already works as a
    nntp server). Where could be the issue here?
    --- Synchronet 3.20a-Linux NewsLink 1.114
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to kyonshi on Monday, January 29, 2024 14:51:18
    Re: Newslink Question (again)
    By: kyonshi to alt.bbs.synchronet on Mon Jan 29 2024 04:18 pm

    From Newsgroup: alt.bbs.synchronet

    I am getting this when I run ./jsexec -r newslink.js

    JSexec v3.20a-Linux master/5c3b7af1b - Execute Synchronet JavaScript Module Compiled Jan 28 2024 12:37:12 with GCC 10.2.1

    Loading configuration files from /sbbs/ctrl
    JavaScript-C 1.8.5 2011-03-31
    JavaScript: Creating runtime: 167772160 bytes

    cmdline compiled in 0.00 seconds
    !JavaScript line 1: ReferenceError: newslink is not defined
    Result (undefined): undefined
    cmdline executed in 0.00 seconds
    !Module (cmdline) set exit_code: 1

    JavaScript: Destroying context
    JavaScript: Destroying runtime


    According to what I see here newslink is not defined, but I have the configuration in newslink.cfg and in scfg (and it already works as a
    nntp server). Where could be the issue here?

    Remove the '-r' option. It doesn't make sense in that context.
    --
    digital man (rob)

    Breaking Bad quote #4:
    Tagging trees is a lot better than chasing monsters. - Hank Schrader
    Norco, CA WX: 75.1øF, 28.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From kyonshi@VERT to alt.bbs.synchronet on Tuesday, January 30, 2024 01:00:47
    From Newsgroup: alt.bbs.synchronet

    On 1/29/2024 8:51 PM, Digital Man wrote:
    To: kyonshi
    Re: Newslink Question (again)
    By: kyonshi to alt.bbs.synchronet on Mon Jan 29 2024 04:18 pm

    > From Newsgroup: alt.bbs.synchronet
    >
    > I am getting this when I run ./jsexec -r newslink.js
    >
    > JSexec v3.20a-Linux master/5c3b7af1b - Execute Synchronet JavaScript Module
    > Compiled Jan 28 2024 12:37:12 with GCC 10.2.1
    >
    > Loading configuration files from /sbbs/ctrl
    > JavaScript-C 1.8.5 2011-03-31
    > JavaScript: Creating runtime: 167772160 bytes
    >
    > cmdline compiled in 0.00 seconds
    > !JavaScript line 1: ReferenceError: newslink is not defined
    > Result (undefined): undefined
    > cmdline executed in 0.00 seconds
    > !Module (cmdline) set exit_code: 1
    >
    > JavaScript: Destroying context
    > JavaScript: Destroying runtime
    >
    >
    > According to what I see here newslink is not defined, but I have the
    > configuration in newslink.cfg and in scfg (and it already works as a
    > nntp server). Where could be the issue here?

    Remove the '-r' option. It doesn't make sense in that context.

    thank, now it seems to work. well. at least it claims it is doing something. --- Synchronet 3.20a-Linux NewsLink 1.114
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net