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

Maris Nartiss maris.gis at gmail.com
Fri Jul 31 03:51:17 EDT 2009


Markus, You seem to be right. Only problem - that thread is missing
solution: http://lists.centos.org/pipermail/centos/2008-November/067397.html

Citing here for history:
>>
>> check your /etc/X11/xorg.conf on the differents machines.
>> -> RgbPath "/usr/share/X11/rgb"
>>
>It was different between the two machines...
>
>On the machine that worked the RgbPath was not specified.
>It was specified on the machine that did not work...
>I commented it out and rebooted and it started working.
>
>
>Thanks,
>
>Jerry

Maris.


2009/7/31, Markus Neteler <neteler at osgeo.org>:
> 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
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>


More information about the grass-user mailing list