• Syedit_misc.js errors

    From gregzoll@ECBBS to all on Tuesday, March 03, 2020 23:24:39
    I am getting out of memory line 4497 & 4504 in slyedit_misc.js while using DDMsg Reader when you try and do a Spellcheck when it tries to read the dictionaries. Is there a way to disable Spellcheck completely?

    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From Nightfox@DIGDIST to gregzoll on Tuesday, March 03, 2020 21:40:26
    Re: Syedit_misc.js errors
    By: gregzoll to all on Tue Mar 03 2020 11:24 pm

    I am getting out of memory line 4497 & 4504 in slyedit_misc.js while using DDMsg Reader when you try and do a Spellcheck when it tries to read the dictionaries. Is there a way to disable Spellcheck completely?

    There isn't, but I could add a configuration option to disable spell check.

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From Nightfox@DIGDIST to gregzoll on Tuesday, March 03, 2020 22:54:52
    Re: Syedit_misc.js errors
    By: gregzoll to all on Tue Mar 03 2020 11:24 pm

    I am getting out of memory line 4497 & 4504 in slyedit_misc.js while using DDMsg Reader when you try and do a Spellcheck when it tries to read the dictionaries. Is there a way to disable Spellcheck completely?

    I have committed an update to SlyEdit (in the Synchronet CVS) with a new configuration option, allowSpellCheck, which you can use to disable spell check. For this, get the following files from the Synchronet SVN:
    - SlyEdit.cfg (in sbbs/ctrl): Change the allowSpellCheck option to false
    - SlyEdit.js and SlyEdit_Misc.js (in sbbs/exec)

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From gregzoll@ECBBS to Nightfox on Wednesday, March 04, 2020 12:09:15
    Re: Syedit_misc.js errors
    By: gregzoll to all on Tue Mar 03 2020 11:24 pm

    I have committed an update to SlyEdit (in the Synchronet CVS) with a new configuration option, allowSpellCheck, which you can use to disable spell check. For this, get the following files from the Synchronet SVN:
    - SlyEdit.cfg (in sbbs/ctrl): Change the allowSpellCheck option to false
    - SlyEdit.js and SlyEdit_Misc.js (in sbbs/exec)

    Nightfox

    ---
    â–  Synchronet â–  Digital Distortion: digitaldistortionbbs.com


    I made those changes and now getting the following errors.
    ++++++++++++++++++=

    Wed Mar 4 11:06:40 2020 whatthed.synchro.net
    term Node 1 <Gregz> !JavaScript /sbbs/exec/SlyEdit_Misc.js line 4512: out of memory

    Wed Mar 4 11:06:40 2020 whatthed.synchro.net
    term Node 1 <Gregz> !JavaScript /sbbs/exec/SlyEdit_Misc.js line 4519: out of memory

    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From gregzoll@ECBBS to Nightfox on Wednesday, March 04, 2020 12:21:32
    Re: Syedit_misc.js errors
    By: gregzoll to all on Tue Mar 03 2020 11:24 pm

    I have committed an update to SlyEdit (in the Synchronet CVS) with a new configuration option, allowSpellCheck, which you can use to disable spell check. For this, get the following files from the Synchronet SVN:
    - SlyEdit.cfg (in sbbs/ctrl): Change the allowSpellCheck option to false
    - SlyEdit.js and SlyEdit_Misc.js (in sbbs/exec)

    Nightfox

    ---
    â–  Synchronet â–  Digital Distortion: digitaldistortionbbs.com


    Now fixed with deleting old dictionaries, only downloading those that were not dead, along with the fixes, check permissions of SBBS folder and subfolder/items, systemctl stop & restart sbbs, now everything is working.

    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From Nightfox@DIGDIST to gregzoll on Wednesday, March 04, 2020 12:33:34
    Re: Syedit_misc.js errors
    By: gregzoll to Nightfox on Wed Mar 04 2020 12:09 pm

    I made those changes and now getting the following errors. ++++++++++++++++++=

    Wed Mar 4 11:06:40 2020 whatthed.synchro.net
    term Node 1 <Gregz> !JavaScript /sbbs/exec/SlyEdit_Misc.js line 4512: out of memory

    Wed Mar 4 11:06:40 2020 whatthed.synchro.net
    term Node 1 <Gregz> !JavaScript /sbbs/exec/SlyEdit_Misc.js line 4519: out of memory

    That's in the code for reading the dictionary files. That should only happen when you're doing spell check. With the new update to SlyEdit, if you have spell check disabled, it shouldn't be hitting that code.

    Even with spell check enabled, the only time it would run that code would be if you chose Yes to run the spell checker on saving a message or if you used Ctrl-R to run the spell checker while editing a message. If you don't do those things, then that code should not be executed. But if you have spell check disabled, you wouldn't be able to do those things anyway. So I can't think of a reason why that would be happening.

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From Nightfox@DIGDIST to gregzoll on Wednesday, March 04, 2020 12:34:13
    Re: Syedit_misc.js errors
    By: gregzoll to Nightfox on Wed Mar 04 2020 12:21 pm

    Now fixed with deleting old dictionaries, only downloading those that were not dead, along with the fixes, check permissions of SBBS folder and subfolder/items, systemctl stop & restart sbbs, now everything is working.

    You shouldn't have to delete the dictionary files. If you disable spell check, there should be no way for the user to run the spell check, so the code causing the issue shouldn't be triggered.

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From Gregz@WHATTHED to Nightfox on Wednesday, March 04, 2020 16:14:40
    Re: Syedit_misc.js errors
    By: gregzoll to Nightfox on Wed Mar 04 2020 12:21 pm

    You shouldn't have to delete the dictionary files. If you disable spell check, there should be no way for the user to run the spell check, so the code causing the issue shouldn't be triggered.

    Nightfox

    ---
    â–  Synchronet â–  Digital Distortion: digitaldistortionbbs.com


    It was just a very odd error that I had to go through all of those steps to get it working okay. I can now mark this off as completed on my checklist. It is something that my fiancé does not understand when it comes to the time that I have put into getting my system running and having to deal with so much troubleshooting.

    "Remember what the dormouse said: feed your head."
    What the Dormouse Said - whatthed.synchro.net

    ---
    ï¿­ Synchronet ï¿­ What the Dormouse Said - whatthed.synchro.net