[osgeo4w-dev] Re: [osgeo4w] #37: grass: wxpython gui issues

OSGeo4W trac_osgeo4w at osgeo.org
Mon Feb 23 03:28:23 EST 2009


#37: grass: wxpython gui issues
----------------------+-----------------------------------------------------
  Reporter:  jachym   |       Owner:  osgeo4w-dev at lists.osgeo.org
      Type:  defect   |      Status:  new                        
  Priority:  major    |   Milestone:                             
 Component:  Package  |     Version:                             
Resolution:           |    Keywords:  GRASS                      
----------------------+-----------------------------------------------------
Comment (by hamish):

 Replying to [comment:19 hamish]:
 > Hi, just attempting my first OSGeo4W GRASS install. Downloaded today.
 >
 > packaging issues re. the wxpython GUI & epsg file:
 >
 > wxPython Startup: [Create new location from EPSG code]
 > Error window:
 > {{{
 > "Unable to read EPSG codes: [Errno 2] No such file or directory:
 u'/c/OSGeo4W/share/proj\\epsg'
 > }}}
 > [Ok], Choose EPSG Code window comes up.
 >
 > Path to the EPSG-codes file: [c/OSGeo4W/share/proj\epsg]
 >
 > [Browse], find it in the above location, [Ok]
 >
 > Error window:
 > {{{
 > Unable to read EPSG codes: string index out of range
 > }}}
 > [Ok]
 >
 > but if I know the number and put it in, it accepts it and expands to the
 correct +proj terms. (I tried # 4326 ll/wgs84)
 >
 > So it's just the code browser which is unhappy in the end. But without
 browsing to fix the "/c/...\epsg" to "C:\...\epsg" it gives me a Traceback
 error in the DOS console (line 1567 KeyError: 4326).

 Martin:
 > Hopefully fixed in http://trac.osgeo.org/grass/changeset/35981.

 Hi,

 similar problems in the Tcl/Tk GUI. From the startup screen:

 {{{
 Define new locations with ... [EPSG codes]

 Path to the EPSG-codes file: /c/OSGeo4W/share/proj/epsg
 EPSG code number of projection __________ [Browse]
 }}}

 if you click "browse EPSG codes", you get an error that the file can't be
 found. If you browse for the EPSG file, the path becomes
 `C:/OSGeo4W/share/proj/epsg` and then it all works: ie the nice code table
 browsing, searching, & grabbing.


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/37#comment:24>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer for the OSGeo stack.


More information about the osgeo4w-dev mailing list