Re: IDLBridge problem with unknown ExecuteTimer method [message #89910 is a reply to message #89909] |
Tue, 23 December 2014 12:25  |
trisb
Messages: 18 Registered: November 2010
|
Junior Member |
|
|
Yes, IDL_PATH is set to the correct IDL directory (/Applications/exelis/idl83).
Cheers,
F.
On Tuesday, December 23, 2014 3:01:29 PM UTC, rryan%s...@gtempaccount.com wrote:
> This sounds fishy. To my knowledge, there is nothing in astrolib which should affect IDL_IDLBridge. In fact, it is the first thing in my IDL_PATH variable.
>
> Check to see if you have the IDL_DIR variable set. This should be pointing the IDL directory, and I don't think you're supposed to have the idl install functions in the IDL_PATH.
>
> Russell
>
>
> On Tuesday, December 23, 2014 7:19:38 AM UTC-5, trisb wrote:
>> Thanks for your suggestion. I think I solved the problem. To start off, the IDL lib directory was in my IDL path. However, the IDL astrolib path was up before the native library. Once reversing the path order, everything worked fine. Note that it was only the astrolib that caused the issues. My own library which is still ahead of the native IDL lib does not interfere.
>>
>> Cheers,
>> F.
>>
>>
>>
>>
>>
>>
>> On Tuesday, December 23, 2014 2:31:49 AM UTC, Chris Torrence wrote:
>>> On Monday, December 22, 2014 7:59:55 AM UTC-7, trisb wrote:
>>>> Hello everyone,
>>>>
>>>> over the last week I have been struggling with a IDLBridge problem that neither google nor any forum could help with. I am using IDL8.3 on a MacPro, OSX 10.9.5. The problem can be boiled down to this very simple lines of code:
>>>>
>>>> cproc = obj_new('IDL_IDLBridge',output='')
>>>> cproc->execute,'print,"Hello world"'
>>>> cproc->execute,'print,"Hello world"',/nowait
>>>>
>>>> The first execute line works perfectly fine. The second one with the /nowait keyword results in an error:
>>>> % Attempt to call undefined method: 'IDL_IDLBRIDGE::ExecuteTimer'.
>>>>
>>>> I could reproduce the error on IDL8.4 on the same setup, as well as on a MacBook Pro on 10.10 with IDL8.3. The error could not be reproduced on the leaky IDL7.2 on an (unknown) Unix flavour.
>>>>
>>>> Does anyone have a solution or explanation of the problem?
>>>>
>>>> Cheers,
>>>> F.
>>>
>>> Check to see if you have IDL's lib directory on your IDL path:
>>>
>>> IDL> routine_info('idl_idlbridge::executetimer',/source)
>>> {
>>> "NAME": "IDL_IDLBRIDGE::EXECUTETIMER",
>>> "PATH":
>>> " /Applications/exelis/idl84/lib/bridges/idl_idlbridge__execut etimer.sav "
>>> }
>>>
>>> Cheers,
>>> Chris
|
|
|