[GRASS-dev] Re: [GRASS GIS] #1020: Display of vector maps fails

GRASS GIS trac at osgeo.org
Sun May 30 15:50:01 EDT 2010


#1020: Display of vector maps fails
--------------------------+-------------------------------------------------
  Reporter:  MilenaN      |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect       |      Status:  new                      
  Priority:  blocker      |   Milestone:  6.4.0                    
 Component:  wxGUI        |     Version:  6.4.0 RCs                
Resolution:               |    Keywords:  wingrass                 
  Platform:  MSWindows 7  |         Cpu:  x86-64                   
--------------------------+-------------------------------------------------
Comment (by martinl):

 Replying to [comment:5 hamish]:
 > > When running manually from MSYS
 {{{
 > GRASS 6.4> db.describe -c --q table=archsites driver=dbf \
 >   database="C:\Users\landa\grass data/spearfish60/PERMANENT/dbf/"
 > Bad file descriptor: Files
 }}}
 >
 > ... perhaps stating the obvious, but it looks like we missed quoting a
 path name variable and the $GISBASE/driver/db/dbf program is being sent as
 "C:\Program" and then "Files\GRASS64\..." ??
 >
 > what do the previous debug messages say with DEBUG=5?

 Doesn't seems to be that problem (note that $GISBASE contains a space)

 {{{
 GRASS 6.4> db.describe -c --q table=archsites driver=dbf
 database="C:\Users\landa\grass data/spearfish60/PERMANENT/dbf/"
 D2/5: dbDbmscap(): opendir [c:\osgeo4w\usr\src\grass64 release\dist.i686-
 pc-mingw32\driver\db\]
 D2/5: dbDbmscap(): opendir [c:\osgeo4w\usr\src\grass64 release\dist.i686-
 pc-mingw32\driver\db\]
 D2/5: dbmi_client/start startup: [c:\osgeo4w\usr\src\grass64 release\dist.
 i686-pc-mingw32\driver\db\dbf.exe]
 D2/5: DBF: db__driver_open_database() name = 'C:\Users\landa\grass
 data/spearfish60/PERMANENT/dbf/'
 D2/5: db.name = C:\Users\landa\grass data/spearfish60/PERMANENT/dbf/
 ...
 }}}

 But

 {{{
 GRASS 6.4> db.describe -c --q table=archsites driver=dbf
 database="C:\Users\land
 D2/5: dbDbmscap(): opendir [c:\Program Files (x86)\GRASS-64-
 SVN\driver\db\]
 D2/5: dbDbmscap(): opendir [c:\Program Files (x86)\GRASS-64-
 SVN\driver\db\]
 D2/5: dbmi_client/start startup: [c:\Program Files (x86)\GRASS-64-
 SVN\driver\db\
 Bad file descriptor: Files
 }}}

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


More information about the grass-dev mailing list