• FREQITCFG

    From Ray Quinn@1:103/705 to All on Sun Feb 6 13:20:58 2022
    I have TICKIT configured and working quite well for me. However, I have a related question.

    When trying to run jsexec freqitcfg I get an error when selecting Dirs... I have narrowed it down to line 64 of freqitcfg.

    Reading script from /wd/bbs/sbbs/exec/freqitcfg.js
    /sbbs/exec/freqitcfg.js compiled in 0.00 seconds
    !JavaScript /sbbs/exec/freqitcfg.js line 64: TypeError: file_area.dir[v] is undefined
    !Module (freqitcfg) set exit_code: 1
    JavaScript: Destroying context
    JavaScript: Destroying runtime
    Returning error code: 1

    It then freezes up the console (actually using PuTTY/SSH) Anything typed is not echoed until after 'reset' it typed.

    The other options seem to work fine. I was able to create a simple freqit.ini file, so I *CAN* use it as an example.

    ---

    If the right side of the brain controls the left side of the body,
    then only left handed people are in their right minds.


    73 de Ray Quinn W6RAY
    GMRS WRKZ506
    Visalia, CA USA DM06ii
    When all else fails, ham radio works!

    ---
    þ Synchronet þ US 99 BBS - Visalia, CA - bbs.quinnnet.org
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Ray Quinn on Sun Feb 6 16:18:16 2022
    Re: FREQITCFG
    By: Ray Quinn to All on Sun Feb 06 2022 01:20 pm

    I have TICKIT configured and working quite well for me. However, I have a related question.

    When trying to run jsexec freqitcfg I get an error when selecting Dirs... I have narrowed it down to line 64 of freqitcfg.

    Reading script from /wd/bbs/sbbs/exec/freqitcfg.js
    /sbbs/exec/freqitcfg.js compiled in 0.00 seconds
    !JavaScript /sbbs/exec/freqitcfg.js line 64: TypeError: file_area.dir[v] is undefined

    Double-check the "Dirs" line in your ctrl/freqit.ini file. I was able to reproduce this error by putting an invalid dir-code on that line.

    It then freezes up the console (actually using PuTTY/SSH) Anything typed is not echoed until after 'reset' it typed.

    That's an easy one-line fix, but then the error message gets lost (cleared) immediatel. Hrm.

    The other options seem to work fine. I was able to create a simple freqit.ini file, so I *CAN* use it as an example.

    If you discover how to make that error happen through normal usage, let me know. It could be that a dir was added to freqit.cfg and then removed from SCFG?
    --
    digital man (rob)

    Synchronet "Real Fact" #16:
    Synchronet first supported FidoNet networking (with SBBSFIDO) in 1992
    Norco, CA WX: 75.4øF, 11.0% humidity, 1 mph N wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Ray Quinn@1:214/23 to Digital Man on Sun Feb 13 20:04:00 2022
    06 Feb 22 16:18, you wrote to me:

    Re: FREQITCFG
    By: Ray Quinn to All on Sun Feb 06 2022 01:20 pm

    I have TICKIT configured and working quite well for me. However, I
    have a related question.

    When trying to run jsexec freqitcfg I get an error when selecting
    Dirs... I have narrowed it down to line 64 of freqitcfg.

    Reading script from /wd/bbs/sbbs/exec/freqitcfg.js
    /sbbs/exec/freqitcfg.js compiled in 0.00 seconds
    !JavaScript /sbbs/exec/freqitcfg.js line 64: TypeError:
    file_area.dir[v] is undefined

    Double-check the "Dirs" line in your ctrl/freqit.ini file. I was able
    to reproduce this error by putting an invalid dir-code on that line.

    Sorry for the delay getting back. I updated my OS to Debian 11.2 (Bullseye, I think) from 32-bit to 64-bit and had difuculties getting Synchronet to compile. I found where I had the same issue a few years ago and you helped me out and got it working. I also configured Binkit and moved from the stand-alone Binkd server. All is working, so far.

    I looks like the frequt.ini file has 25 "Dirs" lines with 7 different dir-codes each. I figured there are 178 dir-codes total. I have included the first two lines. Is it supposed to be that way or should all dir-codes be listed on ONE Dirs line? It could be that one or more dir-code is incorect. I provide my suspisions further below.

    Dirs=amigaamidaydr,cnetcnt_128,cnetcnt_64,cnetcntamiga,cnetcntnodei,cnetcnt_vic Dirs=dbnodediff,dbinfopack,dbdbridge,fidodailylis,fidonodelist,fidodiffzip,fidodifflzh


    It then freezes up the console (actually using PuTTY/SSH) Anything
    typed is not echoed until after 'reset' it typed.

    That's an easy one-line fix, but then the error message gets lost (cleared) immediatel. Hrm.

    The other options seem to work fine. I was able to create a simple
    freqit.ini file, so I *CAN* use it as an example.

    If you discover how to make that error happen through normal usage,
    let me know. It could be that a dir was added to freqit.cfg and then removed from SCFG?

    I commented out all the Global Dirs statements and ran the config script again. This time it allowed me to select areas and add them to the freqit.ini file. I suspect that either the multiple "Dirs" lines was causing the error, the sheer number of file areas that it was trying to load caused it to crash, or a the combination.


    73 de W6RAY Ray Quinn


    --- GoldED+/W64-MSVC 1.1.5-b20180707
    * Origin: Ham Radio operators do it with frequency! (1:214/23)
  • From Digital Man@1:103/705 to Ray Quinn on Mon Feb 14 18:31:16 2022
    Re: FREQITCFG
    By: Ray Quinn to Digital Man on Sun Feb 13 2022 08:04 pm


    06 Feb 22 16:18, you wrote to me:

    Re: FREQITCFG
    By: Ray Quinn to All on Sun Feb 06 2022 01:20 pm

    I have TICKIT configured and working quite well for me. However, I
    have a related question.

    When trying to run jsexec freqitcfg I get an error when selecting
    Dirs... I have narrowed it down to line 64 of freqitcfg.

    Reading script from /wd/bbs/sbbs/exec/freqitcfg.js
    /sbbs/exec/freqitcfg.js compiled in 0.00 seconds
    !JavaScript /sbbs/exec/freqitcfg.js line 64: TypeError:
    file_area.dir[v] is undefined

    Double-check the "Dirs" line in your ctrl/freqit.ini file. I was able to reproduce this error by putting an invalid dir-code on that line.

    Sorry for the delay getting back. I updated my OS to Debian 11.2 (Bullseye, I think) from 32-bit to 64-bit and had difuculties getting Synchronet to compile. I found where I had the same issue a few years ago and you helped me out and got it working. I also configured Binkit and moved from the stand-alone Binkd server. All is working, so far.

    I looks like the frequt.ini file has 25 "Dirs" lines with 7 different dir-codes each. I figured there are 178 dir-codes total. I have included the first two lines. Is it supposed to be that way or should all dir-codes be listed on ONE Dirs line?

    No, all dir-codes are supposed to be on ONE "Dirs" line.

    It could be that one or more dir-code is incorect.

    That would definitely be a problem.

    I provide my suspisions further below.

    Dirs=amigaamidaydr,cnetcnt_128,cnetcnt_64,cnetcntamiga,cnetcntnodei,cnetcnt_ vic Dirs=dbnodediff,dbinfopack,dbdbridge,fidodailylis,fidonodelist,fidodiffz ip,fido difflzh


    It then freezes up the console (actually using PuTTY/SSH) Anything
    typed is not echoed until after 'reset' it typed.

    That's an easy one-line fix, but then the error message gets lost (cleared) immediatel. Hrm.

    The other options seem to work fine. I was able to create a simple
    freqit.ini file, so I *CAN* use it as an example.

    If you discover how to make that error happen through normal usage,
    let me know. It could be that a dir was added to freqit.cfg and then removed from SCFG?

    I commented out all the Global Dirs statements and ran the config script again. This time it allowed me to select areas and add them to the freqit.ini file. I suspect that either the multiple "Dirs" lines was causing the error, the sheer number of file areas that it was trying to load caused it to crash, or a the combination.

    If you can figure out (and tell me) how multiple Dirs lines were created in the first placed, that would be very helpful and I can definitely fix *that* issue. As for having invalid dir-codes in the Dirs line, I guess that wasn't just thought through when TickIT was written.
    --
    digital man (rob)

    Sling Blade quote #2:
    Karl (re: killing Doyle): I hit him two good whacks in the head with it.
    Norco, CA WX: 62.3øF, 50.0% humidity, 4 mph SSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)