Eric,
I'm completely baffled. It must be some other kinds of changes in GRASS
affecting this. Is the only one that doesn't work? You can grep run_panel
*.tcl in the /etc/gm folder and see what else uses it. You can make a change
with a text editor with no need to recompile.
I have to make a confession that the version I'm working with is a couple
weeks old, but has all current tcltk files. I'm concerned that some other
change in the tcltk parser is creating problems with running some things.
i.group should not be problematic since it doesn't require an xterm to run.
The "run" procedure is used widely. I can think of no reason why "exec --
i.group >& /dev/null" should not work. I notice that you do not have the new
devnull variable that makes this workable in Windows, so you must be running
6.1 or 6.2. I don't know whether that makes a difference or not.
Given all this, I'm forwarding this to the general developer list to see
what's going on.
Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
From: "Patton, Eric" <epatton@nrcan.gc.ca>
Date: Fri, 6 Oct 2006 13:42:51 -0300
To: 'Michael Barton ' <michael.barton@asu.edu>
Subject: RE: Your post on Grass list: i.group failed in new GeorectifierStill no luck. I made your edit (substituting run for run_panel),
re-complied, and I get a tcl error:child process exited abnormally
child process exited abnormally
while executing
"exec -- i.group >& /dev/null"
("eval" body line 1)
invoked from within
"eval [list exec -- $cmd] $args >& $devnull"
(procedure "run" line 12)
invoked from within
"run $cmd"
(procedure "GRMap::group" line 11)
invoked from within
"GRMap::group"
("uplevel" body line 1)
invoked from within
"uplevel \#0 $cmd"
(procedure "Button::_release" line 18)
invoked from within
"Button::_release .grstart.mf.frame.group.a"
(command bound to event)The vector group chooser works fine, but then I see that it doesn't call
i.group either. Actually, I noticed that the i.group call is the only time
in the whole tcl script that 'run_panel' is used. I thought I could test to
see if run_panel ran successfully in other instances in georect.tcl.~ Eric.
-----Original Message-----
From: Michael Barton
To: Patton, Eric
Sent: 10/6/2006 12:02 PM
Subject: Re: Your post on Grass list: i.group failed in new GeorectifierTry substituting "run" for "run_panel" in the line that calls i.group
and
see what happens. I have no way to test because it works fine for me.Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State Universityphone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbartonFrom: "Patton, Eric" <epatton@nrcan.gc.ca>
Date: Fri, 6 Oct 2006 12:31:31 -0300
To: 'Michael Barton ' <michael.barton@asu.edu>
Subject: RE: Your post on Grass list: i.group failed in newGeorectifier
Hm, i.group works fine from both the GUI and comand line; i.group -l
shows
my newly created imagery groups.
It's almost like the georectifying tool is passing i.group a null
string for
the name of the group parameter as soon as button #2 is clicked,
causing
i.group to fail. I take it that clicking button #2 'Create edit group'
is
supposed to launch the GUI version of i.group? It's strange. I can try
to
take a look at georect.tcl and see if anything obvious sticks out,
although
I kow barely any tcl.
I'm using Ubuntu 6.06 on a Dell PC.
~ Eric.
-----Original Message-----
From: Michael Barton
To: Patton, Eric
Sent: 10/6/2006 11:06 AM
Subject: Re: Your post on Grass list: i.group failed in newGeorectifier
Have you tried running i.group from the command line and from the
menu?
What
happens in both.I'm running i.group in exactly the same way as other commands are run.
I
can
change the procedure, but wonder if this is causing problems withother
commands too on your system.
BTW, what system are you doing this on?
Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State Universityphone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbartonFrom: "Patton, Eric" <epatton@nrcan.gc.ca>
Date: Fri, 6 Oct 2006 10:59:58 -0300
To: 'Michael Barton ' <michael.barton@asu.edu>
Subject: RE: Your post on Grass list: i.group failed in newGeorectifier
Michael,
I tried it again after updating to CVS - same thing:
ERROR: Required parameter <group> not set:
(Name of imagery group).~ Eric.
-----Original Message-----
From: Michael Barton
To: Patton, Eric
Sent: 10/5/2006 5:37 PM
Subject: Re: Your post on Grass list: i.group failed in newGeorectifier
Probably not. I bet mine went in about 15 minutes later.
Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State Universityphone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton