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

Home » Public Forums » archive » Re: Mac Woes Continue
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
Re: Mac Woes Continue [message #46059] Thu, 03 November 2005 08:42 Go to next message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
David Fanning <david@dfanning.com> writes:
> Folks,
>
> I continue to see strange things on Mac computers in my IDL classes.
> Here is an example.
>
> I have a program XSTRETCH:
>
> http://www.dfanning.com/programs/xstretch.pro
>
> It is a fairly old widget program. I have never had any problems
> with it. The last time I made a modification to it was three
> years ago. But it simply won't run on a Macintosh computer. :-(

Hi David, it works fine for me on Mac OSX 10.3.9, with IDL 6.0 and 6.1.

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
Re: Mac Woes Continue [message #46079 is a reply to message #46059] Wed, 02 November 2005 23:01 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Henry Roe writes:

> To add a frustrating (for David) data point, xstretch works fine for me
> too.
>
> OSX version is 10.4.2
>
> IDL> print,!version
> { ppc darwin unix Mac OS X 6.2 Jun 20 2005 32 32}

Well, we appear to be running OSX 10.4.2, too. And we definitely
are NOT running. Guess I'll have to dig even deeper. :-(

Thanks,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: Mac Woes Continue [message #46083 is a reply to message #46079] Wed, 02 November 2005 19:15 Go to previous messageGo to next message
henrygroe is currently offline  henrygroe
Messages: 30
Registered: August 2003
Member
To add a frustrating (for David) data point, xstretch works fine for me
too.

OSX version is 10.4.2

IDL> print,!version
{ ppc darwin unix Mac OS X 6.2 Jun 20 2005 32 32}

I'm not sure what version of X11 and XFree86 I'm using.

cheers,
-henry
Re: Mac Woes Continue [message #46084 is a reply to message #46083] Wed, 02 November 2005 19:14 Go to previous messageGo to next message
henrygroe is currently offline  henrygroe
Messages: 30
Registered: August 2003
Member
To add a frustrating (for David) data point, xstretch works fine for me
too.

OSX version is 10.4.2

IDL> print,!version
{ ppc darwin unix Mac OS X 6.2 Jun 20 2005 32 32}

I'm not sure what version of X11 and XFree86 I'm using.

cheers,
-henry
Re: Mac Woes Continue [message #46096 is a reply to message #46084] Wed, 02 November 2005 08:23 Go to previous messageGo to next message
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
David Fanning wrote:
> btupper@bigelow.org writes:
>
>
>
>> This works for me using your linked version of XSTRETCH. I am on Mac OS
>> 10.3.9
>>
>> IDL> print, !VERSION
>> { ppc darwin unix Mac OS X 6.2 Jun 20 2005 32 32}
>>
>> IDL> xstretch, bytscl(hanning(300,300))
>> % Compiled module: HANNING.
>> % Compiled module: XSTRETCH.
>> % Compiled module: LOADCT.
>> % Compiled module: FILEPATH.
>> % Compiled module: PATH_SEP.
>> % Compiled module: TVIMAGE.
>> % Compiled module: XMANAGER.
>>
>> I can't tell what the problem might be from this end. Are you having
>> this problem from the command line or from within a managed routine?
>
>
> Really!? I'm failing on both the Macs in this class. Both
> are running IDL 6.2, but I don't know what version of the OS.
> Guess I'll try to check this morning. The problem is seen when
> we run from the command line.

You can get the OS version under the APPLE icon... look for "about this
Mac" - Also, can you confirm that you are running IDL with X11 (I have
X11 1.0 - XFree86 4.3.0) I don't know if this would make any difference.
Re: Mac Woes Continue [message #46097 is a reply to message #46096] Wed, 02 November 2005 08:12 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
btupper@bigelow.org writes:


> This works for me using your linked version of XSTRETCH. I am on Mac OS
> 10.3.9
>
> IDL> print, !VERSION
> { ppc darwin unix Mac OS X 6.2 Jun 20 2005 32 32}
>
> IDL> xstretch, bytscl(hanning(300,300))
> % Compiled module: HANNING.
> % Compiled module: XSTRETCH.
> % Compiled module: LOADCT.
> % Compiled module: FILEPATH.
> % Compiled module: PATH_SEP.
> % Compiled module: TVIMAGE.
> % Compiled module: XMANAGER.
>
> I can't tell what the problem might be from this end. Are you having
> this problem from the command line or from within a managed routine?

Really!? I'm failing on both the Macs in this class. Both
are running IDL 6.2, but I don't know what version of the OS.
Guess I'll try to check this morning. The problem is seen when
we run from the command line.

Thanks.

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: Mac Woes Continue [message #46100 is a reply to message #46097] Wed, 02 November 2005 05:58 Go to previous messageGo to next message
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
David Fanning wrote:
> Folks,
>
> I continue to see strange things on Mac computers in my IDL classes.
> Here is an example.
>
> I have a program XSTRETCH:
>
> http://www.dfanning.com/programs/xstretch.pro
>
> It is a fairly old widget program. I have never had any problems
> with it. The last time I made a modification to it was three
> years ago. But it simply won't run on a Macintosh computer. :-(
>
> I traced the problem to this line in the code:
>
> XManager, 'xstretch', histo_tlb, Group=group, $
> No_Block=1-Keyword_Set(block), $
> Event_Handler='XStretch_Histogram_Resize', $
> Cleanup='XStretch_Cleanup'
>
> Here, the variable "block" is undefined, so the NO_BLOCK
> keyword should evaluate to 1. To make this program work
> on a Macintosh, I have to set the NO_BLOCK keyword explicitly
> to 1:
>
> XManager, 'xstretch', histo_tlb, Group=group, $
> No_Block=1, $
> Event_Handler='XStretch_Histogram_Resize', $
> Cleanup='XStretch_Cleanup'
>
> Does anyone have *any* idea what this could be!?
>


Hi David,

This works for me using your linked version of XSTRETCH. I am on Mac OS
10.3.9

IDL> print, !VERSION
{ ppc darwin unix Mac OS X 6.2 Jun 20 2005 32 32}

IDL> xstretch, bytscl(hanning(300,300))
% Compiled module: HANNING.
% Compiled module: XSTRETCH.
% Compiled module: LOADCT.
% Compiled module: FILEPATH.
% Compiled module: PATH_SEP.
% Compiled module: TVIMAGE.
% Compiled module: XMANAGER.

I can't tell what the problem might be from this end. Are you having
this problem from the command line or from within a managed routine?

Ben

>
> P.S. My other Macintosh problem seems to be that it is
> reporting incorrect window sizes in geometry situations.
> This causes me to calculate negative window sizes in widget
> resize events. I haven't yet chased this to the source.
> (Hard to debug code in the middle of a class.) But if you
> Macophiles want to lend me a hand, the problem code is
> MPI_PLOT:
>
> http://www.dfanning.com/programs/mpi_plot.zip
>
> I will say this about the Macs. The keyboard is very,
> very cool! I just wish the darn things would run perfectly
> good IDL code! :-)
>
Re: Mac Woes Continue [message #46212 is a reply to message #46059] Tue, 08 November 2005 20:12 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Macs. Sigh....

You know what would really help? If everyone could just
decide on one operating system and use that. :-)

Cheers,

David

P.S. Why it is Mac users are more loathe to upgrade than
Windows users? Or is this finding skeletons in the closet?

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: Mac Woes Continue [message #46290 is a reply to message #46212] Wed, 09 November 2005 07:56 Go to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
David Fanning wrote:
> Macs. Sigh....
>
> You know what would really help? If everyone could just
> decide on one operating system and use that. :-)

When has "everyone" ever agreed on anything? I just wish more people
would agree with the right choice (mine :-} ).
Re: Mac Woes Continue [message #46291 is a reply to message #46212] Wed, 09 November 2005 07:16 Go to previous message
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
> You know what would really help? If everyone could just
> decide on one operating system and use that. :-)

Long live Linux!


> P.S. Why it is Mac users are more loathe to upgrade than
> Windows users? Or is this finding skeletons in the closet?

Windows users have been taught by M$ to expect to upgrade and to expect
it a lot. Mac users are conditioned to think that Macs are perfect and
so it doesn't make sense to upgrade something that's already perfect.

-Mike
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: the strange case of readcol.pro in idl 5.6
Next Topic: Mac Woes Continue

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

Current Time: Wed Oct 08 15:11:07 PDT 2025

Total time taken to generate the page: 0.00859 seconds