I am trying to install DDLM on my bbs, but I am showing 2 errors in the terminal server log in the control panel:
!JavaScript C:\sbbs\exec\loginDD.js line 5: SyntaxError: invalid regular expression flag D
4/5 03:31:33p Node 1 !ERROR[x1282] 2 (No such file or directory) (WinError 0) in exec.cpp line 649 (sbbs_t::js_execfile) compiling "C:\sbbs\exec\loginDD.js" access=0
Re: DDLM
By: Greg Meckel to All on Sat Apr 05 2025 03:38 pm
I am trying to install DDLM on my bbs, but I am showing 2 errors in the terminal server log in the control panel:
!JavaScript C:\sbbs\exec\loginDD.js line 5: SyntaxError: invalid regular expression flag D
4/5 03:31:33p Node 1 !ERROR[x1282] 2 (No such file or directory) (WinError 0) in exec.cpp line 649 (sbbs_t::js_execfile) compiling "C:\sbbs\exec\loginDD.js" access=0
At first I was going to ask if you could post your loginDD.js (due to the error about the invalid regular expression flag), but then, the next error seems to suggest you don't have a loginDD.js - do you?
Nightfox
---
þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
Re: DDLM
By: Nightfox to Greg Meckel on Sun Apr 06 2025 02:17 pm
Re: DDLM
By: Greg Meckel to All on Sat Apr 05 2025 03:38 pm
I am trying to install DDLM on my bbs, but I am showing 2 errors in the terminal server log in the control panel:
!JavaScript C:\sbbs\exec\loginDD.js line 5: SyntaxError: invalid regular expression flag D
4/5 03:31:33p Node 1 !ERROR[x1282] 2 (No such file or directory) (WinError 0) in exec.cpp line 649 (sbbs_t::js_execfile) compiling "C:\sbbs\exec\loginDD.js" access=0
At first I was going to ask if you could post your loginDD.js (due to the error about the invalid regular expression flag), but then, the next error seems to suggest you don't have a loginDD.js - do you?
Nightfox
---
þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
I do have a loginDD.js
//login.js
//Login module for Synchronet BBS v3.1
load("../xtrn/DigDist/DDLoginMatrix.js", "digdist/answer");
I just realized I had 2 " after the 1st parenthesis, so I changed that. I also see that I don't really need the 1st 2 lines, but thought they wouldn't matter.
If there is something else I'm missing, please let me know. Thanks
Greg
load("../xtrn/DigDist/DDLoginMatrix.js", "digdist/answer");
I am no longer getting the 1st error, but I am still getting the error: !ERROR in printfile.cpp line 291 (sbbs_t::menu) checking "C:\sbbs\text\menu\digdist\answer.msg" access=0
Re: DDLM
By: Greg Meckel to Nightfox on Sun Apr 06 2025 06:12 pm
load("../xtrn/DigDist/DDLoginMatrix.js", "digdist/answer");
I am no longer getting the 1st error, but I am still getting the error: !ERROR in printfile.cpp line 291 (sbbs_t::menu) checking "C:\sbbs\text\menu\digdist\answer.msg" access=0
For the 2nd parameter, instead of "digdist/answer", if you change it to "answer", hopefully that should fix it. For "digdist/answer" to work, you'd need a directory in sbbs/text called "digdist", which I doubt you have. There should be an answer.msg in sbbs/text; it would display that answer message for non-ANSI users.
Nightfox
Re: DDLM
By: Nightfox to Greg Meckel on Mon Apr 07 2025 09:00 am
Re: DDLM
By: Greg Meckel to Nightfox on Sun Apr 06 2025 06:12 pm
load("../xtrn/DigDist/DDLoginMatrix.js", "digdist/answer");
I am no longer getting the 1st error, but I am still getting the error: !ERROR in printfile.cpp line 291 (sbbs_t::menu) checking "C:\sbbs\text\menu\digdist\answer.msg" access=0
For the 2nd parameter, instead of "digdist/answer", if you change it to "answer", hopefully that should fix it. For "digdist/answer" to work, you'd need a directory in sbbs/text called "digdist", which I doubt you have. There should be an answer.msg in sbbs/text; it would display that answer message for non-ANSI users.
Nightfox
Thanks, Nightfox. I have now changed it to point to the correct place. Hopefully that will fix it.
Greg
Well that part is working, but now I get a different error. !DDLoginMatrix: Failed to run image to sixel conversion program (c:\progr
ImageMagick is installed where shown above. I think I must have something
PathToImgToSixelConv=c:\program files\imagemagick\magick.exe
Re: DDLM
By: Greg Meckel to Nightfox on Mon Apr 07 2025 07:52 pm
Well that part is working, but now I get a different error. !DDLoginMatrix: Failed to run image to sixel conversion program (c:\progr
ImageMagick is installed where shown above. I think I must have something
PathToImgToSixelConv=c:\program files\imagemagick\magick.exe
Greg, I'm getting the same error, did you ever find an answer? I've got the same setting as you for ImageMagick.
RickV
Well that part is working, but now I get a different error. !DDLoginMatrix: Failed to run image to sixel conversion program (c:\program files\imagemagick\magick.exe). Either the path is wrong of ImageMagick is not installed.
ImageMagick is installed where shown above. I think I must have something else is wrong in my setup. My current DDLoginMatrix.cfg concerning imagemagick is:
PathToImgToSixelConv=c:\program files\imagemagick\magick.exe
ImageMagick is installed where shown above. I think I must have something
PathToImgToSixelConv=c:\program files\imagemagick\magick.exe
Greg, I'm getting the same error, did you ever find an answer? I've got the same setting as you for ImageMagick.
Re: DDLM
By: Richard Vonzel to Greg Meckel on Tue Apr 08 2025 09:25 am
ImageMagick is installed where shown above. I think I must have
something
PathToImgToSixelConv=c:\program files\imagemagick\magick.exe
Greg, I'm getting the same error, did you ever find an answer?
I've got the same setting as you for ImageMagick.
I run my BBS on Linux, and for Linux, the ImageMagick executable is
called convert. It sounds like for Windows, recent versions of ImageMagick have replaced convert.exe with magick.exe, and I suspect
it may have a different syntax which may be causing it to fail on
Windows. I'll have to make an update to make it work with magick.exe.
I also saw that during installation of ImageMagick on Windows, there
may be an option to install legacy tools such as convert.exe. If you
have a chance, could you try re-installing ImageMagick and see if that option is available? If so, maybe the convert.exe will work on
Windows.
Nightfox
Re: DDLM
By: Greg Meckel to Nightfox on Mon Apr 07 2025 07:52 pm
Well that part is working, but now I get a different error. !DDLoginMatrix: Failed to run image to sixel conversion program (c:\program files\imagemagick\magick.exe). Either the path is wrong of ImageMagick is not installed.
ImageMagick is installed where shown above. I think I must have something else is wrong in my setup. My current DDLoginMatrix.cfg concerning imagemagick is:
PathToImgToSixelConv=c:\program files\imagemagick\magick.exe
On Linux, at least, the ImageMagick sixel converter is called convert. I honestly haven't tried the sixel stuff on Windows. I just looked it up and it sounds like recent versions of ImageMagick for Windows have replaced the convert with magick.exe. But it looks like during the installation, there is an option to install legacy tools such as convert - If you can, can you see if that option is available? If so, maybe you can use the convert that would get installed as part of that process.
My login matrix may need some updating to use magick.exe to convert sixels on Windows.
Nightfox
Well that part is working, but now I get a different error. !DDLoginMatrix: Failed to run image to sixel conversion program (c:\program files\imagemagick\magick.exe). Either the path is wrong of ImageMagick is not installed.
Well that part is working, but now I get a different error.
!DDLoginMatrix: Failed to run image to sixel conversion program (c:\progr
ImageMagick is installed where shown above. I think I must have something
PathToImgToSixelConv=c:\program files\imagemagick\magick.exe
Greg, I'm getting the same error, did you ever find an answer? I've got the same setting as you for ImageMagick.
I've made an update which should fix this (and includes support for the fully-pathed binary with spaces, at least on Windows for now). Try this:
http://www.digitaldistortionbbs.com/files/BBS/SYNC_JS/DDLM_128.zip
You should just need to replace the .js (DDLoginMatrix.js) on your system.
Re: DDLM
By: Greg Meckel to Nightfox on Mon Apr 07 2025 07:52 pm
Well that part is working, but now I get a different error. !DDLoginMatrix: Failed to run image to sixel conversion program (c:\program files\imagemagick\magick.exe). Either the path is wrong of ImageMagick is not installed.
I've made an update which should fix this (and includes support for the fully-pathed binary with spaces, at least on Windows for now). Try this:
http://www.digitaldistortionbbs.com/files/BBS/SYNC_JS/DDLM_128.zip
You should just need to replace the .js (DDLoginMatrix.js) on your system.
Nightfox
Sysop: | altere |
---|---|
Location: | Houston, TX |
Users: | 69 |
Nodes: | 4 (0 / 4) |
Uptime: | 01:12:41 |
Calls: | 1,060 |
Files: | 8,066 |
Messages: | 298,801 |