v.in.ogr on WinGrass: "Bad file descriptor"
|Reported by:||hamish||Owned by:|
Hi, this was posted to the wiki by "JeeJah".
Not tested, no other idea about it. version and binary build unknown. But it warrants looking into..
When importing an ESRI shapefile using the v.in.ogr command the following error may occur: [Bad file descriptor: Files] The output vector file is created but GRASS is "unable to open the vector map." Sample dialog: [v.in.ogr dsn=D:\acadia\Skyland\ortho\G_Ortho_Index.shp \ output=orthoindex01 Projection of input dataset and current location appear to match Layer: G_Ortho_Index Bad file descriptor: Files Please note that the data are left in incosistent stage and can be corrupted (Thu Sep 30 14:15:16 2010) Command aborted (20 sec)] Solution: ???
HB: It seems you found a bug: "C:\Program" got sent as the first argument, and the second half, "Files\GRASS-64\..." was sent as the second argument. Somewhere some path variable is not quoted correctly to protect against spaces in pathnames.