Re: setting the path for READ_DICOM [message #36026] |
Sun, 10 August 2003 07:27  |
Kenneth P. Bowman
Messages: 585 Registered: May 2000
|
Senior Member |
|
|
In article
<0001HW.BB5B1DD300031BFEF0080600@news-server.houston.rr.com>,
Patrick Ford <pford@bcm.tmc.edu> wrote:
> Thanks, that did the trick, However, in keeping in my long tradition of
> breaking something else while I am trying to fix something, I now have a
> problem with the DLM path.
>
> IDL> print, !DLM_PATH
> /usr/local/rsi/idl_6.0/bin/bin.darwin.ppc
>
> which is corrrect but when I try and access a DLM file I get
>
> % PFXOVER: Error loading sharable executable.
> Symbol: IDL_Load, File = /Volumes/A/IDLtoPFgenLib.so
> No such file or directory
> % Execution halted at: CX 123 /Volumes/A/Kling GA/pFord
> Folder/cx1a.pro
>
> I can get around this my putting a copy of IDLtoPFgenLib.so on /Volumes/A/
> but how do I fix this?
>
> Regards
>
> Patrick Ford, MD
>
Did your !DIR variable get changed to '/Volumes/A/'?
As best I can tell, FILEPATH does not change any system variables, it
only returns a string with the path in it, so I'm not sure how anything
got broken.
Ken
|
|
|
Re: setting the path for READ_DICOM [message #36027 is a reply to message #36026] |
Sat, 09 August 2003 19:51   |
Patrick V. Ford
Messages: 14 Registered: February 1997
|
Junior Member |
|
|
On Sat, 9 Aug 2003 17:39:46 -0500, Kenneth P. Bowman wrote
(in message <kpb-F32699.17394509082003@corp.supernews.com>):
> In article <c857619b.0308091217.596409b3@posting.google.com>,
> pford@bcm.tmc.edu (Patrick Ford) wrote:
>
>> /Volumes/A/00130.DCM
>>
>> I am trying to open it using the following:
>>
>> img = READ_DICOM(FILEPATH('00130.DCM', SUBDIR=['Volumes', 'A']))
>
>> READ_DICOM: The file /usr/local/rsi/idl_6.0/Volumes/A/00130.DCM is not
>> in a supported DICOM format.
>
>
> img = READ_DICOM('/Volumes/A/00130.DCM')
>
> or
>
> img = READ_DICOM(FILEPATH('00130.DCM', SUBDIR=['Volumes', 'A'], $
> ROOT_DIR= '/'))
>
> should do the trick.
>
> Ken Bowman
Thanks, that did the trick, However, in keeping in my long tradition of
breaking something else while I am trying to fix something, I now have a
problem with the DLM path.
IDL> print, !DLM_PATH
/usr/local/rsi/idl_6.0/bin/bin.darwin.ppc
which is corrrect but when I try and access a DLM file I get
% PFXOVER: Error loading sharable executable.
Symbol: IDL_Load, File = /Volumes/A/IDLtoPFgenLib.so
No such file or directory
% Execution halted at: CX 123 /Volumes/A/Kling GA/pFord
Folder/cx1a.pro
I can get around this my putting a copy of IDLtoPFgenLib.so on /Volumes/A/
but how do I fix this?
Regards
Patrick Ford, MD
|
|
|
|
Re: setting the path for READ_DICOM [message #36172 is a reply to message #36027] |
Thu, 14 August 2003 05:51  |
btt
Messages: 345 Registered: December 2000
|
Senior Member |
|
|
Patrick Ford wrote:
> On Sat, 9 Aug 2003 17:39:46 -0500, Kenneth P. Bowman wrote
> (in message <kpb-F32699.17394509082003@corp.supernews.com>):
>
>
>> In article <c857619b.0308091217.596409b3@posting.google.com>,
>> pford@bcm.tmc.edu (Patrick Ford) wrote:
>>
>>
>>> /Volumes/A/00130.DCM
>>>
>>> I am trying to open it using the following:
>>>
>>> img = READ_DICOM(FILEPATH('00130.DCM', SUBDIR=['Volumes', 'A']))
>>
>>> READ_DICOM: The file /usr/local/rsi/idl_6.0/Volumes/A/00130.DCM is not
>>> in a supported DICOM format.
>>
>>
>> img = READ_DICOM('/Volumes/A/00130.DCM')
>>
>> or
>>
>> img = READ_DICOM(FILEPATH('00130.DCM', SUBDIR=['Volumes', 'A'], $
>> ROOT_DIR= '/'))
>>
>> should do the trick.
>>
>> Ken Bowman
>
>
> Thanks, that did the trick, However, in keeping in my long tradition of
> breaking something else while I am trying to fix something, I now have a
> problem with the DLM path.
>
> IDL> print, !DLM_PATH
> /usr/local/rsi/idl_6.0/bin/bin.darwin.ppc
>
> which is corrrect but when I try and access a DLM file I get
>
> % PFXOVER: Error loading sharable executable.
> Symbol: IDL_Load, File = /Volumes/A/IDLtoPFgenLib.so
> No such file or directory
> % Execution halted at: CX 123 /Volumes/A/Kling GA/pFord
> Folder/cx1a.pro
>
> I can get around this my putting a copy of IDLtoPFgenLib.so on /Volumes/A/
> but how do I fix this?
>
Hello,
I haven't had this problem and I am also on a mac IDL6.0. Can you confirm the
the library and the module definition file are in the !DLM_PATH? You might try...
HELP, /DLM
to ensure that the dlm parts (*.so and *.dlm) are recognized/found? Don't
forget to reset your session (.full_reset_session) if you have modified the DLM
during a given session.
You might also try to manually force the dlm to load with
DLM_LOAD, 'IDLtoPFgenLib'
but I would expect it to fail since the automatic loading fails. If the HELP
routine finds the DLM parts but it won't load, then it must be your external
code that has a problem (groan).
Ben
|
|
|