[GRASS-dev] [GRASS GIS] #1185: v.in.ogr on WinGrass: "Bad file
descriptor"
GRASS GIS
trac at osgeo.org
Fri Oct 1 07:40:09 EDT 2010
#1185: v.in.ogr on WinGrass: "Bad file descriptor"
--------------------------------+-------------------------------------------
Reporter: hamish | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.1
Component: Vector | Version: unspecified
Keywords: v.in.ogr, wingrass | Platform: MSWindows XP
Cpu: Unspecified |
--------------------------------+-------------------------------------------
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.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1185>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list