Subj : Problems after recent update of sychronet 3.20 files
To : Amessyroom
From : Digital Man
Date : Sun Oct 13 2024 02:34 am
Re: Problems after recent update of sychronet 3.20 files
By: Amessyroom to All on Sun Oct 13 2024 01:30 am
> After having an incident in which I overwrote some config files,
> on 10/11/2024 and updated Synchronet 3.20 files.
>
> These errors are occurring using a custom shell also. will test with
> synchronet classic, and post if different.
>
> The following problems have popped up.
>
> 1)
> bullseye bulletin looks for bullseye.asc in text/menu which isn't
> present, as I'm using symlinks and let it build the menu. When
> i hit return, the screen clears and the Bullesye Bulletin Menu
> is displayed without any further issues.
>
> Calling Bullseye Bulletin
>
> Synchronet BullsEye! Version 3.00 by Rob Swindell
>
> !ERROR checking /sbbs/text/menu/bullseye.asc
>
> The sysop has been notified.
> [Hit a key]
>
> Error log shows:
> Sun Oct 13 00:37:04 2024 master/964df0f48 toolazy.synchro.net
> term Node 2 <Amessyroom> !ERROR in prntfile.cpp line 287 (menu) checking
> "/sbbs /text/bullseye.asc" access=0
This should be fixed now. Previously, for a while now in v3.20a, failed calls to menu() were just silent failures. That's been fixed. So that's now highlight another (long-standing) issue when display files in "text" (rather than text/menu) and that your script's setting of the global "menu_dir" caused to fail. This should be fixed now (we won't use the global "menu_dir" as a sub-dir of text/menu when the menu "code" being displayed starts with '.' (as in, "../bullseye.asc").
> 2) I added calls to sendmail.js to try and page me via
> email to SMS gateway. This worked before 10/11/2024.
>
> paging sysop calls sendmail.js (per local configuration
> in chat.ini)
>
> chat.ini:cmd=?sendmail.js -s "BBS: Someone wants to chat" --
>
[email protected] .net < /home/sbbs/ctrl/pageme
> chat.ini:cmd=?sendmail.js -s "BBS: Someone wants to chat" --
>
[email protected] .net < /home/sbbs/ctrl/pageme
>
> says it cannot compile. 1st line is a she-bang !# to jsexec
> is that the correct way the file should be ?
>
> Paging Amessyroom...!JavaScript sendmail.js line 1: SyntaxError: illegal
> charac t
> er
>
> !ERROR compiling /sbbs/exec/sendmail.js
>
> The sysop has been notified.
> Sat Oct 12 2024 07:42 pm Amessyroom paged you to chat from node 1
>
> The sysop has been notified.
> [Hit a key]
>
> head /home/sbbs/repo/exec/sendmail.js
> #!/sbbs/exec/jsexec -x
> // Change previous line to correct jsexec path!
>
> // Suitable as a replacement for /usr/sbin/sendmail
> // and/or /usr/bin/mail
> // and/or /usr/bin/mailx
>
> var log = new File(system.temp_dir + "sendmail.log");
> //log.open('a');
> log.writeln(system.timestr() + ' ' + js.exec_file + ' argv=' + argv);
>
>
> The error log shows:
> term Node 1 !ERROR 2 (No such file or directory) in exec.cpp line 649
> (js_execf ile) compiling "/sbbs/exec/sendmail.js" access=0
>
> /sbbs is a symlink
>
> /sbbs/exec/sendmail.js does exist
>
> [sbbs@vmi1943160 notes]$ ls -l /sbbs
> lrwxrwxrwx 1 root root 10 Jun 17 20:34 /sbbs -> /home/sbbs
> [sbbs@vmi1943160 notes]$ ls -l /sbbs/exec/sendmail.js
> -rwxr-xr-x 1 sbbs sbbs 3874 Jun 17 20:14 /sbbs/exec/sendmail.js
> [sbbs@vmi1943160 notes]$
>
No recent changes to that script or jseexc. I'm still using sendmail.js (via jsexec) successfully on my BBS.
> After loading a theme with jpg image that has to be converted to sixel.
> I'm getting the following error.
>
> !ERROR checking
> /sbbs/mods/../xtrn/DigDist/DDLoginMatrixThemes/bordeaux-tower/L o
> ginBackground.asc
>
> Error log shows:
>
> Sun Oct 13 01:15:55 2024 master/964df0f48 toolazy.synchro.net
> term Node 2 !ERROR in prntfile.cpp line 287 (menu) checking
> "/sbbs/mods/../xtrn
> /DigDist/DDLoginMatrixThemes/bordeaux-tower/LoginBackground.asc" access=0
Does that file exist? The DDLoginMatrix may need to use the P_NOERROR flag in calls to menu() if they don't want failures to be reported as errors.
--
digital man (rob)
Rush quote #86:
Follow men's eyes as they look to the skies .. Jacob's Ladder
Norco, CA WX: 60.6�F, 72.0% humidity, 0 mph E wind, 0.00 inches rain/24hrs
---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net