Subj : Bulletin MPL program To : All From : Dennis Katsonis Date : Fri Jan 21 2022 01:13 pm Re: Bulletin MPL program By: Dennis Katsonis to All on Fri Jan 21 2022 12:09 pm > As part of the prelogin for Mystic, we execute the MPL program "Bulletin" as > such > bulletin bulletin bullet check > > The problem I have with the latest, Mystic 1.12 Alpha 47 on Raspberry Pi is > check for new bulletins doesn't seem to work. In fact, it doesn't seem to r > I createa new bulleting (bullet6.ans) and update bulletin.asc in my theme > directory > /mystic/themes/neon/text/bulletin.asc > > I have "(GX) Execute MPL program" in the prelogin menu, with "bulletin bulle > bullet check" in data, but if I createa new bulletin in the themes text > directory, it doesn't get picked up on login as a new bulletin. It doesn't > appear the check is run at all. I can see the check for New Electronic Mail > but there is no indication that a check for new bulletins occurs. I recall > that I would see this check even if there were no bulletins. > > Nothing appears in the error log about this. I upgraded from A46 to A47, an > think this is when this check stopped working. > > Is there a way to run this MPL program manually? If I can do that, I can se > if there is an error or something blocking it from running. At least then, > can start troubleshooting. > > ... Dennis I have found I can run it manually, but it doesn't detect that the files are newer than the user last login date. FindFirst (Root + PreFix + '*.*', 63); While DosError = 0 Do Begin If DirTime > UserLastOn And Upper(Copy(DirName, 1, Pos('.', DirName) - 1)) < > 'BULLETIN' Then Begin InStr := Copy(DirName, 7, Pos('.', DirName) - 7) + ' ' Is there a way to print the "DirTime"? I'm not too familiar with Python, but I suspect this is where things are going wrong. The DirTime and UserLastOn are not what they are expected to be. --- SBBSecho 3.10-Win32 * Origin: MS & RD BBS bbsweb.mozysswamp.org (3:633/384) .