summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--deluge/ui/gtkui/gtkui.py4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b9fb54d04..2e221927a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Deluge 1.1.3 - (In Development)
+ Misc:
+ * Fix issue when initializing gettext that would prevent deluge from starting
+
Deluge 1.1.2 - (31 January 2009)
Core:
* Fix issue where torrents get stuck Checking
diff --git a/deluge/ui/gtkui/gtkui.py b/deluge/ui/gtkui/gtkui.py
index cfa3db24a..b9c6eb5df 100644
--- a/deluge/ui/gtkui/gtkui.py
+++ b/deluge/ui/gtkui/gtkui.py
@@ -119,7 +119,6 @@ class GtkUI:
# Initialize gettext
try:
- locale.setlocale(locale.LC_ALL, '')
if hasattr(locale, "bindtextdomain"):
locale.bindtextdomain("deluge", pkg_resources.resource_filename("deluge", "i18n"))
if hasattr(locale, "textdomain"):
@@ -128,7 +127,8 @@ class GtkUI:
gettext.textdomain("deluge")
gettext.install("deluge", pkg_resources.resource_filename("deluge", "i18n"))
except Exception, e:
- log.error("Unable to initialize gettext/locale: %s", e)
+ log.error("Unable to initialize gettext/locale!")
+ log.exception(e)
# Setup signals
try: