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: grass-dev@…
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 hamish, 16 years ago

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

in reply to:  description comment:2 by martinl, 16 years ago

Resolution: fixed
Status: newclosed

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.

Note: See TracTickets for help on using tickets.