Bläddra i källkod

wxGUI: mention (likely) working functionality when GUI fails to start

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@70360 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras 8 år sedan
förälder
incheckning
e00f07c8f1
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      gui/wxpython/core/globalvar.py

+ 2 - 0
gui/wxpython/core/globalvar.py

@@ -91,6 +91,8 @@ def CheckForWx(forceVersion=os.getenv('GRASS_WXVERSION', None)):
 
     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(