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

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jan 12 20:51:43 PST 2017


Author: wenzeslaus
Date: 2017-01-12 20:51:43 -0800 (Thu, 12 Jan 2017)
New Revision: 70360

Modified:
   grass/trunk/gui/wxpython/core/globalvar.py
Log:
wxGUI: mention (likely) working functionality when GUI fails to start

Modified: grass/trunk/gui/wxpython/core/globalvar.py
===================================================================
--- grass/trunk/gui/wxpython/core/globalvar.py	2017-01-13 04:37:14 UTC (rev 70359)
+++ grass/trunk/gui/wxpython/core/globalvar.py	2017-01-13 04:51:43 UTC (rev 70360)
@@ -91,6 +91,8 @@
 
     except ImportError as e:
         print >> sys.stderr, 'ERROR: wxGUI requires wxPython. %s' % str(e)
+        print >> sys.stderr, ('You can still use GRASS GIS modules in'
+                              ' the command line or in Python.')
         sys.exit(1)
     except (ValueError, wxversion.VersionError) as e:
         print >> sys.stderr, 'ERROR: wxGUI requires wxPython >= %d.%d.%d.%d. ' % tuple(



More information about the grass-commit mailing list