Details Ticket 4493


Comment | Reply | Open


Serial Number 4493
Subject gis.m fails to start GUI
Area grass6
Queue grass
Requestors strogdon@d.umn.edu
Owner mbarton
Status resolved
Last User Contact Thu Jul 20 23:41:33 2006 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Thu Jul 20 23:41:33 2006 (2 yr ago)
Created Tue May 23 21:33:48 2006 (2 yr ago)

Transaction History Ticket 4493


Tue, May 23 2006 21:33:48    Request created by guest  
Subject: gis.m fails to start GUI

Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: GRASS 6.1.cvs (20060520)

Name: Steven Trogdon

Error description:

Typing "grass61" at the unix shell prompt opens the grass Startup window. Clicking
on "Enter GRASS" yields


Welcome to GRASS 6.1.cvs (2006) 
GRASS homepage:                          http://grass.itc.it/
This version running thru:               C Shell (/bin/csh)
Help is available with the command:      g.manual -i
See the licence terms with:              g.version -c
If required, restart the graphical user interface with: gis.m &
When ready to quit enter:                exit
                                                                            
Mapset <PERMANENT> in Location <spearfish60>                                
GRASS 6.1.cvs > Error in startup script: unknown option "-offrelief"
    while executing
"radiobutton $tb.pointer  -image [image create photo -file "$iconpath/gui-pointer.gif"]
-command "MapCanvas::stoptool $mon"  -variable maptools -value..."
    (procedure "MapToolBar::create" line 40)
    invoked from within
"MapToolBar::create $map_tb"
    (procedure "MapCanvas::create" line 50)
    invoked from within
"MapCanvas::create"
    (procedure "Gm::startmon" line 11)
    invoked from within
"Gm::startmon"
    (procedure "Gm::create" line 71)
    invoked from within
"Gm::create"
    (procedure "main" line 29)
    invoked from within
"main $argc $argv"
    (file "/usr/local/grass-6.1.cvs/etc/gm/gm.tcl" line 518)

The GUI fails to open. This same error can be reproduced by typing "gis.m" at
the GRASS prompt. Typing "d.m" at the GRASS prompt does successfully open the
GIS Manager.

Wed, May 24 2006 03:26:30    Mail sent by hamish_nospam@yahoo.com  
Return-Path <hamish_nospam@yahoo.com>
Delivered-To grass-bugs@lists.intevation.de
Date Wed, 24 May 2006 13:26:18 +1200
From Hamish <hamish_nospam@yahoo.com>
To Request Tracker <grass-bugs@intevation.de>
Cc grass-dev@grass.itc.it
Subject Re: [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
Message-Id <20060524132618.41f224f5.hamish_nospam@yahoo.com>
In-Reply-To <20060523193348.B215D1005A3@lists.intevation.de>
References <20060523193348.B215D1005A3@lists.intevation.de>
X-Mailer Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu)
X-Face M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.0 tagged_above=-999.0 required=3.0 tests=BAYES_00, FORGED_YAHOO_RCVD
X-Spam-Level
> this bug's URL: http://intevation.de/rt/webrt?serial_num=4493
> ---------------------------------------------------------------------
> 
> Subject: gis.m fails to start GUI
> 
> Platform: GNU/Linux/x86
> grass obtained from: CVS
> grass binary for platform: Compiled from Sources
> GRASS Version: GRASS 6.1.cvs (20060520)
> 
> Name: Steven Trogdon
> 
> Error description:
> 
> Typing "grass61" at the unix shell prompt opens the grass Startup
> window. Clicking on "Enter GRASS" yields
..
> GRASS 6.1.cvs > Error in startup
script: unknown option "-offrelief"
>     while executing
> "radiobutton $tb.pointer  -image [image create photo -file
> "$iconpath/gui-pointer.gif"]  -command "MapCanvas::stoptool $mon" 


"-offrelief" seems to be new for Tcl/Tk 8.4.
 http://www.tcl.tk/cgi-bin/tct/tip/82.html

We shouldn't use anything that isn't tcltk 8.3 compatible.
The requirements page says "8.x", so we probably need to stay
compatible with 8.0, 8.1 too.


Hamish


