[Live-demo] [OSGeo] #1398: QGIS's processing (sextante) toolbox hijacks grass's .rc file

OSGeo trac_osgeo at osgeo.org
Fri Aug 22 20:54:46 PDT 2014


#1398: QGIS's processing (sextante) toolbox hijacks grass's .rc file
---------------------+------------------------------------------------------
 Reporter:  hamish   |       Owner:  live-demo@…              
     Type:  defect   |      Status:  new                      
 Priority:  major    |   Milestone:  OSGeoLive8.0             
Component:  LiveDVD  |    Keywords:  qgis, grass              
---------------------+------------------------------------------------------
 Hi,

 if you use the processing (sextante) toolbox in QGIS it overwrites the
 ~/.grassrc6 file with its own temporary location settings in
 /tmp/processing.

  - this breaks the ipython demos which expect the .rc file to be in its
 unmolested state
  - this makes extra work for standalone grass users who have to click
 around to re-find their projects
  - the toolbox should use mkdtemp() or similar for health and safety
 reasons
  - don't mess with other programs' settings, it's rude

 The toolbox can and should take care of its own GISRC file, through
 environment variable settings and a temporary copy or clone, and it will
 never need to touch the user's real copy. See GRASS 6's Init.sh script
 which does just this, and the live disc's "gisvm/bin/install_grass7.sh"
 script's 'preconfig setup' for a sample, it only needs to be a 3 line text
 file.


 cheers,
 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1398>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Live-demo mailing list