X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 14 May 2019 03:24 PM by  Ben Castellani
error using IDLPY with bin.x86_64\idl_xml.dll
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Luca Benenati



New Member


Posts:
New Member


--
02 May 2019 03:08 AM
    When I run a script python to run a sarscape task written using IDL, I receive the following error:
    Traceback (most recent call last):
    File "C:/eoscripts/sar-data-processing/sentinel_sarscape_import_idl.py", line 155, in <module>
    main()
    File "C:/eoscripts/sar-data-processing/sentinel_sarscape_import_idl.py", line 150, in main
    sentinel_import(inputFile, output_dir, AOI)
    File "C:/eoscripts/sar-data-processing/sentinel_sarscape_import_idl.py", line 117, in sentinel_import
    IDL.run('e = ENVI(/HEADLESS)')
    File "C:\Program Files\Harris\ENVI55\IDL87\lib\bridges\idlpy.py", line 502, in run
    raise IDLError('\n' + output)
    idlpy.IDLError:
    % Restored file: ENVI.
    % Loaded DLM: IDLJSON.
    % OBJ_NEW: Error loading sharable executable.
    Symbol: IDL_Load, File = C:\Program Files\Harris\ENVI55\IDL87\bin\bin.x86_64\idl_xml.dll
    The specified procedure could not be found.
    % Execution halted at: $MAIN$
    But I cannot understand what is the nature of the problem

    Ben Castellani



    Basic Member


    Posts:130
    Basic Member


    --
    14 May 2019 03:24 PM
    The issue here is that your Python session is loading a DLL into memory that is also used by IDL (they have the same name), and they are clashing since IDL and Python share the same process-space through the bridge. Based on your error output, the issue is most likely with the Xerces library.

    If possible, make sure you do not load Xerces in Python before calling to IDL. The usual culprit for this incompatibility is the geopandas or fiona modules in Python.

    You are not authorized to post a reply.