[GRASS-SVN] r64504 - grass/trunk/gui/wxpython/core
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Feb 8 08:36:02 PST 2015
Author: martinl
Date: 2015-02-08 08:36:02 -0800 (Sun, 08 Feb 2015)
New Revision: 64504
Modified:
grass/trunk/gui/wxpython/core/toolboxes.py
Log:
wxGUI: report errors when unable to parse addons interface
Modified: grass/trunk/gui/wxpython/core/toolboxes.py
===================================================================
--- grass/trunk/gui/wxpython/core/toolboxes.py 2015-02-08 09:34:02 UTC (rev 64503)
+++ grass/trunk/gui/wxpython/core/toolboxes.py 2015-02-08 16:36:02 UTC (rev 64504)
@@ -539,7 +539,8 @@
"""
try:
task = gtask.parse_interface(module)
- except (ScriptError, UnicodeDecodeError):
+ except (ScriptError, UnicodeDecodeError) as e:
+ sys.stderr.write("%s: %s\n" % (module, e))
return '', ''
return task.get_description(full=True), \
More information about the grass-commit
mailing list