[GRASS-SVN] r64499 - grass/trunk/gui/wxpython/core

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Feb 7 11:27:11 PST 2015


Author: martinl
Date: 2015-02-07 11:27:11 -0800 (Sat, 07 Feb 2015)
New Revision: 64499

Modified:
   grass/trunk/gui/wxpython/core/toolboxes.py
Log:
wxGUI: attempt to fix failure when loading broken addons

Modified: grass/trunk/gui/wxpython/core/toolboxes.py
===================================================================
--- grass/trunk/gui/wxpython/core/toolboxes.py	2015-02-07 19:07:53 UTC (rev 64498)
+++ grass/trunk/gui/wxpython/core/toolboxes.py	2015-02-07 19:27:11 UTC (rev 64499)
@@ -539,7 +539,7 @@
     """
     try:
         task = gtask.parse_interface(module)
-    except ScriptError:
+    except (ScriptError, UnicodeDecodeError):
         return '', ''
 
     return task.get_description(full=True), \



More information about the grass-commit mailing list