Opened 15 years ago
Closed 14 years ago
#1018 closed defect (worksforme)
v.in.ogr.. Bad file descriptor: Files
Reported by: | MilenaN | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 6.4.0 |
Component: | wxGUI | Version: | 6.4.0 RCs |
Keywords: | v.in.ogr, wingrass | Cc: | |
CPU: | x86-64 | Platform: | MSWindows 7 |
Description
Using RC6/wxgui import of shapefile fails:
v.in.ogr dsn=M:\MIWZP\dane_mi\Drogi_krajowe92_polyline.shp output=drogi Projection of input dataset and current location appear to match Layer: Drogi_krajowe92_polyline Column name changed: 'DłUGOść_Z_' -> 'D3UGO_f_Z_' Bad file descriptor: Files
Change History (4)
comment:1 by , 14 years ago
follow-up: 3 comment:2 by , 14 years ago
the DBF format dates back to the early 1980s. It's not surprising that it doesn't deal well with ascii chars >127. does it fail if you switch to a more modern DB as the back-end? (db.connect)
Hamish
comment:3 by , 14 years ago
Replying to hamish:
the DBF format dates back to the early 1980s. It's not surprising that it doesn't deal well with ascii chars >127. does it fail if you switch to a more modern DB as the back-end? (db.connect)
The error is in the GUI, not the database code. Even if there are problems with DBF and non-ASCII characters, it isn't getting that far.
Is the str() call actually necessary? I would have expected InsertStringItem
to accept a Unicode object.
comment:4 by , 14 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Tried again and it works now.
Replying to MilenaN:
still valid?
maybe you can supply a sample-shapefile containing non-ascii column names
Helmut
p.s. I've tried to add in the attribute table manager of a vector (dbf-table) a column named "UGOść".