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

Home » Public Forums » archive » Logical links cause EXPAND_PATH() to hang
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Logical links cause EXPAND_PATH() to hang [message #93095] Tue, 26 April 2016 11:08 Go to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
I was trying to add a directory and all subdirectories to my !PATH under IDL 8.5 in Linux, by the usual method of adding a '+' in front of the directory name, e.g. expand_path('+/users/wlandsma/pro')

But expand_path() would just hang, forcing me to kill the IDL session. I eventually tracked the problem to the presence of symbolic links. For example there was a 'pr3' link created with

ln -s /data2/wlandsma/pr3 pr3

Evidently this causes an infinite loop, as IDL keeps trying to expand the logical link. I think this is a bug. My current workaround is to manually add all 10 subdirectories.
[Message index]
 
Read Message
Read Message
Previous Topic: Stop a hanging execution
Next Topic: contour plot irregular data within a polygon

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

Current Time: Wed Oct 08 13:54:49 PDT 2025

Total time taken to generate the page: 0.00390 seconds