[GRASS-dev] [GRASS GIS] #1683: error message v.add.col on MacOSX

GRASS GIS trac at osgeo.org
Wed Jul 4 01:08:06 PDT 2012


#1683: error message v.add.col on MacOSX
-------------------------+--------------------------------------------------
 Reporter:  jradinger    |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  major        |   Milestone:  6.4.3                    
Component:  Database     |     Version:  svn-develbranch6         
 Keywords:  v.add.col    |    Platform:  All                      
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
Changes (by neteler):

  * priority:  normal => major
  * platform:  MacOSX => All
  * milestone:  6.5.0 => 6.4.3


Comment:

 The problem is the white space in the path not handled properly:
 {{{
 ...
 + eval 'GISDBASE='\''/Users/Johannes' 'Radinger/Documents/GRASS-GIS'\'';'
 'LOCATION_NAME='\''spearfish60'\'';' 'MAPSET='\''test'\'';'
 'ADDON_PATH='\''/Users/Johannes'
 Radinger/Library/GRASS/6.5/Modules/bin:/Library/GRASS/6.5/Modules/bin:/Users/Johannes
 'Radinger/Library/GRASS/6.5/Modules/bin:/Library/GRASS/6.5/Modules/bin:/Users/Johannes'\'';'
 'Radinger/Library/GRASS/6.5/Modules/bin='\''/Library/GRASS/6.5/Modules/bin:/Users/Johannes:/Users/Johannes'
 'Radinger/Documents/GRASS-GIS/Scripts'\'';' 'Radinger/Documents/GRASS-
 GIS/Scripts='\''/Users/Johannes' 'Radinger/Desktop'\'';'
 'MONITOR='\''x7'\'';' 'GRASS_GUI='\''wxpython'\'';'
 ++ GISDBASE='/Users/Johannes Radinger/Documents/GRASS-GIS'
 ++ LOCATION_NAME=spearfish60
 ++ MAPSET=test
 ++ ADDON_PATH='/Users/Johannes
 Radinger/Library/GRASS/6.5/Modules/bin:/Library/GRASS/6.5/Modules/bin:/Users/Johannes
 Radinger/Library/GRASS/6.5/Modules/bin:/Library/GRASS/6.5/Modules/bin:/Users/Johannes'
 ++
 'Radinger/Library/GRASS/6.5/Modules/bin=/Library/GRASS/6.5/Modules/bin:/Users/Johannes:/Users/Johannes
 Radinger/Documents/GRASS-GIS/Scripts'
 /Applications/GRASS-6.5.app/Contents/MacOS/scripts/v.db.addcol: line 80:
 Radinger/Library/GRASS/6.5/Modules/bin=/Library/GRASS/6.5/Modules/bin:/Users/Johannes:/Users/Johannes
 Radinger/Documents/GRASS-GIS/Scripts: No such file or directory
 ++ 'Radinger/Documents/GRASS-GIS/Scripts=/Users/Johannes Radinger/Desktop'
 /Applications/GRASS-6.5.app/Contents/MacOS/scripts/v.db.addcol: line 80:
 Radinger/Documents/GRASS-GIS/Scripts=/Users/Johannes Radinger/Desktop: No
 such file or directory
 ++ MONITOR=x7
 ...
 }}}

 --> ADDON_PATH is broken into two lines.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1683#comment:4>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list