• Problem installing Binkit

    From poindexter FORTRAN@REALITY to All on Thu Dec 27 19:44:44 2018
    Hi, Deuce/all -

    I'm trying to install Binkit on my installation freshly updated from sbbs_run.zip and sbbs_dev.zip (as of 27 December) and when I run jsexec binkit install, I get the following error. With my limited JS-fu, I've been crawling the .js files and see cnflib.read called, but can't see where it's defined.

    Any suggestions?


    C:\sbbs\exec>jsexec binkit install

    JSexec v3.17a-Win32 (rev 1.201) - Execute Synchronet JavaScript Module
    Compiled Dec 27 2018 05:03:29 with MSC 1800

    Loading configuration files from C:\SBBS\CTRL
    JavaScript-C 1.8.5 2011-03-31
    JavaScript: Creating runtime: 8388608 bytes
    JavaScript: Initializing context (stack: 16384 bytes)

    Reading script from C:\sbbs\exec\binkit.js
    C:\sbbs\exec\binkit.js compiled in 0.01 seconds
    BinkIT/2.1 invoked with options: install
    !JavaScript C:\sbbs\exec\binkit.js line 1078: TypeError: cnflib.read is not a function
    C:\sbbs\exec\binkit.js executed in 0.29 seconds
    !Module (binkit) set exit_code: 1

    JavaScript: Destroying context
    JavaScript: Destroying runtime

    Returning error code: 1

    C:\sbbs\exec>

    ---
    ■ Synchronet ■ realitycheckBBS -- http://realitycheckBBS.org
  • From Digital Man to poindexter FORTRAN on Thu Dec 27 21:07:24 2018
    Re: Problem installing Binkit
    By: poindexter FORTRAN to All on Thu Dec 27 2018 07:44 pm

    Hi, Deuce/all -

    I'm trying to install Binkit on my installation freshly updated from sbbs_run.zip and sbbs_dev.zip (as of 27 December) and when I run jsexec binkit install, I get the following error. With my limited JS-fu, I've been crawling the .js files and see cnflib.read called, but can't see where it's defined.

    Any suggestions?


    C:\sbbs\exec>jsexec binkit install

    JSexec v3.17a-Win32 (rev 1.201) - Execute Synchronet JavaScript Module Compiled Dec 27 2018 05:03:29 with MSC 1800

    Loading configuration files from C:\SBBS\CTRL
    JavaScript-C 1.8.5 2011-03-31
    JavaScript: Creating runtime: 8388608 bytes
    JavaScript: Initializing context (stack: 16384 bytes)

    Reading script from C:\sbbs\exec\binkit.js
    C:\sbbs\exec\binkit.js compiled in 0.01 seconds
    BinkIT/2.1 invoked with options: install
    !JavaScript C:\sbbs\exec\binkit.js line 1078: TypeError: cnflib.read is not a function

    My guess is you have an old cnflib.js file on your system somewhere. Search your entire sbbs directory tree for all instances of cnflib.js and then check the file(s) to see what revision(s) you have. Normally, you should only have on instance of this file, in the exec/load dir, and the latest is rev 1.13.

    digital man

    Synchronet "Real Fact" #91:
    Captured chat with Wayne Bell: http://wiki.synchro.net/history:waynebell_chat Norco, CA WX: 53.2°F, 26.0% humidity, 5 mph SSE wind, 0.00 inches rain/24hrs
  • From echicken@ECBBS to poindexter FORTRAN on Fri Dec 28 00:14:09 2018
    Re: Problem installing Binkit
    By: poindexter FORTRAN to All on Thu Dec 27 2018 19:44:44

    binkit install, I get the following error. With my limited JS-fu, I've been crawling the .js files and see cnflib.read called, but can't see where it's defined.

    The variable 'cnflib' is defined in the line directly above the call to the cnflib.read method.

    When you updated via the sbbs_run archive, did you remember to update your exec/load/ directory? It's possible that you don't have the latest copy of cnflib.js, and if so, a number of other things are likely behind the times.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-425-5435
    ■ Synchronet ■ electronic chicken bbs - bbs.electronicchicken.com
  • From poindexter FORTRAN@REALITY to Digital Man on Fri Dec 28 07:43:07 2018
    Re: Problem installing Binkit
    By: Digital Man to poindexter FORTRAN on Thu Dec 27 2018 09:07 pm


    My guess is you have an old cnflib.js file on your system somewhere. Search your entire sbbs directory tree for all instances of cnflib.js and then check the file(s) to see what revision(s) you have. Normally, you should only have on instance of this file, in the exec/load dir, and the latest is rev 1.13.

    I'd extracted the .zip file to /sbbs/exec/exec accidentally. Once I moved the new files into place, all is well. Thanks!

    ---
    ■ Synchronet ■ realitycheckBBS -- http://realitycheckBBS.org