[GRASS-user] Tcl/Tk gui and nviz errors

Markus Neteler neteler at osgeo.org
Thu Jul 30 17:54:07 EDT 2009


On Thu, Jul 30, 2009 at 5:27 PM, Craig Leat<craig.leat at gmail.com> wrote:
> Hi
>
> I am getting errors (after updating and re-compiling) trying to start
> the Tcl/Tk gui and nviz, as shown below. I am using GRASS 6.5 r38466
> on ubuntu 9.04.  Any ideas on what I have done wrong?

> Thanks
>
> Craig
>
>
> $ grass65 -tcltk
> Cleaning up temporary files ...
> Starting GRASS ...
> Error in startup script: unknown color name "black"
>     (processing "-foreground" option)
>     invoked from within
> "$path configure $realopt $value"
>     (procedure "Widget::_test_tkresource" line 6)
>     invoked from within
> "$_optiontype($type) $option $value [lindex $optdesc 3]"
>     (procedure "Widget::configure" line 32)
>     invoked from within
> "Widget::configure $_top $args"
>     (procedure "DynamicHelp::configure" line 5)
>     invoked from within
> "DynamicHelp::configure -font balloon-help -fg black -bg "#FFFF77""
>     (file "/usr/local/src/grass6_devel/dist.i686-pc-linux-gnu/etc/gtcltk/options.tcl"
> line 46)
>     invoked from within
> "source $env(GISBASE)/etc/gtcltk/options.tcl"
>     (file "/usr/local/src/grass6_devel/dist.i686-pc-linux-gnu/etc/gis_set.tcl"
> line 28)
> Error in GUI startup. If necessary, please
> report this error to the GRASS developers.
> Switching to text mode now.
> Hit RETURN to continue...
>
>> nviz -q
> ERROR: unknown color name "red"

Here it works... could you try:
http://www.linux-archive.org/centos/188344-help-tcl-tk-centos-5-2-unknown-color-black.html
?

Markus


More information about the grass-user mailing list