[GRASS-dev] [GRASS GIS] #943: wxpython gui hangs after switching to cairo display driver

GRASS GIS trac at osgeo.org
Sun May 19 01:54:27 PDT 2013


#943: wxpython gui hangs after switching to cairo display driver
------------------------------------------+---------------------------------
 Reporter:  epatton                       |       Owner:  grass-dev@…              
     Type:  defect                        |      Status:  new                      
 Priority:  critical                      |   Milestone:  6.4.3                    
Component:  wxGUI                         |     Version:  svn-develbranch6         
 Keywords:  cairo, driver, gui, wxpython  |    Platform:  Linux                    
      Cpu:  All                           |  
------------------------------------------+---------------------------------

Comment(by hamish):

 I notice in wxpython/core/render.py sets GRASS_COMPRESSION=0, but that
 doesn't exist, GRASS_PNG_COMPRESSION does. Having that mis-set probably
 doesn't help rendering speed & cpu load any.

 broken since forever; fixed in all branches.


 wrt the tempfiles mentioned in comment:10, I wonder if we can at least
 mitigate the left-over-file problem (#560) by putting them in the GISRC
 tempdir with something like:

 {{{
 tempfile.mkstemp(suffix = '.ppm',
    prefix = os.path.basename(os.path.dirname(os.getenv('GISRC'))) + os.sep
 + 'tmp_')
 }}}


 (? is the GISRC enviro var reset in core/render.py there for the GCP tool,
 or..?)


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/943#comment:11>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list