[GRASS-dev] more NVIZ updates

Great job, Michael.
NVIZ is back working on RHEL 4!
Thanks for your efforts & patience,

Markus

On Wed, Nov 22, 2006 at 09:16:09AM -0700, Michael Barton wrote:

I just put the new fix into the cvs. This will work.

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: Markus Neteler <neteler@itc.it>
> Date: Wed, 22 Nov 2006 17:11:41 +0100
> To: Bob Covill <bcovill@tekmap.ns.ca>
> Cc: Michael Barton <michael.barton@asu.edu>
> Subject: Re: [GRASS-dev] more NVIZ updates
>
> Hi Bob,
>
> good point, I didn't see the black arrow in the lower left corner.
> If I manually close the "wait_ok" extra window with the "Please wait"
> message, I can enter the menu. but the "show panel" thing doesn't
> do anything. Also clicking the arrow only changes the direction
> of the arrow....
>
> Resizing also doesn't help.
>
> Markus
>
> On Wed, Nov 22, 2006 at 08:42:57AM -0400, Bob Covill wrote:
>> Hi Markus,
>>
>>> From the screen shot you sent it appears that the panels have loaded.
>> You just cannot see them! For some reason it appears that your panels
>> are hidden. Remember that you can hide the panels in "full screen" mode.
>> The fact that there is a scrollbar at the side and a black arrow in the
>> lower left corner suggests that the panels have been loaded. Try
>> clicking (1+ times) on the black arrow in the lower left corner. You can
>> also use Hide/Show panels from the Appearance menu.
>>
>> Hopefully this will open the menu for you. If it doesn't, try adjusting
>> the window size or manually setting the canvas size (under File).
>>
>> Let me know how you make out.
>>
>> --
>> Bob
>>
>> On Wed, 2006-11-22 at 09:40 +0100, Markus Neteler wrote:
>>> Hi Bob,
>>>
>>> On Tue, Nov 21, 2006 at 09:02:12PM -0400, Bob Covill wrote:
>>>> On Tue, 2006-11-21 at 22:26 +0100, Markus Neteler wrote:
>>>>> On Tue, Nov 21, 2006 at 02:10:49PM -0400, Bob Covill wrote:
>>> ...
>>>>>> Let me know if you have any problems.
>>>>>
>>>>> Strangly no errors show up (last time it did with your modification).
>>>>
>>>> Just to make sure that everything is built cleanly, do a "make clean"
>>>> first.
>>>>>
>>>>> When I launch nviz without parameters, the parser GUI pops up,
>>>>> then I press run and it remains in the initial wait state.
>>>> This is probably something that needs catching. I am not an expert on
>>>> the GUI end of things, but it is probably trying to start the nviz
>>>> parser GUI from inside the parser GUI!
>>>
>>> I don't think so, it seems to be a problem to build the
>>> panel (so at a later stage)
>>>
>>>>> If I do
>>>>> nviz elevation.dem
>>>>> instead it gets up the top menu but not the left panel.
>>>>
>>>> Will nviz start up for you with "nviz -q"?
>>>
>>> See attached screenshot for "nviz -q". If I load a map instead, it
>>> shows in the canvas but remains like this.
>>>
>>>> Also, try enabling the DEBUG
>>>> variable at the top of nviz2.2_script. This should give you an idea of
>>>> where it is failing.
>>>
>>> nviz -q
>>> Adding panels from
>>> /nfsmnt/bartok0/ssi/neteler/software/cvsgrass63/dist.x86_64-unknown-linux-gn
>>> u/etc/nviz2.2/scripts
>>> Nv_(panels)
>>> Build toplevel window
>>> toplevel made
>>> info widget made
>>> panel area made
>>> file menu made
>>> Help menu made
>>> disabled made
>>> Nv_mkConfigMenu 1
>>> Nv_mkConfigMenu 2 0 Position
>>> Nv_mkConfigMenu 2 1 Lighting
>>> Nv_mkConfigMenu 2 2 Background Color
>>> Nv_mkConfigMenu 2 3 Label
>>> Nv_mkConfigMenu 2 4 Decorations
>>> Nv_mkPanelMenu 1
>>> Nv_mkPanelMenu 2 0 Raster Surfaces
>>> Nv_mkPanelMenu 2 1 Cutting Planes
>>> Nv_mkPanelMenu 2 2 Scaled Difference
>>> Nv_mkPanelMenu 2 3 Raster Query
>>> Nv_mkPanelMenu 2 4 Vector Lines/3D Polygons
>>> Nv_mkPanelMenu 2 5 Vector Points
>>> Nv_mkPanelMenu 2 6 Vector Query
>>> Nv_mkPanelMenu 2 7 Volumes
>>> Nv_mkPanelMenu 2 8 Animation
>>> Nv_mkPanelMenu 2 9 Keyframe Animation
>>> scripting menu 0 made
>>> scripting menu made
>>>
>>> Then it remains in the state as the screenshot shows.
>>>
>>> Still strange that it hides the tcl errors (last time it showed them,
>>> too bad that I didn't kept the code).
>>>
>>> Markus
>>>
>>>>>> On Tue, 2006-11-21 at 18:51 +0100, Markus Neteler wrote:
>>>>>>> Hi Bob,
>>>>>>>
>>>>>>> I am afraid that I don't have your tarball any more. I
>>>>>>> always try to delete as many mails as possible (still
>>>>>>>> 1300 in the inbox...).
>>>>>>>
>>>>>>> I would highly appreciate CVS diffs instead of a tarball.
>>>>>>> Complete files are very risky to invert a change from
>>>>>>> someone else (we have some developers who continuously
>>>>>>> do so :/, anyway). Since it is so easy, please resend
>>>>>>> it to me as follows:
>>>>>>>
>>>>>>> cd grass63cvs
>>>>>>> cvs diff -u visualization/nviz/ > nviz.diff
>>>>>>>
>>>>>>> and likewise for other directories. I hope you don't mind!
>>>>>>> In the recent months we had more that 10 cases that changes
>>>>>>> from other developers were overwritten which upsets people
>>>>>>> of course. And it's so easy to avoid...
>>>>>>>
>>>>>>> Thanks
>>>>>>> markus
>>>>>>>
>>>>>>> On Tue, Nov 21, 2006 at 12:16:55PM -0400, Bob Covill wrote:
>>>>>>>> Hi Markus,
>>>>>>>>
>>>>>>>> I am just testing the updated nviz here (SUSE 10). The script start-up
>>>>>>>> stuff I sent earlier should still work with the updated nviz. This will
>>>>>>>> spit out any tcl errors.
>>>>>>>>
>>>>>>>> Let me know if you need me to re-send the script tarball. Also, if you
>>>>>>>> have any suggestions for improving the Makefiles or script (nviz) let
>>>>>>>> me
>>>>>>>> know. I will try and get them as clean as possible before submitting to
>>>>>>>> CVS.
>>>>>>>>
>>>>>>>> --
>>>>>>>> Bob
>>>>>>>>
>>>>>>>> On Tue, 2006-11-21 at 16:41 +0100, Markus Neteler wrote:
>>>>>>>>> Hi Bob,
>>>>>>>>>
>>>>>>>>> while the new NVIZ works on Mandriva 2007, it fails on
>>>>>>>>> Redhat Enterprise 4. It's again some tcl problem which
>>>>>>>>> is hidden by the current startup procedure.
>>>>>>>>> If you could find a way to make the tcl errors show
>>>>>>>>> up in the terminal, I would be grateful.
>>>>>>>>>
>>>>>>>>> thanks,
>>>>>>>>> markus
>>>>>>>>
>>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>
> --
> Markus Neteler <neteler itc it> http://mpa.itc.it/markus/
> ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
> MPBA - Predictive Models for Biol. & Environ. Data Analysis
> Via Sommarive, 18 - 38050 Povo (Trento), Italy

--
Markus Neteler <neteler itc it> http://mpa.itc.it/markus/
ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy

Markus,

Glad this is working fine. I just realized that I didn't change the makefile
to reflect some panel name changes. Maybe it works anyway.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

From: Markus Neteler <neteler@itc.it>
Date: Thu, 23 Nov 2006 14:10:23 +0100
To: Michael Barton <michael.barton@asu.edu>
Cc: GRASS developers list <grass-dev@grass.itc.it>
Subject: Re: [GRASS-dev] more NVIZ updates

Great job, Michael.
NVIZ is back working on RHEL 4!
Thanks for your efforts & patience,

Markus

On Wed, Nov 22, 2006 at 09:16:09AM -0700, Michael Barton wrote:

I just put the new fix into the cvs. This will work.

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: Markus Neteler <neteler@itc.it>
Date: Wed, 22 Nov 2006 17:11:41 +0100
To: Bob Covill <bcovill@tekmap.ns.ca>
Cc: Michael Barton <michael.barton@asu.edu>
Subject: Re: [GRASS-dev] more NVIZ updates

Hi Bob,

good point, I didn't see the black arrow in the lower left corner.
If I manually close the "wait_ok" extra window with the "Please wait"
message, I can enter the menu. but the "show panel" thing doesn't
do anything. Also clicking the arrow only changes the direction
of the arrow....

Resizing also doesn't help.

Markus

On Wed, Nov 22, 2006 at 08:42:57AM -0400, Bob Covill wrote:

Hi Markus,

From the screen shot you sent it appears that the panels have loaded.

You just cannot see them! For some reason it appears that your panels
are hidden. Remember that you can hide the panels in "full screen" mode.
The fact that there is a scrollbar at the side and a black arrow in the
lower left corner suggests that the panels have been loaded. Try
clicking (1+ times) on the black arrow in the lower left corner. You can
also use Hide/Show panels from the Appearance menu.

Hopefully this will open the menu for you. If it doesn't, try adjusting
the window size or manually setting the canvas size (under File).

Let me know how you make out.

--
Bob

On Wed, 2006-11-22 at 09:40 +0100, Markus Neteler wrote:

Hi Bob,

On Tue, Nov 21, 2006 at 09:02:12PM -0400, Bob Covill wrote:

On Tue, 2006-11-21 at 22:26 +0100, Markus Neteler wrote:

On Tue, Nov 21, 2006 at 02:10:49PM -0400, Bob Covill wrote:

...

Let me know if you have any problems.

Strangly no errors show up (last time it did with your modification).

Just to make sure that everything is built cleanly, do a "make clean"
first.

When I launch nviz without parameters, the parser GUI pops up,
then I press run and it remains in the initial wait state.

This is probably something that needs catching. I am not an expert on
the GUI end of things, but it is probably trying to start the nviz
parser GUI from inside the parser GUI!

I don't think so, it seems to be a problem to build the
panel (so at a later stage)

If I do
nviz elevation.dem
instead it gets up the top menu but not the left panel.

Will nviz start up for you with "nviz -q"?

See attached screenshot for "nviz -q". If I load a map instead, it
shows in the canvas but remains like this.

Also, try enabling the DEBUG
variable at the top of nviz2.2_script. This should give you an idea of
where it is failing.

nviz -q
Adding panels from
/nfsmnt/bartok0/ssi/neteler/software/cvsgrass63/dist.x86_64-unknown-linux-
gn
u/etc/nviz2.2/scripts
Nv_(panels)
Build toplevel window
toplevel made
info widget made
panel area made
file menu made
Help menu made
disabled made
Nv_mkConfigMenu 1
Nv_mkConfigMenu 2 0 Position
Nv_mkConfigMenu 2 1 Lighting
Nv_mkConfigMenu 2 2 Background Color
Nv_mkConfigMenu 2 3 Label
Nv_mkConfigMenu 2 4 Decorations
Nv_mkPanelMenu 1
Nv_mkPanelMenu 2 0 Raster Surfaces
Nv_mkPanelMenu 2 1 Cutting Planes
Nv_mkPanelMenu 2 2 Scaled Difference
Nv_mkPanelMenu 2 3 Raster Query
Nv_mkPanelMenu 2 4 Vector Lines/3D Polygons
Nv_mkPanelMenu 2 5 Vector Points
Nv_mkPanelMenu 2 6 Vector Query
Nv_mkPanelMenu 2 7 Volumes
Nv_mkPanelMenu 2 8 Animation
Nv_mkPanelMenu 2 9 Keyframe Animation
scripting menu 0 made
scripting menu made

Then it remains in the state as the screenshot shows.

Still strange that it hides the tcl errors (last time it showed them,
too bad that I didn't kept the code).

Markus

On Tue, 2006-11-21 at 18:51 +0100, Markus Neteler wrote:

Hi Bob,

I am afraid that I don't have your tarball any more. I
always try to delete as many mails as possible (still

1300 in the inbox...).

I would highly appreciate CVS diffs instead of a tarball.
Complete files are very risky to invert a change from
someone else (we have some developers who continuously
do so :/, anyway). Since it is so easy, please resend
it to me as follows:

cd grass63cvs
cvs diff -u visualization/nviz/ > nviz.diff

and likewise for other directories. I hope you don't mind!
In the recent months we had more that 10 cases that changes
from other developers were overwritten which upsets people
of course. And it's so easy to avoid...

Thanks
markus

On Tue, Nov 21, 2006 at 12:16:55PM -0400, Bob Covill wrote:

Hi Markus,

I am just testing the updated nviz here (SUSE 10). The script
start-up
stuff I sent earlier should still work with the updated nviz. This
will
spit out any tcl errors.

Let me know if you need me to re-send the script tarball. Also, if
you
have any suggestions for improving the Makefiles or script (nviz) let
me
know. I will try and get them as clean as possible before submitting
to
CVS.

--
Bob

On Tue, 2006-11-21 at 16:41 +0100, Markus Neteler wrote:

Hi Bob,

while the new NVIZ works on Mandriva 2007, it fails on
Redhat Enterprise 4. It's again some tcl problem which
is hidden by the current startup procedure.
If you could find a way to make the tcl errors show
up in the terminal, I would be grateful.

thanks,
markus

--
Markus Neteler <neteler itc it> http://mpa.itc.it/markus/
ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy

--
Markus Neteler <neteler itc it> http://mpa.itc.it/markus/
ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy

This is still broken for me in the latest CVS. (Debian/stable)

# with DEBUG set to 1 in nviz2.2_script
G63> GRASS_WISH=wish8.3 nviz -q

Adding panels from /usr/local/src/grass/grass63/dist.i686-pc-linux-gnu/etc/nviz2.2/scripts
Nv_(panels)
Build toplevel window
toplevel made
info widget made
panel area made
file menu made
Help menu made
disabled made
Nv_mkConfigMenu 1
Nv_mkConfigMenu 2 0 Position
Nv_mkConfigMenu 2 1 Lighting
Nv_mkConfigMenu 2 2 Background Color
Nv_mkConfigMenu 2 3 Label
Nv_mkConfigMenu 2 4 Decorations
Nv_mkPanelMenu 1
%

closing the "Please wait.." lets me get to File->Quit, dragging the
"Please wait.." window over the canvas makes a 3d surface shudder in the
background if elev=mapname was given.

thanks,
Hamish

ps - etiquette police: http://www.html-faq.com/etiquette/?toppost
"A: Because it's annoying to read.
Q: Why is top-posting bad?
A: Top posting.
Q: What's the most annoying thing about usenet?"

Michael Barton wrote:

Markus,

Glad this is working fine. I just realized that I didn't change the makefile
to reflect some panel name changes. Maybe it works anyway.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

> From: Markus Neteler <neteler@itc.it>
> Date: Thu, 23 Nov 2006 14:10:23 +0100
> To: Michael Barton <michael.barton@asu.edu>
> Cc: GRASS developers list <grass-dev@grass.itc.it>
> Subject: Re: [GRASS-dev] more NVIZ updates
>
> Great job, Michael.
> NVIZ is back working on RHEL 4!
> Thanks for your efforts & patience,
>
> Markus
>
> On Wed, Nov 22, 2006 at 09:16:09AM -0700, Michael Barton wrote:
>> I just put the new fix into the cvs. This will work.
>>
>> 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: Markus Neteler <neteler@itc.it>
>>> Date: Wed, 22 Nov 2006 17:11:41 +0100
>>> To: Bob Covill <bcovill@tekmap.ns.ca>
>>> Cc: Michael Barton <michael.barton@asu.edu>
>>> Subject: Re: [GRASS-dev] more NVIZ updates
>>>
>>> Hi Bob,
>>>
>>> good point, I didn't see the black arrow in the lower left corner.
>>> If I manually close the "wait_ok" extra window with the "Please wait"
>>> message, I can enter the menu. but the "show panel" thing doesn't
>>> do anything. Also clicking the arrow only changes the direction
>>> of the arrow....
>>>
>>> Resizing also doesn't help.
>>>
>>> Markus
>>>
>>> On Wed, Nov 22, 2006 at 08:42:57AM -0400, Bob Covill wrote:
>>>> Hi Markus,
>>>>
>>>>> From the screen shot you sent it appears that the panels have loaded.
>>>> You just cannot see them! For some reason it appears that your panels
>>>> are hidden. Remember that you can hide the panels in "full screen" mode.
>>>> The fact that there is a scrollbar at the side and a black arrow in the
>>>> lower left corner suggests that the panels have been loaded. Try
>>>> clicking (1+ times) on the black arrow in the lower left corner. You can
>>>> also use Hide/Show panels from the Appearance menu.
>>>>
>>>> Hopefully this will open the menu for you. If it doesn't, try adjusting
>>>> the window size or manually setting the canvas size (under File).
>>>>
>>>> Let me know how you make out.
>>>>
>>>> --
>>>> Bob
>>>>
>>>> On Wed, 2006-11-22 at 09:40 +0100, Markus Neteler wrote:
>>>>> Hi Bob,
>>>>>
>>>>> On Tue, Nov 21, 2006 at 09:02:12PM -0400, Bob Covill wrote:
>>>>>> On Tue, 2006-11-21 at 22:26 +0100, Markus Neteler wrote:
>>>>>>> On Tue, Nov 21, 2006 at 02:10:49PM -0400, Bob Covill wrote:
>>>>> ...
>>>>>>>> Let me know if you have any problems.
>>>>>>>
>>>>>>> Strangly no errors show up (last time it did with your modification).
>>>>>>
>>>>>> Just to make sure that everything is built cleanly, do a "make clean"
>>>>>> first.
>>>>>>>
>>>>>>> When I launch nviz without parameters, the parser GUI pops up,
>>>>>>> then I press run and it remains in the initial wait state.
>>>>>> This is probably something that needs catching. I am not an expert on
>>>>>> the GUI end of things, but it is probably trying to start the nviz
>>>>>> parser GUI from inside the parser GUI!
>>>>>
>>>>> I don't think so, it seems to be a problem to build the
>>>>> panel (so at a later stage)
>>>>>
>>>>>>> If I do
>>>>>>> nviz elevation.dem
>>>>>>> instead it gets up the top menu but not the left panel.
>>>>>>
>>>>>> Will nviz start up for you with "nviz -q"?
>>>>>
>>>>> See attached screenshot for "nviz -q". If I load a map instead, it
>>>>> shows in the canvas but remains like this.
>>>>>
>>>>>> Also, try enabling the DEBUG
>>>>>> variable at the top of nviz2.2_script. This should give you an idea of
>>>>>> where it is failing.
>>>>>
>>>>> nviz -q
>>>>> Adding panels from
>>>>> /nfsmnt/bartok0/ssi/neteler/software/cvsgrass63/dist.x86_64-unknown-linux-
>>>>> gn
>>>>> u/etc/nviz2.2/scripts
>>>>> Nv_(panels)
>>>>> Build toplevel window
>>>>> toplevel made
>>>>> info widget made
>>>>> panel area made
>>>>> file menu made
>>>>> Help menu made
>>>>> disabled made
>>>>> Nv_mkConfigMenu 1
>>>>> Nv_mkConfigMenu 2 0 Position
>>>>> Nv_mkConfigMenu 2 1 Lighting
>>>>> Nv_mkConfigMenu 2 2 Background Color
>>>>> Nv_mkConfigMenu 2 3 Label
>>>>> Nv_mkConfigMenu 2 4 Decorations
>>>>> Nv_mkPanelMenu 1
>>>>> Nv_mkPanelMenu 2 0 Raster Surfaces
>>>>> Nv_mkPanelMenu 2 1 Cutting Planes
>>>>> Nv_mkPanelMenu 2 2 Scaled Difference
>>>>> Nv_mkPanelMenu 2 3 Raster Query
>>>>> Nv_mkPanelMenu 2 4 Vector Lines/3D Polygons
>>>>> Nv_mkPanelMenu 2 5 Vector Points
>>>>> Nv_mkPanelMenu 2 6 Vector Query
>>>>> Nv_mkPanelMenu 2 7 Volumes
>>>>> Nv_mkPanelMenu 2 8 Animation
>>>>> Nv_mkPanelMenu 2 9 Keyframe Animation
>>>>> scripting menu 0 made
>>>>> scripting menu made
>>>>>
>>>>> Then it remains in the state as the screenshot shows.
>>>>>
>>>>> Still strange that it hides the tcl errors (last time it showed them,
>>>>> too bad that I didn't kept the code).
>>>>>
>>>>> Markus
>>>>>
>>>>>>>> On Tue, 2006-11-21 at 18:51 +0100, Markus Neteler wrote:
>>>>>>>>> Hi Bob,
>>>>>>>>>
>>>>>>>>> I am afraid that I don't have your tarball any more. I
>>>>>>>>> always try to delete as many mails as possible (still
>>>>>>>>>> 1300 in the inbox...).
>>>>>>>>>
>>>>>>>>> I would highly appreciate CVS diffs instead of a tarball.
>>>>>>>>> Complete files are very risky to invert a change from
>>>>>>>>> someone else (we have some developers who continuously
>>>>>>>>> do so :/, anyway). Since it is so easy, please resend
>>>>>>>>> it to me as follows:
>>>>>>>>>
>>>>>>>>> cd grass63cvs
>>>>>>>>> cvs diff -u visualization/nviz/ > nviz.diff
>>>>>>>>>
>>>>>>>>> and likewise for other directories. I hope you don't mind!
>>>>>>>>> In the recent months we had more that 10 cases that changes
>>>>>>>>> from other developers were overwritten which upsets people
>>>>>>>>> of course. And it's so easy to avoid...
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>> markus
>>>>>>>>>
>>>>>>>>> On Tue, Nov 21, 2006 at 12:16:55PM -0400, Bob Covill wrote:
>>>>>>>>>> Hi Markus,
>>>>>>>>>>
>>>>>>>>>> I am just testing the updated nviz here (SUSE 10). The script
>>>>>>>>>> start-up
>>>>>>>>>> stuff I sent earlier should still work with the updated nviz. This
>>>>>>>>>> will
>>>>>>>>>> spit out any tcl errors.
>>>>>>>>>>
>>>>>>>>>> Let me know if you need me to re-send the script tarball. Also, if
>>>>>>>>>> you
>>>>>>>>>> have any suggestions for improving the Makefiles or script (nviz) let
>>>>>>>>>> me
>>>>>>>>>> know. I will try and get them as clean as possible before submitting
>>>>>>>>>> to
>>>>>>>>>> CVS.
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Bob
>>>>>>>>>>
>>>>>>>>>> On Tue, 2006-11-21 at 16:41 +0100, Markus Neteler wrote:
>>>>>>>>>>> Hi Bob,
>>>>>>>>>>>
>>>>>>>>>>> while the new NVIZ works on Mandriva 2007, it fails on
>>>>>>>>>>> Redhat Enterprise 4. It's again some tcl problem which
>>>>>>>>>>> is hidden by the current startup procedure.
>>>>>>>>>>> If you could find a way to make the tcl errors show
>>>>>>>>>>> up in the terminal, I would be grateful.
>>>>>>>>>>>
>>>>>>>>>>> thanks,
>>>>>>>>>>> markus
>>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>> --
>>> Markus Neteler <neteler itc it> http://mpa.itc.it/markus/
>>> ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
>>> MPBA - Predictive Models for Biol. & Environ. Data Analysis
>>> Via Sommarive, 18 - 38050 Povo (Trento), Italy
>>
>
> --
> Markus Neteler <neteler itc it> http://mpa.itc.it/markus/
> ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
> MPBA - Predictive Models for Biol. & Environ. Data Analysis
> Via Sommarive, 18 - 38050 Povo (Trento), Italy

_______________________________________________
grass-dev mailing list
grass-dev@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass-dev

(attachments)

nviz_frozen.png

1. I forgot to change the Makefile to reference the new files I did. This
may be the problem. Need to add configindex, panel_rquery.tcl and
panel_vquery.tcl. I also got rid of several files: panel_query.tcl,
panel_query_orig.tcl, panel_query_pgs.tcl, panel_pick.tcl, and
panel_hightlight.tcl.

2. Have you tested this with 8.4? There was a lot of effort to bring NVIZ up
to 8.4 recently. Is this not working with your system?

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & 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: Sat, 25 Nov 2006 17:24:08 +1300
To: Michael Barton <michael.barton@asu.edu>
Cc: <neteler@itc.it>, <grass-dev@grass.itc.it>
Subject: Re: [GRASS-dev] more NVIZ updates

# with DEBUG set to 1 in nviz2.2_script
G63> GRASS_WISH=wish8.3 nviz -q

Michael Barton wrote:

1. I forgot to change the Makefile to reference the new files I did.
This may be the problem. Need to add configindex, panel_rquery.tcl and
panel_vquery.tcl. I also got rid of several files: panel_query.tcl,
panel_query_orig.tcl, panel_query_pgs.tcl, panel_pick.tcl, and
panel_hightlight.tcl.

*.tcl are already copied, diff for configIndex is attached.

Installing configIndex doesn't help.

2. Have you tested this with 8.4?

not yet, will do.

There was a lot of effort to bring NVIZ up to 8.4 recently.

I am not sure what a programming target of "bring up to 8.4" means.
"Modernizing" NVIZ does not have to make it backwards-incompatible with
tcl/tk 8.3.

Is this not working with your system?

I am purposefully staying with 8.3 to catch any incompatibilities.

Hamish

(attachments)

nviz_Makefile.diff (993 Bytes)

Thanks Hamish,

From: Hamish <hamish_nospam@yahoo.com>
Date: Sat, 25 Nov 2006 20:28:06 +1300
To: Michael Barton <michael.barton@asu.edu>
Cc: <grass-dev@grass.itc.it>
Subject: Re: [GRASS-dev] more NVIZ updates

Michael Barton wrote:

1. I forgot to change the Makefile to reference the new files I did.
This may be the problem. Need to add configindex, panel_rquery.tcl and
panel_vquery.tcl. I also got rid of several files: panel_query.tcl,
panel_query_orig.tcl, panel_query_pgs.tcl, panel_pick.tcl, and
panel_hightlight.tcl.

*.tcl are already copied, diff for configIndex is attached.

I don't understand the Makefiles as well as I might, but it sort of looks
like it will pick up configIndex without any change.

Installing configIndex doesn't help.

2. Have you tested this with 8.4?

not yet, will do.

There was a lot of effort to bring NVIZ up to 8.4 recently.

I am not sure what a programming target of "bring up to 8.4" means.
"Modernizing" NVIZ does not have to make it backwards-incompatible with
tcl/tk 8.3.

I seem to remember that NVIZ would not work with 8.4, only 8.3--at least on
some systems. There were changes made last summer (not by me) to remedy
this. I've tried hard to *not* do anything to break 8.3 compatibility, like
using bwidgets 1.2.1 for any new widgets.

However, much of the NVIZ code is very old and uses custom widgets that are
sometimes buggy. These problems are difficult to track down because it also
uses hard-coded references to particular widgets throughout, rather than the
variables that they are supposed to change. This makes it an incredibly
complex maze to sort out. A proper rewrite would make NVIZ much easier to
modify in the future and probably reduce the code by half. It will also take
a lot of time. This could be done in a wxPython port.

Is this not working with your system?

I am purposefully staying with 8.3 to catch any incompatibilities.

Thanks. The errors you list don't look like 8.3 incompatibilities on the
surface of it. But if it *does* work with 8.4 and not with 8.3, then we'll
know where to start.

Michael

__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

Michael,

just a comment:

On Sat, Nov 25, 2006 at 09:42:10AM -0700, Michael Barton wrote:

>> There was a lot of effort to bring NVIZ up to 8.4 recently.
>
> I am not sure what a programming target of "bring up to 8.4" means.
> "Modernizing" NVIZ does not have to make it backwards-incompatible with
> tcl/tk 8.3.
>

I seem to remember that NVIZ would not work with 8.4, only 8.3--at least on
some systems.

I used NVIZ with tcl 8.4 for a couple of years... There were issues only
on Debian (tcl8.4 there uses threads, this was fixed in NVIZ by Cedric
if I recall correctly). But the recent changes have introduced real problems
which will be hopefully sorted out soon.

The key issue currently is that the error messages are hidden. This makes
it almost impossible to track down the problems.

Markus