[meld] Don't crash on Windows when accessing cdll.intl
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] Don't crash on Windows when accessing cdll.intl
- Date: Wed, 8 Jan 2014 21:49:09 +0000 (UTC)
commit 4ae51320ce4065d335ee5fc2a26f19c4c9ad8bae
Author: Bartosz DziewoĆski <matma rex gmail com>
Date: Fri Jan 3 02:38:04 2014 +0100
Don't crash on Windows when accessing cdll.intl
Accessing cdll.intl sometimes fails on Windows for unknown reasons.
Let's just continue, as this only affects translations, and these are
non-essential (running in English is definitely better than not
running at all).
bin/meld | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/bin/meld b/bin/meld
index c2065fc..f584efb 100755
--- a/bin/meld
+++ b/bin/meld
@@ -101,6 +101,11 @@ except AttributeError as e:
except locale.Error as e:
print("Couldn't bind the translation domain. Some translations won't work.")
print(e)
+except WindowsError as e:
+ # Accessing cdll.intl sometimes fails on Windows for unknown reasons.
+ # Let's just continue, as translations are non-essential.
+ print("Couldn't bind the translation domain. Some translations won't work.")
+ print(e)
def check_requirements():
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]