[GRASS-dev] Re: [GRASS GIS] #629: WinGRASS: spaces in pathnames

GRASS GIS trac at osgeo.org
Sat Jun 6 17:45:25 EDT 2009


#629: WinGRASS: spaces in pathnames
---------------------------+------------------------------------------------
  Reporter:  hamish        |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect        |      Status:  new                      
  Priority:  normal        |   Milestone:  6.4.0                    
 Component:  Installation  |     Version:  6.4.0 RCs                
Resolution:                |    Keywords:  wingrass, msys           
  Platform:  MSWindows XP  |         Cpu:  x86-32                   
---------------------------+------------------------------------------------
Comment (by hamish):

 > Replying to [ticket:629 hamish]:
 > > The icon to start the wxPython GUI directly works, but the
 > > Cmd> prompt fails for
 > > `v.db.select roads where="label ~ 'highway'"` with:
 > >
 {{{
  Bad file descriptor: Files/GRASS
 }}}

 Replying to [comment:4 glynn]:
 > This one isn't an MSys issue, as MSys shouldn't be involved in
 > running the wxPython GUI, or in running commands from it.
 >
 > Did the shlex fix make it into the version which you're testing?

 yes.

 I also notice that error after fixes to msys.bat I start grass + msys
 terminal from C:\Program Files\GRASS GIS\...


 looking trough "`set`" I don't see anything obviously broken.


 running `v.db.select roads` from the msys command line with DEBUG=5 it
 shows that it gets up to
 {{{
 D2/5: opendir c:/Program Files/GRASS GIS/GRASS-6-SVN\driver\db\
 }}}

 (slash directions verbatim)

 then it locks up the msys terminal.


 that debug message comes from lib/db/dbmi_base/dbmscap.c


 Hamish

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


More information about the grass-dev mailing list