[GRASS-dev] [GRASS GIS] #2994: wxGUI start fails with module object has no attribute GRIORA_NearestNeighbour

GRASS GIS trac at osgeo.org
Wed Apr 20 13:49:02 PDT 2016


#2994: wxGUI start fails with module object has no attribute
GRIORA_NearestNeighbour
-------------------------------------------------+-------------------------
 Reporter:  wenzeslaus                           |      Owner:  grass-dev@…
     Type:  defect                               |     Status:  new
 Priority:  blocker                              |  Milestone:  7.0.4
Component:  wxGUI                                |    Version:  svn-
 Keywords:  gdal, Python, WMS, rendering,        |  releasebranch70
  packaging, wxGUI                               |        CPU:  x86-64
 Platform:  Unspecified                          |
-------------------------------------------------+-------------------------
 After starting standalone 7.0.4svn on MS Windows from
 [https://wingrass.fsv.cvut.cz/grass71/x86_64/ here], I get a traceback
 instead of wxGUI (g.gui). The command line works. GUI gives some error
 coming from WMS rendering. Lazy import would be nice here but I guess the
 error might be some incompatible Python packages. Here is the traceback:

 {{{
 ...
 <module>
     from lmgr.frame import GMFrame
   File "C:\Program Files\GRASS GIS 7.0.4svn\gui\wxpython\lmgr\frame.py",
 line 50
 , in <module>
     from lmgr.layertree        import LayerTree, LMIcons
   File "C:\Program Files\GRASS GIS
 7.0.4svn\gui\wxpython\lmgr\layertree.py", lin
 e 37, in <module>
     from mapdisp.frame        import MapFrame
   File "C:\Program Files\GRASS GIS
 7.0.4svn\gui\wxpython\mapdisp\frame.py", line
  33, in <module>
     from core.render        import Map
   File "C:\Program Files\GRASS GIS 7.0.4svn\gui\wxpython\core\render.py",
 line 4
 6, in <module>
     from core.ws       import RenderWMSMgr
   File "C:\Program Files\GRASS GIS 7.0.4svn\gui\wxpython\core\ws.py", line
 36, i
 n <module>
     from osgeo import gdal
   File "C:\Program Files\GRASS GIS 7.0.4svn\Python27\lib\site-
 packages\osgeo\gda
 l.py", line 94, in <module>
     from gdalconst import *
   File "C:\Program Files\GRASS GIS 7.0.4svn\Python27\lib\site-
 packages\osgeo\gda
 lconst.py", line 97, in <module>
     GRIORA_NearestNeighbour = _gdalconst.GRIORA_NearestNeighbour
 AttributeError: 'module' object has no attribute 'GRIORA_NearestNeighbour'
 }}}

 {{{
 > g.version -re

 GRASS 7.0.4svn (2016)
 libgis Revision: 67364
 libgis Date: 2015-12-24 16:07:44 +0100 (Thu, 24 Dec 2015)
 PROJ.4: 4.9.2
 GDAL/OGR: 2.0.2
 GEOS: 3.5.0
 SQLite: 3.7.17
 }}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2994>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list