[GRASS-dev] [GRASS GIS] #2135: wxGUI: failed to show legend when PIL is missing

GRASS GIS trac at osgeo.org
Tue Nov 19 01:21:16 PST 2013


#2135: wxGUI: failed to show legend when PIL is missing
-------------------------+--------------------------------------------------
 Reporter:  martinl      |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  wxGUI        |     Version:  unspecified              
 Keywords:  legend, PIL  |    Platform:  Linux                    
      Cpu:  x86-64       |  
-------------------------+--------------------------------------------------
 It's not possible to show legend when PIL package is not available, see
 traceback bellow

 {{{
  File "/opt/src/grass_trunk/dist.x86_64-unknown-linux-
 gnu/etc/gui/wxpython/mapdisp/frame.py", line 187, in <lambda>
     overlay.overlayChanged.connect(lambda:
 self.MapWindow2D.UpdateMap(render=False, renderVector=False))
   File "/opt/src/grass_trunk/dist.x86_64-unknown-linux-
 gnu/etc/gui/wxpython/mapwin/buffered.py", line 720, in UpdateMap
     for img in self.GetOverlay():
   File "/opt/src/grass_trunk/dist.x86_64-unknown-linux-
 gnu/etc/gui/wxpython/mapwin/buffered.py", line 601, in GetOverlay
     img = utils.autoCropImageFromFile(overlay.mapfile)
   File "/opt/src/grass_trunk/dist.x86_64-unknown-linux-
 gnu/etc/gui/wxpython/core/utils.py", line 1103, in autoCropImageFromFile
     from PIL import Image
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2135>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list