[GRASS-windows] Problems with Mapcanvas

Doug_Newcomb at fws.gov Doug_Newcomb at fws.gov
Mon Nov 19 10:56:20 EST 2007


Glynn,
      The regions that I entered were created using the startup tool with
the EPSG code and Georefernced file options.  Based on your feedback below,
I created a new mapset using qgis 0.9.  I was then able to open the new
mapset  in GRASS without the error message.

       Could there be a problem with the way that the startup menu creates
new regions/mapsets from EPSG codes and Georeferenced files?

Doug

Doug Newcomb
USFWS
Raleigh, NC
919-856-4520 ext. 14 doug_newcomb at fws.gov
---------------------------------------------------------------------------------------------------------

The opinions I express are my own and are not representative of the
official policy of the U.S.Fish and Wildlife Service or Dept. of Interior.
Life is too short for undocumented, proprietary data formats.


                                                                           
             Glynn Clements                                                
             <glynn at gclements.                                             
             plus.com>                                                  To 
                                       Doug_Newcomb at fws.gov                
             11/19/2007 10:34                                           cc 
             AM                        grass-windows at lists.osgeo.org,      
                                       grass-dev at lists.osgeo.org           
                                                                   Subject 
                                       Re: [GRASS-windows] Problems with   
                                       Mapcanvas                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           





Doug_Newcomb at fws.gov wrote:
>
> I'm having trouble viewing any datasets on the map canvas.  When I "Enter
> GRASS"  I get the following message popping up :
>
> can't read "end": no such variable
> can't read "end": no such variable
>     while executing
> "string trim $parts(projection) $end"
>     (procedure "MapCanvas::runprograms" line 47)

The code (mapcanvas.tcl:593) is:

                         # Finally put this into wind file format to use
with GRASS_REGION
                         regexp -nocase {^.* (\(.*\))} $parts(projection)
trash end
                         set parts(projection) [string trim
$parts(projection) $end]

It should be checking the return value from regexp before trying to
use the match variables.

--
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-windows mailing list