Opened 16 years ago
Closed 16 years ago
#551 closed defect (fixed)
WinGRASS-6.4_RC3 error creating location with EPSG codes.
Reported by: | isaacullah | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 6.4.0 |
Component: | Python | Version: | 6.4.0 RCs |
Keywords: | create location epsg | Cc: | |
CPU: | Unspecified | Platform: | MSWindows XP |
Description
Trying to create a location with EPSG codes in WinGRAS-6.4_RC3 using the WX-GUI gives following error: "Unable to read EPSG codes: string index out of range"
The path to epsg file is correct, and the file is normal. It seems wingrass cannot parse the epsg file.
Work around: Change directory symbol in path to epsg file from "\" to "/". Enter a known epsg code (eg. search spatialrefernce.org for the correct code) in the EPSG box, and press "next". Grass creates new location.
This work around does not let one "Browse EPSG codes", however. If one trys to do so, the same error "Unable to read EPSG codes: string index out of range" pops up.
This bug occurs in both osgeo4W version and the native installer version of WinGRASS-6.4_RC3
Change History (2)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to isaacullah:
Trying to create a location with EPSG codes in WinGRAS-6.4_RC3 using the WX-GUI gives following error: "Unable to read EPSG codes: string index out of range"
The path to epsg file is correct, and the file is normal. It seems wingrass cannot parse the epsg file.
Work around: Change directory symbol in path to epsg file from "\" to "/". Enter a known epsg code (eg. search spatialrefernce.org for the correct code) in the EPSG box, and press "next". Grass creates new location.
This work around does not let one "Browse EPSG codes", however. If one trys to do so, the same error "Unable to read EPSG codes: string index out of range" pops up.
This bug occurs in both osgeo4W version and the native installer version of WinGRASS-6.4_RC3
Fixed in RC4, see also #554 for additional fixes.
M.
hopefully fixed in rc4, see the earlier bug report on the same subject (not sure if it is grass bug somewhere about # 500, or if was filed as OSGeo4w bug about # 37.
if you browse the filesystem for the file it should work to create locations in RC3.
Hamish