From 418ee7de7d9b08526879bda557ee07ef8c5159a3 Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Fri, 27 May 2011 10:47:16 +0000 Subject: [PATCH] Added traceback print when dictionary error. svn: r17580 --- src/Spell.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Spell.py b/src/Spell.py index 6dd2a583f..b46848123 100644 --- a/src/Spell.py +++ b/src/Spell.py @@ -103,6 +103,8 @@ class Spell(object): gtkspell_spell = gtkspell.Spell(self.textview) self._active_spellcheck = spellcheck_code except: + import traceback + print traceback.print_exc() # attaching the spellchecker will fail if # the language does not exist # and presumably if there is no dictionary