[GRASS-dev] [grass-code I][303] Error trying to "Change region settings"

code I item #303, was opened at 2007-02-20 21:02
Status: Open
Priority: 3
Submitted By: Carlos Dávila (carluti)
Assigned to: Nobody (None)
Summary: Error trying to "Change region settings"
Issue type: None
Issue status: None
GRASS version: CVS HEAD
GRASS component: gis.m
Operating system: Linux
Operating system version: debian testing 2.6.18-3-486
GRASS CVS checkout date, if applies (YYMMDD):

Initial Comment:
In GIS Manager, if I choose the menu option Setting->Region->Change region settings, I get an error (see debug output below). I think it's due to some problem in the translation, as error title includes a translated word in the problem (existe instead of exist), but I'm not able to find the problem in po files.

Error output:
unknown option "existe.optwin"
unknown option "existe.optwin"
    while executing
"Widget::init ScrolledWindow $path $args"
    (procedure "ScrolledWindow::create" line 4)
    invoked from within
"ScrolledWindow::create .dialog1.nb.fYa existe.optwin -relief sunken -borderwidth 2"
    ("eval" body line 1)
    invoked from within
"eval ScrolledWindow::create $path $args"
    (procedure "ScrolledWindow" line 1)
    invoked from within
"ScrolledWindow $optpane.optwin -relief sunken -borderwidth 2"
    (procedure "layout_make_frame" line 21)
    invoked from within
"layout_make_frame $dlg $guisection $optn"
    (procedure "layout_get_frame" line 4)
    invoked from within
"layout_get_frame $dlg $opt($dlg,$optn,guisection) $optn"
    (procedure "add_flag" line 19)
    invoked from within
"add_flag 1 {
name {d}
desc {Establecido de la región predeterminada}
answer 0
label {}
guisection {Ya existe}
}"
    ("eval" body line 6)
    invoked from within
"eval $code"
    (procedure "run_ui" line 10)
    invoked from within
"run_ui $cmd"
    (procedure "execute" line 3)
    invoked from within
"execute g.region "
    invoked from within
".#menubar.#menubar#options.#menubar#options#menu1 invoke active"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke active]"
    (procedure "tk::MenuInvoke" line 50)
    invoked from within
"tk::MenuInvoke .#menubar.#menubar#options.#menubar#options#menu1 1"
    (command bound to event)

----------------------------------------------------------------------

You can respond by visiting:
http://wald.intevation.org/tracker/?func=detail&atid=204&aid=303&group_id=21

I pretty sure you are right. I have the most current version of the GUI--in
English--and there is no problem.

In your error report, it looks like the offending translation is in the
parser interface code of g.region

"add_flag 1 {
name {d}
desc {Establecido de la región predeterminada}
answer 0
label {}
guisection {Ya existe}

This is where the "existe" seems to come from. Probably it is the space that
is killing it, when the gui.tcl tries to create a notebook page from "Ya
existe".

Michael

On 2/20/07 1:02 PM, "grass-codei@wald.intevation.org"
<grass-codei@wald.intevation.org> wrote:

code I item #303, was opened at 2007-02-20 21:02
Status: Open
Priority: 3
Submitted By: Carlos Dávila (carluti)
Assigned to: Nobody (None)
Summary: Error trying to "Change region settings"
Issue type: None
Issue status: None
GRASS version: CVS HEAD
GRASS component: gis.m
Operating system: Linux
Operating system version: debian testing 2.6.18-3-486
GRASS CVS checkout date, if applies (YYMMDD):

Initial Comment:
In GIS Manager, if I choose the menu option Setting->Region->Change region
settings, I get an error (see debug output below). I think it's due to some
problem in the translation, as error title includes a translated word in the
problem (existe instead of exist), but I'm not able to find the problem in po
files.

Error output:
unknown option "existe.optwin"
unknown option "existe.optwin"
    while executing
"Widget::init ScrolledWindow $path $args"
    (procedure "ScrolledWindow::create" line 4)
    invoked from within
"ScrolledWindow::create .dialog1.nb.fYa existe.optwin -relief sunken
-borderwidth 2"
    ("eval" body line 1)
    invoked from within
"eval ScrolledWindow::create $path $args"
    (procedure "ScrolledWindow" line 1)
    invoked from within
"ScrolledWindow $optpane.optwin -relief sunken -borderwidth 2"
    (procedure "layout_make_frame" line 21)
    invoked from within
"layout_make_frame $dlg $guisection $optn"
    (procedure "layout_get_frame" line 4)
    invoked from within
"layout_get_frame $dlg $opt($dlg,$optn,guisection) $optn"
    (procedure "add_flag" line 19)
    invoked from within
"add_flag 1 {
name {d}
desc {Establecido de la región predeterminada}
answer 0
label {}
guisection {Ya existe}
}"
    ("eval" body line 6)
    invoked from within
"eval $code"
    (procedure "run_ui" line 10)
    invoked from within
"run_ui $cmd"
    (procedure "execute" line 3)
    invoked from within
"execute g.region "
    invoked from within
".#menubar.#menubar#options.#menubar#options#menu1 invoke active"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke active]"
    (procedure "tk::MenuInvoke" line 50)
    invoked from within
"tk::MenuInvoke .#menubar.#menubar#options.#menubar#options#menu1 1"
    (command bound to event)

----------------------------------------------------------------------

You can respond by visiting:
Wald: Exiting with error

__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton