• Error in lbshell.js

    From M1ch43l@1:103/705 to All on Sun Feb 25 19:24:56 2018
    Hi guys,

    When i exit a door and i am using the lbshell my session disconnects and i get the following error message:

    Node 1 !JavaScript C:\sbbs\exec\lbshell.js line 505: TypeError: xtrn_area.sec_list[sec] is undefined

    I am running the latest 3.17 of the 15th of february.

    Any ideas?

    greetingz,

    M1ch43l

    ---
    * Synchronet * AlcaBBS - bbs.alcatrash.org
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to M1ch43l on Sun Feb 25 13:24:08 2018
    Re: Error in lbshell.js
    By: M1ch43l to All on Sun Feb 25 2018 07:24 pm

    Hi guys,

    When i exit a door and i am using the lbshell my session disconnects and i get the following error message:

    Node 1 !JavaScript C:\sbbs\exec\lbshell.js line 505: TypeError: xtrn_area.sec_list[sec] is undefined

    I am running the latest 3.17 of the 15th of february.

    Any ideas?

    I tried and could not reproduce this. What door are you running when this happens? It *only* disconnects you when using lbshell?

    I think the JavaScript error is just a side-effect of the disconnection. The disconnect is the real issue.

    digital man

    This Is Spinal Tap quote #26:
    David St. Hubbins: They were still booing him when we came on stage.
    Norco, CA WX: 67.0oF, 17.0% humidity, 6 mph WSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Michael Trip@2:280/2000.2 to Digital Man on Mon Feb 26 20:11:00 2018
    Hello Digital Man,


    Re: Error in lbshell.js
    By: M1ch43l to All on Sun Feb 25 2018 07:24 pm

    Hi guys,

    When i exit a door and i am using the lbshell my session disconnects and i >> get the following error message:

    Node 1 !JavaScript C:\sbbs\exec\lbshell.js line 505: TypeError:
    xtrn_area.sec_list[sec] is undefined

    I am running the latest 3.17 of the 15th of february.

    Any ideas?

    I tried and could not reproduce this. What door are you running when this happens? It *only* disconnects you when using lbshell?

    It happens when i start every door. I have tried to debug it and i have
    some extra information. When i exit the door everything is sort of ok.
    When i switch menus with the arrow keys this happens (see screenshot)

    https://imgur.com/a/j5WXQ

    I think the JavaScript error is just a side-effect of the disconnection. The disconnect is the real issue.

    I think so too. When it gives error in C:\sbbs\exec\load\graphics.js. See screenshots for more details.


    Greetingz,
    Greetingz,

    Michael

    --- OpenXP 5.0.33
    * Origin: Alcatrash Laptop on openXP (2:280/2000.2)
  • From Digital Man@1:103/705 to Michael Trip on Mon Feb 26 22:12:59 2018
    Re: Error in lbshell.js
    By: Michael Trip to Digital Man on Mon Feb 26 2018 08:11 pm

    Hello Digital Man,


    Re: Error in lbshell.js
    By: M1ch43l to All on Sun Feb 25 2018 07:24 pm

    Hi guys,

    When i exit a door and i am using the lbshell my session disconnects and i >> get the following error message:

    Node 1 !JavaScript C:\sbbs\exec\lbshell.js line 505: TypeError:
    xtrn_area.sec_list[sec] is undefined

    I am running the latest 3.17 of the 15th of february.

    Any ideas?

    I tried and could not reproduce this. What door are you running when this happens? It *only* disconnects you when using lbshell?

    It happens when i start every door. I have tried to debug it and i have
    some extra information. When i exit the door everything is sort of ok.
    When i switch menus with the arrow keys this happens (see screenshot)

    https://imgur.com/a/j5WXQ

    I think the JavaScript error is just a side-effect of the disconnection. The disconnect is the real issue.

    I think so too. When it gives error in C:\sbbs\exec\load\graphics.js. See screenshots for more details.

    Apparently the problem is that the number of external programs (doors) in a single section exceeds the number that can be displayed on the user's terminal screen without scrolling and lbshell doesn't support scrolling. Deuce committed a work-around in CVS (lbshell.js), but it just limits the number of visible programs/doors when it exceeds the terminal height. Not a great solution, but at least it shouldn't crash now.

    digital man

    This Is Spinal Tap quote #17:
    David St. Hubbins: It's such a fine line between stupid, and uh... and clever. Norco, CA WX: 49.2oF, 70.0% humidity, 1 mph SSE wind, 0.00 inches rain/24hrs --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Michael Trip@2:280/2000.2 to Digital Man on Thu Mar 1 21:57:10 2018
    Hello, Digital!

    26 Feb 18 22:12, from Digital Man -> Michael Trip:

    Re: Error in lbshell.js
    By: Michael Trip to Digital Man on Mon Feb 26 2018 08:11 pm


    Apparently the problem is that the number of external programs (doors)
    in a single section exceeds the number that can be displayed on the
    user's terminal screen without scrolling and lbshell doesn't support scrolling. Deuce committed a work-around in CVS (lbshell.js), but it
    just limits the number of visible programs/doors when it exceeds the terminal height. Not a great solution, but at least it shouldn't crash now.

    digital man


    Thanks for the quick response. I will update this weekend!

    Best Regards, Michael
    --- --- GoldED+/W32-MSVC 1.1.5-b20170303
    * Origin: Alcatrash Laptop (2:280/2000.2)
  • From Michael Trip@2:280/2000.2 to Digital Man on Sat Mar 3 19:51:22 2018
    Hello, Digital!

    26 Feb 18 22:12, from Digital Man -> Michael Trip:
    Apparently the problem is that the number of external programs (doors)
    in a single section exceeds the number that can be displayed on the
    user's terminal screen without scrolling and lbshell doesn't support scrolling. Deuce committed a work-around in CVS (lbshell.js), but it
    just limits the number of visible programs/doors when it exceeds the terminal height. Not a great solution, but at least it shouldn't crash now.


    It worked. Thanks for the quick fix!

    Best Regards, Michael
    --- --- GoldED+/W32-MSVC 1.1.5-b20170303
    * Origin: Alcatrash Laptop (2:280/2000.2)