comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » ITools and CentOS 6.7
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
ITools and CentOS 6.7 [message #93112] Thu, 28 April 2016 13:20 Go to next message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
A co-worker is having weird problems with a large IDL software package which uses ITools under Linux CentOS. It ran fine under CentOS 6.6 but fails after an upgrade to CentOS 6.7. I was able to verify the problems on my own machine.

To see the problem, type

IDL> iimage, dist(512)

Under CentOS 6.7 the window content is filled with bits and pieces from other windows rather than the desired image. The rest of the ITools widget seems to be working correctly, including the histogram, the display of pixel values, and the hardcopy output of the image. We tried switching between hardware and software rendering and using differing backing store methods without success. We have verified the problem under both IDL 8.2 and IDL 8.5

I don't find any problems with CentOS 6.7 in either direct graphics (TV) or function graphics (IMAGE()). So one answer might be to switch to these other systems, but the user has a large existing investment in programs written using ITools.

Thanks, --Wayne
Re: ITools and CentOS 6.7 [message #93115 is a reply to message #93112] Thu, 28 April 2016 18:20 Go to previous messageGo to next message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
I suspect that this problem is closely related to one in the R language

https://bugs.centos.org/view.php?id=9562

The R plot works in CentOS 6.6 (or CentOS 7.1), but displays the background image under the window in CentOS 6.7. The solution appears to have been to update some X11 code within R, and presumably the same thing is needed for IDL.
We'll be submitting a bug report to Harris (and hoping that we won't be told that ITools is now deprecated). -Wayne

On Thursday, April 28, 2016 at 4:20:44 PM UTC-4, wlandsman wrote:
> A co-worker is having weird problems with a large IDL software package which uses ITools under Linux CentOS. It ran fine under CentOS 6.6 but fails after an upgrade to CentOS 6.7. I was able to verify the problems on my own machine.
>
> To see the problem, type
>
> IDL> iimage, dist(512)
>
> Under CentOS 6.7 the window content is filled with bits and pieces from other windows rather than the desired image. The rest of the ITools widget seems to be working correctly, including the histogram, the display of pixel values, and the hardcopy output of the image. We tried switching between hardware and software rendering and using differing backing store methods without success. We have verified the problem under both IDL 8.2 and IDL 8.5
>
> I don't find any problems with CentOS 6.7 in either direct graphics (TV) or function graphics (IMAGE()). So one answer might be to switch to these other systems, but the user has a large existing investment in programs written using ITools.
>
> Thanks, --Wayne
Re: ITools and CentOS 6.7 [message #93117 is a reply to message #93115] Thu, 28 April 2016 21:37 Go to previous messageGo to next message
zacharyanorman is currently offline  zacharyanorman
Messages: 17
Registered: July 2015
Junior Member
Hi Wayne,


I think it's safe to say that iTools is 'deprecated' which means it isn't advertised anymore but still around (just like all of the other deprecated routines). Using new, function graphics is a good idea just because they look so much nicer and have a lot more object methods to make them easier to use. Do you still see issues with the display if you do something like:

img = image(/test)


-Zach (VIS)
Re: ITools and CentOS 6.7 [message #93122 is a reply to message #93117] Fri, 29 April 2016 04:26 Go to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Thursday, April 28, 2016 at 4:20:44 PM UTC-4, wlandsman wrote:

> I don't find any problems with CentOS 6.7 in either direct graphics (TV) or function graphics (IMAGE()). So one answer might be to switch to these other systems, but the user has a large existing investment in programs written using ITools.

On Friday, April 29, 2016 at 12:37:37 AM UTC-4, Zachary Norman wrote:
> Hi Wayne,
>
>
> I think it's safe to say that iTools is 'deprecated' which means it isn't advertised anymore but still around (just like all of the other deprecated routines). Using new, function graphics is a good idea just because they look so much nicer and have a lot more object methods to make them easier to use. Do you still see issues with the display if you do something like:
>
> img = image(/test)
>
>
> -Zach (VIS)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: filled contour plot within a polygon
Next Topic: How to extract pixel values from a GeoTIFF using an Esri Shapefile

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:44:39 PDT 2025

Total time taken to generate the page: 0.00475 seconds