[GRASS-dev] [GRASS GIS] #141: wingrass native: Georectifier throws error if user completes form by typing

#141: wingrass native: Georectifier throws error if user completes form by typing
------------------------------------------------------------------------+---
Reporter: RRosario | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: minor | Milestone: 6.4.0
Component: Tcl | Version: 6.3.0 RCs
Keywords: wingrass windows native output no such variable georectify |
------------------------------------------------------------------------+---
In the dialog box that is displayed after Georectify is selected from the
File menu, if a user types in the information instead of clicking on the
labeled buttons to fill the fields, the following error is displayed:

Error: can't read "output": no such variable

Problem is resolved by using point-and-click to select the necessary
group, mapset and map raster.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/141&gt;
GRASS GIS <http://grass.osgeo.org>
Commonly referred to as GRASS, this is a Geographic Information System (GIS) used for geospatial data management and analysis, image processing, graphics/maps production, spatial modeling, and visualization. GRASS is currently used in academic and commercial settings around the world, as well as by many governmental agencies and environmental consulting companies. GRASS is official project of the Open Source Geospatial Foundation.

#141: wingrass native: Georectifier throws error if user completes form by typing
-----------------------+----------------------------------------------------
  Reporter: RRosario | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: minor | Milestone: 6.4.0
Component: Tcl | Version: 6.3.0 RCs
Resolution: | Keywords: wingrass windows native output no such variable georectify
-----------------------+----------------------------------------------------
Comment (by 4everskiff):

Replying to [ticket:141 RRosario]:
> In the dialog box that is displayed after Georectify is selected from
the File menu, if a user types in the information instead of clicking on
the labeled buttons to fill the fields, the following error is displayed:
>
> Error: can't read "output": no such variable
>
> Problem is resolved by using point-and-click to select the necessary
group, mapset and map raster.

Could you please check it out with WinGRASS 6.3.0?
Thanks

Marco

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/141#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#141: wingrass native: Georectifier throws error if user completes form by typing
-----------------------+----------------------------------------------------
  Reporter: RRosario | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: minor | Milestone: 6.4.0
Component: Tcl | Version: 6.3.0 RCs
Resolution: | Keywords: wingrass windows native output no such variable georectify
-----------------------+----------------------------------------------------
Comment (by cmbarton):

Since my class is over, I don't have as many ways to test this on Windows.
I've tried it on my Mac and typing is no problem. What happens if you
press <return> after typing in a field?

Michael

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/141#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#141: wingrass native: Georectifier throws error if user completes form by typing
--------------------------+-------------------------------------------------
  Reporter: RRosario | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: minor | Milestone: 6.4.0
Component: Tcl | Version: 6.3.0 RCs
Resolution: | Keywords: georectify, gis.m
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by hamish):

  * keywords: wingrass windows native output no such variable georectify
               => georectify, gis.m
  * platform: => Unspecified
  * cpu: => Unspecified

Comment:

Hi,

I can reproduce this in 6.4.0rc4 wingrass + 6.5svn on Linux.

  - File -> Georectify
  - Click in "select mapset" box, type "foo"
  - [tab] to "select group", type "bar"
  - [tab] to "select map", type "baz"
  - click [start georectifying] -> error window.
  - click [ok] GCP table opens as expected

full error message is:
{{{
can't read "output": no such variable
can't read "output": no such variable
     while executing
"puts $output "# Ground Control Points File""
     (procedure "GRMap::savegcp" line 17)
     invoked from within
"GRMap::savegcp"
     (procedure "GRMap::gcp_error" line 24)
     invoked from within
"GRMap::gcp_error"
     (procedure "GRMap::gcpwin" line 121)
     invoked from within
"GRMap::gcpwin"
     (procedure "GRMap::refmap" line 33)
     invoked from within
"GRMap::refmap"
     ("uplevel" body line 1)
     invoked from within
"uplevel \#0 $cmd"
     (procedure "Button::_release" line 18)
     invoked from within
"Button::_release .grstart.mf.frame.start.a"
     (command bound to event)
}}}

Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/141#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#141: Georectifier throws error if user completes form by typing
--------------------------+-------------------------------------------------
  Reporter: RRosario | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: minor | Milestone: 6.4.0
Component: Tcl | Version: 6.3.0 RCs
Resolution: | Keywords: georectify, gis.m
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by hamish):

  * summary: wingrass native: Georectifier throws error if user completes
              form by typing => Georectifier throws error if
              user completes form by typing

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/141#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>

#141: Georectifier throws error if user completes form by typing
--------------------------+-------------------------------------------------
  Reporter: RRosario | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: minor | Milestone: 6.4.0
Component: Tcl/Tk | Version: 6.3.0 RCs
Resolution: wontfix | Keywords: georectify, gis.m
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by wenzeslaus):

  * status: new => closed
  * resolution: => wontfix

Comment:

This is Tcl/Tk which will be dropped for GRASS 7 and there is
[http://grass.osgeo.org/grass64/manuals/wxGUI.GCP_Manager.html GCP
Manager] in wxGUI (in both GRASS 6.4 and GRASS 7), so closing as wontfix.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/141#comment:5&gt;
GRASS GIS <http://grass.osgeo.org>

#141: Georectifier throws error if user completes form by typing
--------------------------+-------------------------------------------------
  Reporter: RRosario | Owner: grass-dev@…
      Type: defect | Status: reopened
  Priority: minor | Milestone: 6.4.5
Component: Tcl/Tk | Version: 6.3.0 RCs
Resolution: | Keywords: georectify, gis.m
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by hamish):

  * status: closed => reopened
  * resolution: wontfix =>
  * milestone: 6.4.0 => 6.4.5

Comment:

bugs are bugs and should be fixed.

regards,
Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/141#comment:6&gt;
GRASS GIS <http://grass.osgeo.org>