From 085d1ee09538ab3aa24502489917c328b77f8099 Mon Sep 17 00:00:00 2001 From: Josip Date: Fri, 22 May 2015 18:55:21 +0200 Subject: [PATCH] 8398: lock.file with accent letter cause gramps to crash at start --- gramps/cli/clidbman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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