• Newslink Question (again)

    From kyonshi@VERT to alt.bbs.synchronet on Mon Jan 29 16:18:06 2024
    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 Mon Jan 29 11:51:18 2024
    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 Mon Jan 29 22:00:47 2024
    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