#551: WinGRASS-6.4_RC3 error creating location with EPSG codes.
----------------------------------+-----------------------------------------
Reporter: isaacullah | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: Python | Version: 6.4.0 RCs
Keywords: create location epsg | Platform: MSWindows XP
Cpu: Unspecified |
----------------------------------+-----------------------------------------
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
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.
Replying to [ticket:551 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