Hi Vincent,
On 2022-12-15 15:35:45, you wrote to me:
VC> Got another bug :
VC> Using the facility to send a msg for both cases of no errors and errors
VC> found, the magic value %file% does not work here as there is just garbage
VC> in the string passed to the utility selected - see log o/p :
VC> --
VC> 14-Dec-2022 18:52:42 mbmsg[3402072] MBMSG v1.0.8
VC> 14-Dec-2022 18:52:42 mbmsg[3402072] Cmd: post "Vincent_Coen" 9 "Node
VC> Segment R eport" /home/mbse/etc/makenl/0.000000ile 14-Dec-2022 18:52:42
VC> mbmsg[3402072] Post "/home/mbse/etc/makenl/%file%" area 9 to "Vincent_Coen"
VC> flavor h 14-Dec-2022 18:52:42 mbmsg[3402072] Subject: "Node Segment Report"
VC> 14-Dec-2022 18:52:42 mbmsg[3402072] Can't open
VC> /home/mbse/etc/makenl/%file%: No such file or directory 14-Dec-2022
VC> 18:52:42 mbmsg[3402072] Terminated with error 131 --
VC> A later attempt is :
VC> --
VC> 14-Dec-2022 18:57:21 mbmsg[3402325] MBMSG v1.0.8
VC> 14-Dec-2022 18:57:21 mbmsg[3402325] Cmd: post "Vincent_Coen" 9 "Node
VC> Segment Report" 0.000000ile 14-Dec-2022 18:57:21 mbmsg[3402325] Post
VC> "%file%" area 9 to "Vincent_Coen" flavor h 14-Dec-2022 18:57:21
VC> mbmsg[3402325] Subject: "Node Segment Report" 14-Dec-2022 18:57:21
VC> mbmsg[3402325] Can't open %file%: No such file or directory 14-Dec-2022
VC> 18:57:21 mbmsg[3402325] Terminated with error 131 --
VC> In this one the full path was not used as I 'assumed' it was the local
VC> directory
VC> For a valid one done manually it shows :
VC> --
VC> 14-Dec-2022 19:00:12 mbmsg[3402520] MBMSG v1.0.8
VC> 14-Dec-2022 19:00:12 mbmsg[3402520] Cmd: post "Vincent_Coen" 9 "Node
VC> Segment Report" net_25.rpt h 14-Dec-2022 19:00:12 mbmsg[3402520] Post
VC> "net_25.rpt" area 9 to "Vincent_Coen" flavor h 14-Dec-2022 19:00:12
VC> mbmsg[3402520] Subject: "Node Segment Report" 14-Dec-2022 19:00:12
VC> mbmsg[3402520] Posted message 10 14-Dec-2022 19:00:12 mbmsg[3402520] MBMSG
VC> finished in 0.00s --
VC> The content of file errflags.ctl (having removed most comments) :
VC> --
VC> ZONE 2
VC> NET 25
VC> INBOUND /home/mbse/etc/makenl/outbound
VC> FILE region25.* 250/1 net_25.rpt
VC> NOTIFY /home/mbse/bin/mbmsg post "Vincent_Coen" 9 "Node Segment Report"
VC> %file% h NOERR /home/mbse/bin/mbmsg post "Vincent_Coen" 9 "Node Segment
VC> Report" %file% h NOTIFYPATH /home/mbse/etc/makenl ; ; Key word EXECUTE
VC> states any program to execute if any files has been ; processed. This makes
VC> it possible for executing MakeNl only when files ; has actually been
VC> received. ; ; do not want to so attempt a simple command as blank may be
VC> causing the abort ;EXECUTE MAKENL.EXE REGION.CTL /P >> MAKENLOG.LOG EXECUTE
VC> ls --
VC> Hope it helps,
That's indeed another bug, or maybe you can call it an inconsistancy compared to
what is documented. I think you need to specify %FILE% in uppercase in the ctl
file to make it work.
VC> The python code works though :)
I tried to test all the options for the python version, which seemed to have
resulted in a descent port of the original pascal version... ;-)
Bye, Wilfred.
--- FMail-lnx64 2.1.0.18-B20170815
* Origin: FMail development HQ (2:280/464)
|