Created attachment 8889 Avoid NameError and TypeError In particular case, when src/xfce4-screensaver-configure runs without parameter (without saver). We get these errors: >>Traceback (most recent call last): >> File "src/xfce4-screensaver-configure", line 791, in <module> >> show_fatal(primary, _("Screensaver required.") % saver) >>NameError: name 'primary' is not defined >> >>Traceback (most recent call last): >> File "src/xfce4-screensaver-configure", line 793, in <module> >> show_fatal(primary, _("Screensaver required.") % saver) >>TypeError: not all arguments converted during string formatting Patch fixes this issue.
Olivier Duchateau referenced this bugreport in commit a5da8a4b5abb19dc88616dbe60974162041f2888 Raise NameError and TypeError (bug #15830) https://git.xfce.org/apps/xfce4-screensaver/commit?id=a5da8a4b5abb19dc88616dbe60974162041f2888
Thanks! Applied above.