[Remind-Fans] TkRemind bug (3.1.17)

Dianne Skoll dianne at skoll.ca
Mon Dec 30 10:38:33 EST 2019


n 2019-12-29 23:11, Merell L. Matlock, Jr. wrote:
> Upgraded to 3.1.17 this morning (Arch Linux).  Attempting to restart
> TkRemind resulted in:

> $ tkremind

> TkRemind Copyright (C) 1996-2019 Dianne Skoll
> Error in startup script: child process exited abnormally
>     while executing
> "exec -keepnewline $Remind -g -q -r $Option(ExtraRemindArgs) $ReminderFile
2>/dev/null"


Oops!  Please try pulling from
https://dianne.skoll.ca/projects/remind/git/Remind.git/,
or alternatively apply this patch to tkremind.

Regards,

Dianne.

============================================================================
--- a/scripts/tkremind
+++ b/scripts/tkremind
@@ -2989,7 +2989,14 @@ proc ShowTodaysReminders {} {
     CenterWindow $w .

     # Grab the reminders
-    set stuff [exec -keepnewline $Remind -g -q -r $Option(ExtraRemindArgs)
$ReminderFile 2>/dev/null]
+    set stuff ""
+    catch {
+       if {"$Option(ExtraRemindArgs)" != ""} {
+           set stuff [exec -keepnewline $Remind -g -q -r
$Option(ExtraRemindArgs) $ReminderFile 2>/dev/null]
+       } else {
+           set stuff [exec -keepnewline $Remind -g -q -r $ReminderFile 2>/dev/null]
+       }
+    }
     $w.text insert end $stuff
     $w.text configure -state disabled
 }


More information about the Remind-fans mailing list