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?
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.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 368 |
Nodes: | 16 (2 / 14) |
Uptime: | 41:36:40 |
Calls: | 7,885 |
Calls today: | 3 |
Files: | 12,962 |
Messages: | 5,787,523 |