• progress?

    From Rick Smith@21:1/190 to All on Thu Dec 15 06:17:42 2022
    Greetings All!

    I may be making some progress?

    now:

    ./oputil.js mb import-areas ../src/fsxnet.na

    only gets a one-line error

    SQLITE_CANTOPEN: unable to open database file


    ----
    Regards,


    Rick Smith (Nitro)

    ... You know you're hooked when: you consider BBSing better than chocolate
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: ----> Abacus BBS! --->>>>bbs.abon.us:2323 (21:1/190)
  • From NuSkooler@21:1/121 to Rick Smith on Fri Dec 16 10:50:08 2022

    On Thursday, December 15th Rick Smith was heard saying...
    I may be making some progress?
    ./oputil.js mb import-areas ../src/fsxnet.na
    only gets a one-line error
    SQLITE_CANTOPEN: unable to open database file

    I'm not sure the steps you did prior to this, but feels like something is odd with the setup. Are your permissions correct, e.g. in the 'db' dir?

    They should look something like this, replacing 'enigma' with the user your BBS runs as:
    engima-bbs> ls -l ./db/ total 576900
    -rw-r--r--. 1 enigma enigma 174022656 Dec 15 20:17 file.sqlite3
    -rw-r--r--. 1 enigma enigma 410257408 Dec 16 10:46 message.sqlite3
    drwxr-xr-x. 2 enigma enigma 4096 Dec 15 12:00 mods/
    -rw-r--r--. 1 enigma enigma 3791872 Dec 16 10:42 system.sqlite3
    -rw-r--r--. 1 enigma enigma 2642944 Dec 16 10:42 user.sqlite3

    You can of course also manaully enter areas, but again it feels like soemthing is off here.







    --
    |08 ■ |12NuSkooler |06// |12Xibalba |08- |07"|06The place of fear|07"
    |08 ■ |03xibalba|08.|03l33t|08.|03codes |08(|0344510|08/|03telnet|08, |0344511|08/|03ssh|08)
    |08 ■ |03ENiGMA 1/2 WHQ |08| |03Phenom |08| |0367 |08| |03iMPURE |08| |03ACiDic
    --- ENiGMA 1/2 v0.0.13-beta (linux; x64; 16.16.0)
    * Origin: Xibalba -+- xibalba.l33t.codes:44510 (21:1/121)
  • From Rick Smith@21:1/190 to NuSkooler on Fri Dec 16 21:33:20 2022
    Greetings NuSkooler!

    Friday December 16 2022 10:50, you wrote to me about an urgent matter!:

    * Forwarded from area 'FSX_ENG'

    I'm not sure the steps you did prior to this, but feels like something
    is odd with the setup. Are your permissions correct, e.g. in the 'db'
    dir?

    I actually got fsxnet to add it works. However now cannot add a second network, but its probably that I do not understand how exactly it works. On you git instructions I tried following that add additional networks. It just errors out and when I try to use oputil to add fidonet it comes with that first prompt where it says use arrow keys to select network or something, but its blank and if I use and arrow key I get an error on screen (which I know isnt helpful to you at all) Ill see if I can paste it here.

    {
    messageNetworks: {
    ftn: {
    networks: {
    // it is recommended to use lowercase network tags
    fsxnet: {
    defaultZone: 21
    localAddress: "21:1/121"
    }

    araknet: {
    defaultZone: 10
    localAddress: "10:101/9"
    }
    }
    }
    }
    }

    your example in your docs, however after adding fsxnet mine looks like this.. Also I should note that my config.hjson did not include a "messageNetwork" section I had to add it, is that normal?

    messageNetworks: {
    ftn: {
    networks: {
    fsxnet: {
    defaultZone: 21
    localAddress: 21:1/190
    areas: {
    fsx_tst: {
    network: fsxnet
    tag: FSX_TST
    uplinks: 21:1/100
    }
    fsx_gen: {
    network: fsxnet
    tag: FSX_GEN
    uplinks: 21:1/100
    }
    fsx_mys: {
    network: fsxnet
    tag: FSX_MYS
    uplinks: 21:1/100

    Thats not the whole thing just a sample of it. so it shows areas there as well as the messageconference area it looks slightly different but they are listed in both places. SO would I add fidonet at the end of this list of areas?

    I know I will eventually get it, and I much prefer the config files once I get to know them.

    Thank you in advance for any help and I hope when I send this message all the cut and paste doesnt go wonky so you cant read it.

    ----
    Regards,


    Rick Smith (Nitro)

    ... TAGLINE A BBS addict is hooked when: you consider BBSing better than chocolat
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: ----> Abacus BBS! --->>>>bbs.abon.us:2323 (21:1/190)
  • From NuSkooler@21:1/121 to Rick Smith on Sat Dec 17 12:30:13 2022

    On Friday, December 16th Rick Smith was heard saying...
    Thats not the whole thing just a sample of it. so it shows areas there as well as the messageconference area it looks slightly different but they are listed in both places. SO would I add fidonet at the end of this list of areas?

    It looks like you have a nesting/mismatch in your config:
    messageNetworks: {
    ftn: {
    networks: {
    fsxnet: {
    defaultZone: 21
    localAddress: 21:1/190
    } <-- I put this here; terminates 'fsxnet'
    } <-- I put this here; terminnates 'networks'

    areas: { <-- this belongs at the same level as 'networks'
    fsx_tst: {
    network: fsxnet
    tag: FSX_TST
    uplinks: 21:1/100

    Make sure you have your nesting correct. If you don't have one already, get a editor with HJSON support. VSCode has a nice plugin. Many others support it as well.

    We can get your config working then worry about why the import tool isn't working later -- it's possible I broke it :D

    RE: values not present by default. Yep, some things you just have to add if you utilize them.

    We'll get this going! :D



    --
    |08 ■ |12NuSkooler |06// |12Xibalba |08- |07"|06The place of fear|07"
    |08 ■ |03xibalba|08.|03l33t|08.|03codes |08(|0344510|08/|03telnet|08, |0344511|08/|03ssh|08)
    |08 ■ |03ENiGMA 1/2 WHQ |08| |03Phenom |08| |0367 |08| |03iMPURE |08| |03ACiDic
    --- ENiGMA 1/2 v0.0.13-beta (linux; x64; 16.16.0)
    * Origin: Xibalba -+- xibalba.l33t.codes:44510 (21:1/121)
  • From Rick Smith@21:1/190 to NuSkooler on Sun Dec 18 07:57:52 2022
    Greetings NuSkooler!

    Saturday December 17 2022 12:30, you wrote to me about an urgent matter!:

    * Forwarded from area 'FSX_ENG'

    It looks like you have a nesting/mismatch in your config:
    messageNetworks: {
    ftn: {
    networks: {
    fsxnet: {
    defaultZone: 21
    localAddress: 21:1/190
    } <-- I put this here; terminates 'fsxnet'
    } <-- I put this here; terminnates 'networks'

    Ok I got vscode (much easier to see) and I got the three networks listed on bbs...

    areas: { <-- this belongs at the same level as 'networks'

    Not sure I understand what you mean here? Is areas in the wrong spot?

    While typing this I just noticed enigma crashed while I was logged in with netrunner at the change conference screen and local fsxnet and fidonet were there listed.

    /home/rick/enigma-bbs/core/scanner_tossers/ftn_bso.js:2445
    const areaTags = Object.keys(config.messageNetworks.ftn.areas).filter(
    ^

    TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at FTNMessageScanTossModule.performEchoMailExport (/home/rick/enigma-bbs/core/scanner_tossers/ftn_bso.js:2445:33)
    at /home/rick/enigma-bbs/core/scanner_tossers/ftn_bso.js:2909:41
    at /home/rick/enigma-bbs/node_modules/async/dist/async.js:2588:44
    at replenish (/home/rick/enigma-bbs/node_modules/async/dist/async.js:446:21)
    at /home/rick/enigma-bbs/node_modules/async/dist/async.js:451:13
    at eachLimit$1 (/home/rick/enigma-bbs/node_modules/async/dist/async.js:2718:34)
    at awaitable (/home/rick/enigma-bbs/node_modules/async/dist/async.js:211:32)
    at Object.eachSeries (/home/rick/enigma-bbs/node_modules/async/dist/async.js:2746:16)
    at Object.awaitable (/home/rick/enigma-bbs/node_modules/async/dist/async.js:211:32)

    Here is the code I am currently using.

    messageNetworks: {
    ftn: {
    networks: {
    fsxnet: {
    defaultZone: 21
    localAddress: 21:1/190
    }

    fidonet: {
    defaultZone: 1
    localAddress: 1:105/10
    }
    }
    }
    }

    messageConferences: {

    fsxnet: {
    name: fsxNet
    desc: fsxNet
    sort: 2
    default: true
    areas: {
    fsx_tst: {
    name: fsxNet Test Arena
    desc: fsxNet Test Arena

    this is abbreviated because of the amount of areas

    }
    }

    }

    fidonet: {
    name: fidoNet
    desc: fidoNet
    sort: 3
    default: true
    areas: {
    }
    }




    }





    ----
    Regards,


    Rick Smith (Nitro)

    ... TAGLINE A BBS addict is hooked when: you consider BBSing better than chocolat
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: ----> Abacus BBS! --->>>>bbs.abon.us:2323 (21:1/190)
  • From Rick Smith@21:1/190 to Rick Smith on Sun Dec 18 09:40:38 2022
    Greetings Nitro!

    Sunday December 18 2022 07:57, I wrote to NuSkooler about an urgent matter!:

    Greetings NuSkooler!

    Saturday December 17 2022 12:30, you wrote to me about an urgent
    matter!:

    * Forwarded from area 'FSX_ENG'


    areas: { <-- this belongs at the same level as
    'networks'

    Not sure I understand what you mean here? Is areas in the wrong spot?

    Does not appear to be crashing now. I have noticed that listing message areas (at least on netrunner) the descriptions go off screen and wrap. But Its getting there. Adding networks and areas adds a lot to config.hjson is it possible to have the areas in a separate file that gets read by config?


    ----
    Regards,


    Rick Smith (Nitro)

    ... TAGLINE A BBS addict is hooked when: you consider BBSing better than chocolat
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: ----> Abacus BBS! --->>>>bbs.abon.us:2323 (21:1/190)
  • From NuSkooler@21:1/121 to Rick Smith on Mon Dec 19 11:22:57 2022

    Rick Smith around Sunday, December 18th...
    Does not appear to be crashing now. I have noticed that listing message areas (at least on netrunner) the descriptions go off screen and wrap. But Its getting there. Adding networks and areas adds a lot to config.hjson is it possible to have the areas in a separate file that gets read by config?

    You can fix both:
    * For the areas going off screen, you can adjust your _theme_. Do this by modifying or creating your own ANSI art files, MCI placement, and specifics that align in the theme's 'theme.hjson' file.
    See https://github.com/NuSkooler/enigma-bbs/blob/master/docs/_docs/art/themes.md

    * You can use include statements in your config to break it up as much or as little as you like. See the following doc:
    https://github.com/NuSkooler/enigma-bbs/blob/master/docs/_docs/configuration/config-files.md



    --
    |08 ■ |12NuSkooler |06// |12Xibalba |08- |07"|06The place of fear|07"
    |08 ■ |03xibalba|08.|03l33t|08.|03codes |08(|0344510|08/|03telnet|08, |0344511|08/|03ssh|08)
    |08 ■ |03ENiGMA 1/2 WHQ |08| |03Phenom |08| |0367 |08| |03iMPURE |08| |03ACiDic
    --- ENiGMA 1/2 v0.0.13-beta (linux; x64; 16.16.0)
    * Origin: Xibalba -+- xibalba.l33t.codes:44510 (21:1/121)