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

Home » Public Forums » archive » Illegal operand error with window,/free
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
Illegal operand error with window,/free [message #90901] Mon, 11 May 2015 10:24 Go to next message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
I'm not sure when this started happening but I get a "Floating illegal operand" the first type I type "window,/free" at the command line. It doesn't happen from the IDL workbench or the second time I type it at the command line. I don't think there is anything relevant in my startup file, and I first noticed the problem when typing CGPS_OPEN. Anyone have any ideas what might be going on?

Thanks, --Wayne


gs66-mpb> idl
IDL Version 8.4, Mac OS X (darwin x86_64 m64). (c) 2014, Exelis Visual Information Solutions, Inc.
Installation number: 314159.
Licensed for personal use only.
All other use is strictly prohibited.

IDL> window,/free
% Program caused arithmetic error: Floating illegal operand
IDL> window,/free
Re: Illegal operand error with window,/free [message #90904 is a reply to message #90901] Tue, 12 May 2015 01:25 Go to previous messageGo to next message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
On Monday, May 11, 2015 at 7:24:12 PM UTC+2, wlandsman wrote:
> I'm not sure when this started happening but I get a "Floating illegal operand" the first type I type "window,/free" at the command line. It doesn't happen from the IDL workbench or the second time I type it at the command line. I don't think there is anything relevant in my startup file, and I first noticed the problem when typing CGPS_OPEN. Anyone have any ideas what might be going on?
>
> Thanks, --Wayne
>
>
> gs66-mpb> idl
> IDL Version 8.4, Mac OS X (darwin x86_64 m64). (c) 2014, Exelis Visual Information Solutions, Inc.
> Installation number: 314159.
> Licensed for personal use only.
> All other use is strictly prohibited.
>
> IDL> window,/free
> % Program caused arithmetic error: Floating illegal operand
> IDL> window,/free

Hi,
I've tried this on win with 8.4.1 and did not get this problem:

Run startup pro. File = C:\Users\Helder\IDLWorkspace83\HelderStartup.pro
turn off !DEBUG_PROCESS_EVENTS
finish starup pro
IDL> window, /free
IDL>

[My startup "only" turns off !debug_process_events]

IDL> !version
{
"ARCH": "x86_64",
"OS": "Win32",
"OS_FAMILY": "Windows",
"OS_NAME": "Microsoft Windows",
"RELEASE": "8.4.1",
"BUILD_DATE": "Feb 17 2015",
"MEMORY_BITS": 64,
"FILE_OFFSET_BITS": 64
}


Hope it helps...
Cheers,
Helder
Re: Illegal operand error with window,/free [message #90907 is a reply to message #90904] Tue, 12 May 2015 05:03 Go to previous messageGo to next message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Tuesday, May 12, 2015 at 4:25:59 AM UTC-4, Helder wrote:

> I've tried this on win with 8.4.1 and did not get this problem:

Thanks. I suspect the problem only occurs on Unix and Mac systems when running from the command line (which is unavailable on Windows systems).
Re: Illegal operand error with window,/free [message #90908 is a reply to message #90907] Tue, 12 May 2015 05:13 Go to previous messageGo to next message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
On Tuesday, May 12, 2015 at 2:03:14 PM UTC+2, wlandsman wrote:
> On Tuesday, May 12, 2015 at 4:25:59 AM UTC-4, Helder wrote:
>
>> I've tried this on win with 8.4.1 and did not get this problem:
>
> Thanks. I suspect the problem only occurs on Unix and Mac systems when running from the command line (which is unavailable on Windows systems).

I ran IDL from the command line in windows. In my case:
- open command prompt (windows key + r --> cmd)
- got to the idl directory, in my case
cd "\Program Files\Exelis\IDL84\bin\bin.x86_64"
- rund idl by typing idl

Maybe what you meant is that it is more difficult or not usual to run programs from the command line in windows. Maybe, but I've used (a long time ago) intensive scripting (.bat files in windows) to run idl code.

And I can confirm that from the command line on windows I do not get any errors when running windows, /free.

Cheers,
Helder
Re: Illegal operand error with window,/free [message #90909 is a reply to message #90908] Tue, 12 May 2015 05:47 Go to previous messageGo to next message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Tuesday, May 12, 2015 at 8:13:45 AM UTC-4, Helder wrote:

> Maybe what you meant is that it is more difficult or not usual to run programs from the command line in windows.

Yes. Sorry for assuming that Windows users don't use the command line.

So now I've tried it from the command line on my Linux system
{ x86_64 linux unix linux 8.4 Sep 27 2014 64 64}
and I *don't* see the *Illegal operand* error.

Thus, I have only seen the problem from my Mac, so far. Maybe there is something wrong with my X-windows setup (though I don't notice any other problems). --Wayne
Re: Illegal operand error with window,/free [message #90910 is a reply to message #90909] Tue, 12 May 2015 06:19 Go to previous messageGo to next message
Burch is currently offline  Burch
Messages: 28
Registered: December 2013
Junior Member
On Tuesday, May 12, 2015 at 7:47:16 AM UTC-5, wlandsman wrote:
> On Tuesday, May 12, 2015 at 8:13:45 AM UTC-4, Helder wrote:
>

>
> Thus, I have only seen the problem from my Mac, so far. Maybe there is something wrong with my X-windows setup (though I don't notice any other problems). --Wayne

FWIW, I tried on my Mac (running Yosemite) and did not get an error.

$ idl
IDL Version 8.4, Mac OS X (darwin x86_64 m64). (c) 2014, Exelis Visual Information Solutions, Inc.

IDL> window, /free
IDL> !version
{
"ARCH": "x86_64",
"OS": "darwin",
"OS_FAMILY": "unix",
"OS_NAME": "MacOSX",
"RELEASE": "8.4",
"BUILD_DATE": "Sep272014",
"MEMORY_BITS": 64,
"FILE_OFFSET_BITS": 64
}
IDL>

-Jeff
Re: Illegal operand error with window,/free [message #90911 is a reply to message #90910] Tue, 12 May 2015 06:47 Go to previous messageGo to next message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Tuesday, May 12, 2015 at 9:19:10 AM UTC-4, Jeff B wrote:

>
> FWIW, I tried on my Mac (running Yosemite) and did not get an error.

Thanks. It turns out I get the error the first time I use any command requiring X-windows.

IDL> device,get_screen_size=xx
% Program caused arithmetic error: Floating illegal operand

so there must be something unusual about my X-Windows setup or screen (I use XQuartz 2.7.7 on Yosemite). Anyway it is a minor problem (an error message that appears once) so I will live with it for now.

--Wayne
Re: Illegal operand error with window,/free [message #90931 is a reply to message #90911] Thu, 14 May 2015 07:30 Go to previous messageGo to next message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
On Tuesday, May 12, 2015 at 7:47:25 AM UTC-6, wlandsman wrote:
> On Tuesday, May 12, 2015 at 9:19:10 AM UTC-4, Jeff B wrote:
>
>>
>> FWIW, I tried on my Mac (running Yosemite) and did not get an error.
>
> Thanks. It turns out I get the error the first time I use any command requiring X-windows.
>
> IDL> device,get_screen_size=xx
> % Program caused arithmetic error: Floating illegal operand
>
> so there must be something unusual about my X-Windows setup or screen (I use XQuartz 2.7.7 on Yosemite). Anyway it is a minor problem (an error message that appears once) so I will live with it for now.
>
> --Wayne

Hi Wayne,

For what it's worth, I see the same error message. I'm also using Quartz 277 on Yosemite, although I'm running IDL within the IDL Python Notebook (shameless plug for IDL 8.5).

I would ignore the error, since I have no idea how we would even attempt to fix it. :-)

-Chris
Re: Illegal operand error with window,/free [message #90932 is a reply to message #90931] Thu, 14 May 2015 09:54 Go to previous messageGo to next message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 5/14/15 8:30 AM, Chris Torrence wrote:
> For what it's worth, I see the same error message. I'm also using
> Quartz 277 on Yosemite, although I'm running IDL within the IDL
> Python Notebook (shameless plug for IDL 8.5).

Is this an iPython notebook plugin for IDL?

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
Re: Illegal operand error with window,/free [message #90951 is a reply to message #90932] Mon, 18 May 2015 12:12 Go to previous messageGo to next message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
On Thursday, May 14, 2015 at 10:53:08 AM UTC-6, Mike Galloy wrote:
> On 5/14/15 8:30 AM, Chris Torrence wrote:
>> For what it's worth, I see the same error message. I'm also using
>> Quartz 277 on Yosemite, although I'm running IDL within the IDL
>> Python Notebook (shameless plug for IDL 8.5).
>
> Is this an iPython notebook plugin for IDL?
>
> Mike
> --
> Michael Galloy
> www.michaelgalloy.com
> Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)

Yep.
Re: Illegal operand error with window,/free [message #90957 is a reply to message #90951] Mon, 18 May 2015 23:50 Go to previous message
Fabzi is currently offline  Fabzi
Messages: 305
Registered: July 2010
Senior Member
On 05/18/2015 09:12 PM, Chris Torrence wrote:
>>> For what it's worth, I see the same error message. I'm also using
>>>> >Quartz 277 on Yosemite, although I'm running IDL within the IDL
>>>> >Python Notebook (shameless plug for IDL 8.5).
>>>
>>> Is this an iPython notebook plugin for IDL?
>>>
> Yep.

Great news!

Fabien
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Distance between coordinates
Next Topic: Suppress print statement from nested procedures

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

Current Time: Wed Oct 08 11:53:37 PDT 2025

Total time taken to generate the page: 0.00820 seconds