[GRASS-SVN] r53371 - grass/branches/develbranch_6/gui/wxpython/lmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Oct 11 14:01:59 PDT 2012


Author: martinl
Date: 2012-10-11 14:01:59 -0700 (Thu, 11 Oct 2012)
New Revision: 53371

Modified:
   grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py
Log:
wxGUI: OnSystem - report also GDAL version
       (merge r53370 from trunk)


Modified: grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py	2012-10-11 21:00:30 UTC (rev 53370)
+++ grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py	2012-10-11 21:01:59 UTC (rev 53371)
@@ -741,14 +741,22 @@
         """!Print system information"""
         vInfo = grass.version()
         
+        try:
+            from osgeo import gdal
+            gdalVersion = gdal.__version__
+        except:
+            gdalVersion = _("unknown")
+        
         self.goutput.WriteLog("%s: %s\n"
                               "%s: %s\n"
                               "%s: %s (%s)\n"
+                              "GDAL/OGR: %s\n"
                               "Python: %s\n"
                               "wxPython: %s\n"
                               "%s: %s\n"% (_("GRASS version"), vInfo['version'],
                                            _("GRASS SVN Revision"), vInfo['revision'],
                                            _("GIS Library Revision"), vInfo['libgis_revision'], vInfo['libgis_date'].split(' ', 1)[0],
+                                           gdalVersion,
                                            platform.python_version(),
                                            wx.__version__,
                                            _("Platform"), platform.platform()),



More information about the grass-commit mailing list