Illegal operand error with window,/free [message #90901] |
Mon, 11 May 2015 10:24  |
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   |
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 #90908 is a reply to message #90907] |
Tue, 12 May 2015 05:13   |
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 #90910 is a reply to message #90909] |
Tue, 12 May 2015 06:19   |
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 #90931 is a reply to message #90911] |
Thu, 14 May 2015 07:30   |
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 #90957 is a reply to message #90951] |
Mon, 18 May 2015 23:50  |
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
|
|
|