Opened 14 years ago

Closed 13 years ago

#1022 closed defect (worksforme)

v.out.ogr fails on wi7

Reported by: MilenaN Owned by: grass-dev@…
Priority: normal Milestone: 6.4.0
Component: Default Version: 6.4.0 RCs
Keywords: v.out.ogr, wingrass Cc:
CPU: x86-64 Platform: MSWindows 7

Description

Using RC6/wxgui export to shapefile fails:

v.out.ogr -c input=boundary_county@PERMANENT type=line dsn=c:\ olayer=pppppppppppppppp
ERROR 1: Failed to create file .shp file.
ERROR 4: Failed to open Shapefile `c:\pppppppppppppppp.shp'.
ERROR: Unable to create OGR layer

on winxp it works ok

Change History (4)

in reply to:  description comment:1 by hellik, 14 years ago

Replying to MilenaN:

Using RC6/wxgui export to shapefile fails:

v.out.ogr -c input=boundary_county@PERMANENT type=line dsn=c:\ olayer=pppppppppppppppp
ERROR 1: Failed to create file .shp file.
ERROR 4: Failed to open Shapefile `c:\pppppppppppppppp.shp'.
ERROR: Unable to create OGR layer

on winxp it works ok

dsn=c:\

are you sure that you have write permission in c:\?

I've tested this on my WinVista-box, v.out.ogr in c:\ fails also, but for example in dsn=C:\wd\testgrass v.out.ogr works.

the behaviour of write permission in c:\ has changed from WinXP to WinVista/Win7.

Please can you test v.out.ogr in C:\wd\testgrass or in an folder on another drive?

best regards Helmut

comment:2 by MilenaN, 14 years ago

v.out.ogr -c input=boundary_municp@PERMANENT type=line dsn=c:\grassowanie\1 olayer=lllll
Bad file descriptor: Files

and also other drive:

v.out.ogr -c input=boundary_municp@PERMANENT type=line dsn=M:\ olayer=lllll     
Bad file descriptor: Files

The file is created but it has 1kb

in reply to:  2 comment:3 by hellik, 13 years ago

Replying to MilenaN:

v.out.ogr -c input=boundary_municp@PERMANENT type=line dsn=c:\grassowanie\1 olayer=lllll
Bad file descriptor: Files

and also other drive:

v.out.ogr -c input=boundary_municp@PERMANENT type=line dsn=M:\ olayer=lllll     
Bad file descriptor: Files

The file is created but it has 1kb

still an issue, closing the ticket?

comment:4 by MilenaN, 13 years ago

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.