[GRASS5] Re: [bug #4155] (grass) d.m will not display remotely

Kirk R. Wythers kwythers at umn.edu
Thu Mar 9 19:23:32 EST 2006


On Mar 9, 2006, at 6:15 PM, Glynn Clements via RT wrote:

>
> Kirk R. Wythers wrote:
>
>>>> this bug's URL: http://intevation.de/rt/webrt?serial_num=4155
>
>>>> GRASS 6.1.cvs (minnesota_utm):~ > gis.m
>>>> X Error of failed request:  BadAtom (invalid Atom parameter)
>>>>   Major opcode of failed request:  20 (X_GetProperty)
>>>>   Atom id in failed request:  0xb5
>>>>   Serial number of failed request:  11
>>>>   Current serial number in output stream:  11
>>>> GRASS 6.1.cvs (minnesota_utm):~ >
>>>
>>> I'm guessing that this is an issue with "wish". It's impossible  
>>> to say
>>> any more than that based upon the above details; atom 0x5b (91)  
>>> isn't
>>> predefined (only 1 through 68 are predefined).
>>>
>>> Can you run wish by itself (or any other Tcl/Tk programs) remotely?
>>
>> I hate to have to sound this stupid but you can't hide from the  
>> truth...
>>
>> I'm not sure what you mean by run wish. I tried the following:
>>
>> truffula:/usr/include kwythers$ wish8.4
>> X Error of failed request:  BadAtom (invalid Atom parameter)
>>    Major opcode of failed request:  18 (X_ChangeProperty)
>>    Atom id in failed request:  0xb5
>>    Serial number of failed request:  12
>>    Current serial number in output stream:  15
>>
>> If that is what you meant, it looks to be the same error as d.m gave
>> from GRASS.
>
> That's exactly what I meant.
>
>> Also, can you suggest a simple tcltk program to try remotely (an
>> equivalent to xclock)?
>
> Not offhand, although that is no longer necessary.
>
> The problem applies to running wish (the Tcl/Tk interpreter), and will
> affect all Tcl/Tk programs. There isn't anything that d.m or gis.m can
> do to work around it.
>

Can you enlighten me as why with wish shell would work fine locally,  
but not remotely. I want to think this through because I am guessing  
that there is some odd OS X thing going on here. There are actually  
two wish shells on my system (the first that I compiled for X11 and  
resides in /usr/X11R6/bin and Apple's wish shell, which is Aqua  
compatible and resides in /usr/bin.

I would swear that I had this working before. Although I specify  
which wish shell in my .bashrc file like this:

export GRASS_TCLSH=/usr/X11R6/bin/tclsh8.4
export GRASS_WISH=/usr/X11R6/bin/wish8.4

so it does not make a lot of sense.

btw... thanks for your ideas on this Glynn.

Kirk


> -- 
> Glynn Clements <glynn at gclements.plus.com>
>
>
> --- Headers Follow ---
>
>> From glynn at gclements.plus.com  Fri Mar 10 01:15:50 2006
> Return-Path: <glynn at gclements.plus.com>
> Delivered-To: grass-bugs at lists.intevation.de
> Received: from mail.intevation.de (aktaia [212.95.126.10])
> 	by lists.intevation.de (Postfix) with ESMTP id B70641006B4
> 	for <grass-bugs at lists.intevation.de>; Fri, 10 Mar 2006 01:15:50  
> +0100 (CET)
> Received: from localhost (localhost [127.0.0.1])
> 	by mail.intevation.de (Postfix) with ESMTP id 52DCA36DC4
> 	for <grass-bugs at lists.intevation.de>; Fri, 10 Mar 2006 01:15:50  
> +0100 (CET)
> Received: from cerise.gclements.plus.com (82-71-30-52.dsl.in- 
> addr.zen.co.uk [82.71.30.52])
> 	by mail.intevation.de (Postfix) with ESMTP id 5819936FBF
> 	for <grass-bugs at intevation.de>; Fri, 10 Mar 2006 01:15:47 +0100 (CET)
> Received: from cerise.gclements.plus.com (localhost [127.0.0.1])
> 	by cerise.gclements.plus.com (8.13.4/8.13.4) with ESMTP id  
> k2A0Ffrf029330;
> 	Fri, 10 Mar 2006 00:15:41 GMT
> Received: (from glynn at localhost)
> 	by cerise.gclements.plus.com (8.13.4/8.13.4/Submit) id  
> k2A0Fe5g029306;
> 	Fri, 10 Mar 2006 00:15:40 GMT
> From: Glynn Clements <glynn at gclements.plus.com>
> MIME-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> Message-ID: <17424.50476.703645.625643 at cerise.gclements.plus.com>
> Date: Fri, 10 Mar 2006 00:15:40 +0000
> To: "Kirk R. Wythers" <kwythers at umn.edu>
> Cc: Glynn Clements via RT <grass-bugs at intevation.de>,
> 	devel grass <grass5 at grass.itc.it>
> Subject: Re: [GRASS5] Re: [bug #4155] (grass) d.m will not display  
> remotely
> In-Reply-To: <F8F8D8ED-B5E9-4A52-8803-EFF83450D4AF at umn.edu>
> References: <20060309040528.D83911006AC at lists.intevation.de>
> 	<F8F8D8ED-B5E9-4A52-8803-EFF83450D4AF at umn.edu>
> X-Mailer: VM 7.07 under 21.4 (patch 15) "Security Through  
> Obscurity" XEmacs Lucid
> X-Spam-Status: No, hits=-4.9 tagged_above=-999.0 required=3.0  
> tests=BAYES_00
> X-Spam-Level:
>
> -------------------------------------------- Managed by Request  
> Tracker




More information about the grass-dev mailing list