But when I start v.digit with the following commands I get the following error
message:
ERROR: Cannot open toolbox:
What does it mean exactly? What can be the problem?
The error means that it couldn't execute the Tcl/Tk script
$GISBASE/etc/v.digit/toolbox.tcl, either because the file isn't
present, or an error occurred while executing the file.
And how can I solve this problem. The file is present. But soemhow it cannot
be executed:
GRASS 6.2.0beta3 (Lux):~ > $GISBASE/etc/v.digit/toolbox.tcl
/usr/local/grass-6.2.0beta3/etc/v.digit/toolbox.tcl: line 1: syntax error near
unexpected token `('
/usr/local/grass-6.2.0beta3/etc/v.digit/toolbox.tcl: line 1: `lappend
auto_path $env(GISBASE)/bwidget'
So I guess it is a bug in GRASS? Can it be solved? If yes how?
Ulrich
Ulrich Leopold wrote:
>> But when I start v.digit with the following commands I get the following error
>> message:
>> ERROR: Cannot open toolbox:
>> What does it mean exactly? What can be the problem?
> The error means that it couldn't execute the Tcl/Tk script
> $GISBASE/etc/v.digit/toolbox.tcl, either because the file isn't
> present, or an error occurred while executing the file.
And how can I solve this problem. The file is present. But soemhow it cannot
be executed:
GRASS 6.2.0beta3 (Lux):~ > $GISBASE/etc/v.digit/toolbox.tcl
You can't run it as a standalone script. It has to be read into the
custom Tcl interpreter in v.digit.
Try running it via wish, e.g.:
wish $GISBASE/etc/v.digit/toolbox.tcl
You should get the error:
Error in startup script: invalid command name "c_tool_centre"
If you get some other error, it's a problem with the script, otherwise
it's a problem with v.digit's use of Tcl/Tk.
--
Glynn Clements <glynn@gclements.plus.com>