diff --git a/gramps/cli/clidbman.py b/gramps/cli/clidbman.py index d07723448..ebc200849 100644 --- a/gramps/cli/clidbman.py +++ b/gramps/cli/clidbman.py @@ -519,6 +519,6 @@ def find_locker_name(dirpath): # feature request 2356: avoid genitive form last = _("Locked by %s") % username ifile.close() - except (OSError, IOError): + except (OSError, IOError, UnicodeDecodeError): last = _("Unknown") return last