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

Home » Public Forums » archive » IDLBridge problem with unknown ExecuteTimer method
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
IDLBridge problem with unknown ExecuteTimer method [message #89906] Mon, 22 December 2014 06:59 Go to next message
trisb is currently offline  trisb
Messages: 18
Registered: November 2010
Junior Member
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.
Re: IDLBridge problem with unknown ExecuteTimer method [message #89907 is a reply to message #89906] Mon, 22 December 2014 18:31 Go to previous messageGo to next message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
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
Re: IDLBridge problem with unknown ExecuteTimer method [message #89908 is a reply to message #89907] Tue, 23 December 2014 04:19 Go to previous messageGo to next message
trisb is currently offline  trisb
Messages: 18
Registered: November 2010
Junior Member
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
Re: IDLBridge problem with unknown ExecuteTimer method [message #89909 is a reply to message #89908] Tue, 23 December 2014 07:01 Go to previous messageGo to next message
rryan%stsci.edu is currently offline  rryan%stsci.edu
Messages: 16
Registered: October 2014
Junior Member
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
Re: IDLBridge problem with unknown ExecuteTimer method [message #89910 is a reply to message #89909] Tue, 23 December 2014 12:25 Go to previous message
trisb is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL - freeing up used memory?
Next Topic: Nested data structures

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

Current Time: Wed Oct 08 07:16:56 PDT 2025

Total time taken to generate the page: 0.00479 seconds