Wed, May 24 2006 18:37:11    Mail sent by michael.barton@asu.edu  
Return-Path <Michael.Barton@asu.edu>
Delivered-To grass-bugs@lists.intevation.de
User-Agent Microsoft-Entourage/11.2.3.060209
Date Wed, 24 May 2006 09:37:00 -0700
Subject Re: [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
From Michael Barton <michael.barton@asu.edu>
To Hamish <hamish_nospam@yahoo.com>, Paolo Cavallini via RT <grass-bugs@intevation.de>
Cc <grass-dev@grass.itc.it>
Message-ID <C099D9BC.21AE4%michael.barton@asu.edu>
Thread-Topic [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
Thread-Index AcZ/UEd7hk0sSetDEdqqfAAUUSYxwg==
In-Reply-To <20060524132618.41f224f5.hamish_nospam@yahoo.com>
Mime-version 1.0
Content-type text/plain; charset="US-ASCII"
Content-transfer-encoding 7bit
X-Virus-Scanned by amavisd-new
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
This is not the only feature of the new GUI that was released with 8.4 and
probably won't work with 8.3.

TclTk 8.4.01 was released September 2002, when GRASS 4.something was still
current and GRASS 5 was in development. TclTk 8.5 is now in beta and we are
now talking about switching to a new GUI platform. TclTk is open source and
anyone can update to at least an old version of 8.4.

There are just not enough of us to maintain compatibility so far back into
prior versions, and it would affect both usability and appearance of the
GUI. We are maintaining the old d.m, which I believe is compatible with 8.3
at least and maybe back to 8.1. The fixes to maintain backward compatibility
4 years back are more than I have time to do (especially to try and find
workarounds for functionality from 8.4 that we are using) and is very low on
my priority list.

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: Hamish <hamish_nospam@yahoo.com>
> Date: Wed, 24 May 2006 13:26:18 +1200
> To: Request Tracker <grass-bugs@intevation.de>
> Cc: <grass-dev@grass.itc.it>
> Subject: Re: [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
> 
>> this bug's URL: http://intevation.de/rt/webrt?serial_num=4493
>> ---------------------------------------------------------------------
>> 
>> Subject: gis.m fails to start GUI
>> 
>> Platform: GNU/Linux/x86
>> grass obtained from: CVS
>> grass binary for platform: Compiled from Sources
>> GRASS Version: GRASS 6.1.cvs (20060520)
>> 
>> Name: Steven Trogdon
>> 
>> Error description:
>> 
>> Typing "grass61" at the unix shell prompt opens the grass Startup
>> window. Clicking on "Enter GRASS" yields
> ..
>> GRASS 6.1.cvs > Error in startup
> script: unknown option "-offrelief"
>>     while executing
>> "radiobutton $tb.pointer  -image [image create photo -file
>> "$iconpath/gui-pointer.gif"]  -command "MapCanvas::stoptool $mon"
> 
> 
> "-offrelief" seems to be new for Tcl/Tk 8.4.
>  http://www.tcl.tk/cgi-bin/tct/tip/82.html
> 
> We shouldn't use anything that isn't tcltk 8.3 compatible.
> The requirements page says "8.x", so we probably need to stay
> compatible with 8.0, 8.1 too.
> 
> 
> Hamish
> 
> 


Wed, May 24 2006 21:16:20    Mail sent by hamish_nospam@yahoo.com  
Return-Path <hamish_nospam@yahoo.com>
Delivered-To grass-bugs@lists.intevation.de
Date Thu, 25 May 2006 07:15:18 +1200
From Hamish <hamish_nospam@yahoo.com>
To Michael Barton <michael.barton@asu.edu>
Cc grass-bugs@intevation.de, grass-dev@grass.itc.it
Subject Re: [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
Message-Id <20060525071518.14d0dc00.hamish_nospam@yahoo.com>
In-Reply-To <C099D9BC.21AE4%michael.barton@asu.edu>
References <20060524132618.41f224f5.hamish_nospam@yahoo.com> <C099D9BC.21AE4%michael.barton@asu.edu>
X-Mailer Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu)
X-Face M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.0 tagged_above=-999.0 required=3.0 tests=BAYES_00, FORGED_YAHOO_RCVD
X-Spam-Level
> TclTk 8.4.01 was released September 2002, when GRASS 4.something was
> still current and GRASS 5 was in development. TclTk 8.5 is now in beta
> and we are now talking about switching to a new GUI platform. TclTk is
> open source and anyone can update to at least an old version of 8.4.
> 
> There are just not enough of us to maintain compatibility so far back
> into prior versions, and it would affect both usability and appearance
> of the GUI. We are maintaining the old d.m, which I believe is
> compatible with 8.3 at least and maybe back to 8.1. The fixes to
> maintain backward compatibility 4 years back are more than I have time
> to do (especially to try and find workarounds for functionality from
> 8.4 that we are using) and is very low on my priority list.

note NVIZ still doesn't work 100% with TclTk 8.4 on debian. This is
because of bugs which should be fixed, but in the mean time we are left
with a no-win compromise, either NVIZ working or gis.m working; not both.

what else besides "-offrelief" isn't tcltk 8.3 compatible in gis.m?
If it is small work to support 8.3, we should try.


Hamish


Wed, May 24 2006 21:24:38    Mail sent by michael.barton@asu.edu  
Return-Path <Michael.Barton@asu.edu>
Delivered-To grass-bugs@lists.intevation.de
User-Agent Microsoft-Entourage/11.2.3.060209
Date Wed, 24 May 2006 12:24:25 -0700
Subject Re: [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
From Michael Barton <michael.barton@asu.edu>
To Hamish <hamish_nospam@yahoo.com>
Cc Paolo Cavallini via RT <grass-bugs@intevation.de>, <grass-dev@grass.itc.it>
Message-ID <C09A00F9.21B14%michael.barton@asu.edu>
Thread-Topic [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
Thread-Index AcZ/Z6rE6WivXutaEdqqfAAUUSYxwg==
In-Reply-To <20060525071518.14d0dc00.hamish_nospam@yahoo.com>
Mime-version 1.0
Content-type text/plain; charset="US-ASCII"
Content-transfer-encoding 7bit
X-Virus-Scanned by amavisd-new
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
I think the options database is an 8.4 addition (Cedric can verify). I'm
using 8.4 docs so I don't know what else, but wouldn't be surprised if there
are some.

I think that Glynn is fixing (or maybe has fixed) NVIZ. Also, I have a grad
student who is using Debian (I can ask him the distro when he gets in) and
the current GIS Manager with no problem. ????

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: Hamish <hamish_nospam@yahoo.com>
> Date: Thu, 25 May 2006 07:15:18 +1200
> To: Michael Barton <michael.barton@asu.edu>
> Cc: <grass-bugs@intevation.de>, <grass-dev@grass.itc.it>
> Subject: Re: [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
> 
>> TclTk 8.4.01 was released September 2002, when GRASS 4.something was
>> still current and GRASS 5 was in development. TclTk 8.5 is now in beta
>> and we are now talking about switching to a new GUI platform. TclTk is
>> open source and anyone can update to at least an old version of 8.4.
>> 
>> There are just not enough of us to maintain compatibility so far back
>> into prior versions, and it would affect both usability and appearance
>> of the GUI. We are maintaining the old d.m, which I believe is
>> compatible with 8.3 at least and maybe back to 8.1. The fixes to
>> maintain backward compatibility 4 years back are more than I have time
>> to do (especially to try and find workarounds for functionality from
>> 8.4 that we are using) and is very low on my priority list.
> 
> note NVIZ still doesn't work 100% with TclTk 8.4 on debian. This is
> because of bugs which should be fixed, but in the mean time we are left
> with a no-win compromise, either NVIZ working or gis.m working; not both.
> 
> what else besides "-offrelief" isn't tcltk 8.3 compatible in gis.m?
> If it is small work to support 8.3, we should try.
> 
> 
> Hamish


Wed, May 24 2006 21:33:31    Mail sent by david.p.finlayson@gmail.com  
Return-Path <david.p.finlayson@gmail.com>
Delivered-To grass-bugs@lists.intevation.de
DomainKey-Signature a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZRXCgVBlWpv3EYHaqvzztCJjpm8SEUzXyvBh8rzpelGiydstP1qQXrCLvkpMaRtbYSx0FW2IRpkKXyS+RM/c1aLrDxE4KUG7krSE+/ZjIQwUitpfvk6FlNHdrW3iganVJaJKnbMWxPtGP8oX9iwk2ZAEbMXngG/TjmQXT905h8M=
Message-ID <be6d1720605241233o2e06b1fcr285904467c83921f@mail.gmail.com>
Date Wed, 24 May 2006 12:33:26 -0700
From "David Finlayson" <david.p.finlayson@gmail.com>
To "Michael Barton" <michael.barton@asu.edu>
Subject Re: [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
Cc Hamish <hamish_nospam@yahoo.com>, "Paolo Cavallini via RT" <grass-bugs@intevation.de>, grass-dev@grass.itc.it
In-Reply-To <C09A00F9.21B14%michael.barton@asu.edu>
MIME-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding quoted-printable
Content-Disposition inline
References <20060525071518.14d0dc00.hamish_nospam@yahoo.com> <C09A00F9.21B14%michael.barton@asu.edu>
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
I was going to suggest we build against both on Debuan/Ubuntu, but I
just noticed that tk8.3 is incompatible with tk8.4 on Ubuntu systems
(selecting one in Synaptic removes the other)

David

On 5/24/06, Michael Barton <michael.barton@asu.edu> wrote:
> I think the options database is an 8.4 addition (Cedric can verify). I'm
> using 8.4 docs so I don't know what else, but wouldn't be surprised if th=
ere
> are some.
>
> I think that Glynn is fixing (or maybe has fixed) NVIZ. Also, I have a gr=
ad
> student who is using Debian (I can ask him the distro when he gets in) an=
d
> the current GIS Manager with no problem. ????
>
> 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: Hamish <hamish_nospam@yahoo.com>
> > Date: Thu, 25 May 2006 07:15:18 +1200
> > To: Michael Barton <michael.barton@asu.edu>
> > Cc: <grass-bugs@intevation.de>, <grass-dev@grass.itc.it>
> > Subject: Re: [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
> >
> >> TclTk 8.4.01 was released September 2002, when GRASS 4.something was
> >> still current and GRASS 5 was in development. TclTk 8.5 is now in beta
> >> and we are now talking about switching to a new GUI platform. TclTk is
> >> open source and anyone can update to at least an old version of 8.4.
> >>
> >> There are just not enough of us to maintain compatibility so far back
> >> into prior versions, and it would affect both usability and appearance
> >> of the GUI. We are maintaining the old d.m, which I believe is
> >> compatible with 8.3 at least and maybe back to 8.1. The fixes to
> >> maintain backward compatibility 4 years back are more than I have time
> >> to do (especially to try and find workarounds for functionality from
> >> 8.4 that we are using) and is very low on my priority list.
> >
> > note NVIZ still doesn't work 100% with TclTk 8.4 on debian. This is
> > because of bugs which should be fixed, but in the mean time we are left
> > with a no-win compromise, either NVIZ working or gis.m working; not bot=
h.
> >
> > what else besides "-offrelief" isn't tcltk 8.3 compatible in gis.m?
> > If it is small work to support 8.3, we should try.
> >
> >
> > Hamish
>
> _______________________________________________
> grass-dev mailing list
> grass-dev@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev
>


--=20
David Finlayson


Wed, May 24 2006 21:43:11    Mail sent by michael.barton@asu.edu  
Return-Path <Michael.Barton@asu.edu>
Delivered-To grass-bugs@lists.intevation.de
User-Agent Microsoft-Entourage/11.2.3.060209
Date Wed, 24 May 2006 12:42:57 -0700
Subject Re: [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
From Michael Barton <michael.barton@asu.edu>
To David Finlayson <david.p.finlayson@gmail.com>
Cc Hamish <hamish_nospam@yahoo.com>, Paolo Cavallini via RT <grass-bugs@intevation.de>, <grass-dev@grass.itc.it>
Message-ID <C09A0551.21B1E%michael.barton@asu.edu>
Thread-Topic [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
Thread-Index AcZ/akGSgFBFVutdEdqqfAAUUSYxwg==
In-Reply-To <be6d1720605241233o2e06b1fcr285904467c83921f@mail.gmail.com>
Mime-version 1.0
Content-type text/plain; charset="US-ASCII"
Content-transfer-encoding 7bit
X-Virus-Scanned by amavisd-new
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
The NVIZ 8.3/8.4 issue has been with us for a long time and has been
repeatedly problematic. IMHO, this should be considered a bug and would seem
the best bet to simply fix it (though I have no idea what this involves of
course). Bug fixes for 6.2 seems to be the ideal time to do so. I'm not
trying to be a problem, but the thought of trying to figure out what is and
is not backward compatible with 8.3--and then trying to find a way to fix it
is not something I'd look forward to. It also is problematic for any new
stuff we do. I'd need to find some 8.3 docs and check all widgets and
options since I don't actually have a system to run it agains 8.3 and see if
it bombs. If -offrelief is the ONLY issue, I can go back and change all the
buttons I suppose. But this seems like the wrong approach to dealing with
bugs in NVIZ.

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: David Finlayson <david.p.finlayson@gmail.com>
> Date: Wed, 24 May 2006 12:33:26 -0700
> To: Michael Barton <michael.barton@asu.edu>
> Cc: Hamish <hamish_nospam@yahoo.com>, Paolo Cavallini via RT
> <grass-bugs@intevation.de>, <grass-dev@grass.itc.it>
> Subject: Re: [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
> 
> I was going to suggest we build against both on Debuan/Ubuntu, but I
> just noticed that tk8.3 is incompatible with tk8.4 on Ubuntu systems
> (selecting one in Synaptic removes the other)
> 
> David
> 
> On 5/24/06, Michael Barton <michael.barton@asu.edu> wrote:
>> I think the options database is an 8.4 addition (Cedric can verify). I'm
>> using 8.4 docs so I don't know what else, but wouldn't be surprised if there
>> are some.
>> 
>> I think that Glynn is fixing (or maybe has fixed) NVIZ. Also, I have a grad
>> student who is using Debian (I can ask him the distro when he gets in) and
>> the current GIS Manager with no problem. ????
>> 
>> 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: Hamish <hamish_nospam@yahoo.com>
>>> Date: Thu, 25 May 2006 07:15:18 +1200
>>> To: Michael Barton <michael.barton@asu.edu>
>>> Cc: <grass-bugs@intevation.de>, <grass-dev@grass.itc.it>
>>> Subject: Re: [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
>>> 
>>>> TclTk 8.4.01 was released September 2002, when GRASS 4.something was
>>>> still current and GRASS 5 was in development. TclTk 8.5 is now in beta
>>>> and we are now talking about switching to a new GUI platform. TclTk is
>>>> open source and anyone can update to at least an old version of 8.4.
>>>> 
>>>> There are just not enough of us to maintain compatibility so far back
>>>> into prior versions, and it would affect both usability and appearance
>>>> of the GUI. We are maintaining the old d.m, which I believe is
>>>> compatible with 8.3 at least and maybe back to 8.1. The fixes to
>>>> maintain backward compatibility 4 years back are more than I have time
>>>> to do (especially to try and find workarounds for functionality from
>>>> 8.4 that we are using) and is very low on my priority list.
>>> 
>>> note NVIZ still doesn't work 100% with TclTk 8.4 on debian. This is
>>> because of bugs which should be fixed, but in the mean time we are left
>>> with a no-win compromise, either NVIZ working or gis.m working; not both.
>>> 
>>> what else besides "-offrelief" isn't tcltk 8.3 compatible in gis.m?
>>> If it is small work to support 8.3, we should try.
>>> 
>>> 
>>> Hamish
>> 
>> _______________________________________________
>> grass-dev mailing list
>> grass-dev@grass.itc.it
>> http://grass.itc.it/mailman/listinfo/grass-dev
>> 
> 
> 
> -- 
> David Finlayson


Wed, May 24 2006 22:45:20    Mail sent by cedricgrass@shockfamily.net  
Return-Path <cedricgrass@shockfamily.net>
Delivered-To grass-bugs@lists.intevation.de
From Cedric Shock <cedricgrass@shockfamily.net>
To grass-dev@grass.itc.it
Subject Re: [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
Date Wed, 24 May 2006 13:44:51 -0700
User-Agent KMail/1.8.3
Cc Michael Barton <michael.barton@asu.edu>, Hamish <hamish_nospam@yahoo.com>, Paolo Cavallini via RT <grass-bugs@intevation.de>
References <C09A00F9.21B14%michael.barton@asu.edu>
In-Reply-To <C09A00F9.21B14%michael.barton@asu.edu>
MIME-Version 1.0
Content-Type text/plain; charset="iso-8859-1"
Content-Transfer-Encoding 7bit
Content-Disposition inline
Message-Id <200605241344.52400.cedricgrass@shockfamily.net>
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
Michael, et. al.,

We don't have an "official" tcl/tk compatibility requirement. However I put in
SUBMITTING_TCLTK that programs should work with both 8.3 and 8.4, which I 
believe are both an absolute must. Due to the core nature of gui.tcl, I've 
been testing my changes to gui.tcl against 8.0, 8.3, and 8.4, even though 8.0
compatibility results in slightly less readable code (no end- index 
notation).

I believe the tk options database was added in version 4. Poking around online
I found a tcl7.0/tk4.0 manual that mentions the options database almost 
identically to the 8.4 manual (the interface is identical, the documentation
has barely changed).

offrelief sounds like something that should be moved to options.tcl, where it
can be specified and the tk version tested for once. We could also make a 
class of a toolbar select button to keep the options thin. This is probably 
the best idea. I'll whip one up some time soon as an example.

--Cedric


Wed, May 24 2006 22:55:20    Mail sent by michael.barton@asu.edu  
Return-Path <Michael.Barton@asu.edu>
Delivered-To grass-bugs@lists.intevation.de
User-Agent Microsoft-Entourage/11.2.3.060209
Date Wed, 24 May 2006 13:55:14 -0700
Subject Re: [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
From Michael Barton <michael.barton@asu.edu>
To Cedric Shock <cedricgrass@shockfamily.net>, <grass-dev@grass.itc.it>
Cc Hamish <hamish_nospam@yahoo.com>, Paolo Cavallini via RT <grass-bugs@intevation.de>
Message-ID <C09A1642.21B2E%michael.barton@asu.edu>
Thread-Topic [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
Thread-Index AcZ/dFqfmTKaOutnEdqqfAAUUSYxwg==
In-Reply-To <200605241344.52400.cedricgrass@shockfamily.net>
Mime-version 1.0
Content-type text/plain; charset="US-ASCII"
Content-transfer-encoding 7bit
X-Virus-Scanned by amavisd-new
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
Thanks Cedric.

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: Cedric Shock <cedricgrass@shockfamily.net>
> Date: Wed, 24 May 2006 13:44:51 -0700
> To: <grass-dev@grass.itc.it>
> Cc: Michael Barton <michael.barton@asu.edu>, Hamish <hamish_nospam@yahoo.com>,
> Paolo Cavallini via RT <grass-bugs@intevation.de>
> Subject: Re: [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
> 
> Michael, et. al.,
> 
> We don't have an "official" tcl/tk compatibility requirement. However I put
in
> SUBMITTING_TCLTK that programs should work with both 8.3 and 8.4, which I
> believe are both an absolute must. Due to the core nature of gui.tcl, I've
> been testing my changes to gui.tcl against 8.0, 8.3, and 8.4, even though 8.0
> compatibility results in slightly less readable code (no end- index
> notation).
> 
> I believe the tk options database was added in version 4. Poking around online
> I found a tcl7.0/tk4.0 manual that mentions the options database almost
> identically to the 8.4 manual (the interface is identical, the documentation
> has barely changed).
> 
> offrelief sounds like something that should be moved to options.tcl, where
it
> can be specified and the tk version tested for once. We could also make a
> class of a toolbar select button to keep the options thin. This is probably
> the best idea. I'll whip one up some time soon as an example.
> 
> --Cedric


Wed, May 24 2006 23:47:08    Mail sent by glynn@gclements.plus.com  
Return-Path <glynn@gclements.plus.com>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn@gclements.plus.com>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <17524.54276.562345.954376@cerise.gclements.plus.com>
Date Wed, 24 May 2006 22:45:40 +0100
To Michael Barton <michael.barton@asu.edu>
Cc Hamish <hamish_nospam@yahoo.com>, Paolo Cavallini via RT <grass-bugs@intevation.de>, grass-dev@grass.itc.it
Subject Re: [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
In-Reply-To <C09A00F9.21B14%michael.barton@asu.edu>
References <20060525071518.14d0dc00.hamish_nospam@yahoo.com> <C09A00F9.21B14%michael.barton@asu.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
Michael Barton wrote:

> I think that Glynn is fixing (or maybe has fixed) NVIZ.

Nope. All I've done to NVIZ is to update Togl to 1.7 (which is
supposed to include native Mac support, although I'm not sure whether
it's functional).

If the issues with (some versions of) Tk 8.4 and NVIZ are down to the
use threads in those versions of Tk, it may simply not be possible to
use those versions with NVIZ.

Essentially, if Tk is trying to use threads "transparently", using
OpenGL simply won't work.

OpenGL stores the GLX context in thread-specific storage, so that you
can safely use OpenGL concurrently from multiple threads. Before you
can use OpenGL from a given thread, you have to bind a GLX context in
that particular thread. If the Tcl run-time treats all threads as
equal and executes code in whichever thread it feels like, the
application will end trying to use OpenGL calls without a valid GLX
context having been bound.

-- 
Glynn Clements <glynn@gclements.plus.com>


Thu, May 25 2006 00:01:18    Mail sent by michael.barton@asu.edu  
Return-Path <Michael.Barton@asu.edu>
Delivered-To grass-bugs@lists.intevation.de
User-Agent Microsoft-Entourage/11.2.3.060209
Date Wed, 24 May 2006 15:01:08 -0700
Subject Re: [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
From Michael Barton <michael.barton@asu.edu>
To Glynn Clements <glynn@gclements.plus.com>
Cc Hamish <hamish_nospam@yahoo.com>, Paolo Cavallini via RT <grass-bugs@intevation.de>, <grass-dev@grass.itc.it>
Message-ID <C09A25B4.21B40%michael.barton@asu.edu>
Thread-Topic [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
Thread-Index AcZ/fY9kzhcL6etwEdqqfAAUUSYxwg==
In-Reply-To <17524.54276.562345.954376@cerise.gclements.plus.com>
Mime-version 1.0
Content-type text/plain; charset="US-ASCII"
Content-transfer-encoding 7bit
X-Virus-Scanned by amavisd-new
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
But this works fine in 8.4 in both x11 and Mac OSX versions on my Mac and
for FC4. Is 8.4 for Debian so different?

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: Glynn Clements <glynn@gclements.plus.com>
> Date: Wed, 24 May 2006 22:45:40 +0100
> To: Michael Barton <michael.barton@asu.edu>
> Cc: Hamish <hamish_nospam@yahoo.com>, Paolo Cavallini via RT
> <grass-bugs@intevation.de>, <grass-dev@grass.itc.it>
> Subject: Re: [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
> 
> 
> Michael Barton wrote:
> 
>> I think that Glynn is fixing (or maybe has fixed) NVIZ.
> 
> Nope. All I've done to NVIZ is to update Togl to 1.7 (which is
> supposed to include native Mac support, although I'm not sure whether
> it's functional).
> 
> If the issues with (some versions of) Tk 8.4 and NVIZ are down to the
> use threads in those versions of Tk, it may simply not be possible to
> use those versions with NVIZ.
> 
> Essentially, if Tk is trying to use threads "transparently", using
> OpenGL simply won't work.
> 
> OpenGL stores the GLX context in thread-specific storage, so that you
> can safely use OpenGL concurrently from multiple threads. Before you
> can use OpenGL from a given thread, you have to bind a GLX context in
> that particular thread. If the Tcl run-time treats all threads as
> equal and executes code in whichever thread it feels like, the
> application will end trying to use OpenGL calls without a valid GLX
> context having been bound.
> 
> -- 
> Glynn Clements <glynn@gclements.plus.com>


Thu, May 25 2006 11:34:09    Mail sent by glynn@gclements.plus.com  
Return-Path <glynn@gclements.plus.com>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn@gclements.plus.com>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <17525.31221.892307.334854@cerise.gclements.plus.com>
Date Thu, 25 May 2006 10:33:41 +0100
To Cedric Shock <cedricgrass@shockfamily.net>
Cc grass-dev@grass.itc.it, Paolo Cavallini via RT <grass-bugs@intevation.de>, Michael Barton <michael.barton@asu.edu>, Hamish <hamish_nospam@yahoo.com>
Subject Re: [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
In-Reply-To <200605241344.52400.cedricgrass@shockfamily.net>
References <C09A00F9.21B14%michael.barton@asu.edu> <200605241344.52400.cedricgrass@shockfamily.net>
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
Cedric Shock wrote:

> We don't have an "official" tcl/tk compatibility requirement. However I put
in 
> SUBMITTING_TCLTK that programs should work with both 8.3 and 8.4, which I 
> believe are both an absolute must. Due to the core nature of gui.tcl, I've
> been testing my changes to gui.tcl against 8.0, 8.3, and 8.4, even though 8.0
> compatibility results in slightly less readable code (no end- index 
> notation).

I don't think that we need to support anything before 8.3.

8.4 was a substantial revision (which should arguably have been called
9.0) and was released quite some time after 8.3. If we support 8.3 and
8.4, that's really the last two major revisions. Everyone should be
able to use at least one of those, although not everyone can use 8.4.

-- 
Glynn Clements <glynn@gclements.plus.com>


Thu, May 25 2006 11:39:04    Mail sent by glynn@gclements.plus.com  
Return-Path <glynn@gclements.plus.com>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn@gclements.plus.com>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <17525.31532.300024.521011@cerise.gclements.plus.com>
Date Thu, 25 May 2006 10:38:52 +0100
To Michael Barton <michael.barton@asu.edu>
Cc Paolo Cavallini via RT <grass-bugs@intevation.de>, Hamish <hamish_nospam@yahoo.com>, grass-dev@grass.itc.it
Subject Re: [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
In-Reply-To <C09A25B4.21B40%michael.barton@asu.edu>
References <17524.54276.562345.954376@cerise.gclements.plus.com> <C09A25B4.21B40%michael.barton@asu.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
Michael Barton wrote:

> But this works fine in 8.4 in both x11 and Mac OSX versions on my Mac and
> for FC4. Is 8.4 for Debian so different?

It appears that threading is an optional feature in 8.4.


The Gentoo ebuild for Tcl has a "threads" option, corresponding to the
--enable-threads configure switch. However, it also has this:

pkg_setup() {
	if use threads ; then
		ewarn ""
		ewarn "PLEASE NOTE: You are compiling ${P} with"
		ewarn "threading enabled."
		ewarn "Threading is not supported by all applications"
		ewarn "that compile against tcl. You use threading at"
		ewarn "your own discretion."
		ewarn ""
		epause 5
	fi
}

My guess is that the Debian package uses threads while the FC4 version
doesn't. FWIW, my version was built without thread support.

-- 
Glynn Clements <glynn@gclements.plus.com>


Thu, May 25 2006 17:59:14    Mail sent by michael.barton@asu.edu  
Return-Path <Michael.Barton@asu.edu>
Delivered-To grass-bugs@lists.intevation.de
User-Agent Microsoft-Entourage/11.2.3.060209
Date Thu, 25 May 2006 08:58:52 -0700
Subject Re: [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
From Michael Barton <michael.barton@asu.edu>
To Glynn Clements <glynn@gclements.plus.com>
Cc Paolo Cavallini via RT <grass-bugs@intevation.de>, Hamish <hamish_nospam@yahoo.com>, <grass-dev@grass.itc.it>
Message-ID <C09B224C.21B94%michael.barton@asu.edu>
Thread-Topic [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
Thread-Index AcaAFB4jXMIyouwHEdq5fAAUUSYxwg==
In-Reply-To <17525.31532.300024.521011@cerise.gclements.plus.com>
Mime-version 1.0
Content-type text/plain; charset="US-ASCII"
Content-transfer-encoding 7bit
X-Virus-Scanned by amavisd-new
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
This is a good  piece of information to know.

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: Glynn Clements <glynn@gclements.plus.com>
> Date: Thu, 25 May 2006 10:38:52 +0100
> To: Michael Barton <michael.barton@asu.edu>
> Cc: Paolo Cavallini via RT <grass-bugs@intevation.de>, Hamish
> <hamish_nospam@yahoo.com>, <grass-dev@grass.itc.it>
> Subject: Re: [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
> 
> 
> Michael Barton wrote:
> 
>> But this works fine in 8.4 in both x11 and Mac OSX versions on my Mac and
>> for FC4. Is 8.4 for Debian so different?
> 
> It appears that threading is an optional feature in 8.4.
> 
> 
> The Gentoo ebuild for Tcl has a "threads" option, corresponding to the
> --enable-threads configure switch. However, it also has this:
> 
> pkg_setup() {
> if use threads ; then
> ewarn ""
> ewarn "PLEASE NOTE: You are compiling ${P} with"
> ewarn "threading enabled."
> ewarn "Threading is not supported by all applications"
> ewarn "that compile against tcl. You use threading at"
> ewarn "your own discretion."
> ewarn ""
> epause 5
> fi
> }
> 
> My guess is that the Debian package uses threads while the FC4 version
> doesn't. FWIW, my version was built without thread support.
> 
> -- 
> Glynn Clements <glynn@gclements.plus.com>


Thu, Jul 20 2006 23:41:33    Status changed to resolved by mbarton  
Thu, Jul 20 2006 23:41:33    Taken by mbarton  
Thu, Jul 20 2006 23:41:33    Mail sent by mbarton  
I haven't been able to duplicate this and no one else has reported this. I'm
assuming it was a brief, system-specific problem. So I'm changing this to
resolved.
Comment | Reply | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request