Issue with Larch interacting with other software
Hi All, Apologies if this has been brought up previously but I wanted to see if anyone else has had some issues with other software installed on the computer interacting with Larch (particularly XAS Viewer) and resulting in Larch no longer functioning. A couple of colleagues/students have been running into this issue with the SEM software AZtec. The error code that has been reported is (I'm not sure how helpful this is): 'Entry Point Not Found - The procedure entry point H5Literate could not be located in the dynamic link library C:\Program Files\Oxford Instruments NanoAnalysis\AZtec\x64\HDF5_hl.dll.' If anyone has any suggestions for resolving this (without having to run two separate computers for each software which is our current work around) it'd be thoroughly appreciated. All the best, Luke -- Dr Luke Townsend | Research Associate | MinSoc Environmental Mineralogy Group Early Career Representative & Newsletter Editor | Department of Materials Science & Engineering | The University of Sheffield | S1 3JD | +44(0)7464724397 | Twitter: @LukeTTownsend *I may sometimes send emails outside of standard office hours as this suits my working habits. Please note I do not expect an out of hours response in return.* *Latest research:* Cr2+ solid solution in UO2 evidenced by advanced spectroscopy ( https://doi.org/10.1038/s42004-022-00784-3) Sulfidation and Reoxidation of U(VI)-Incorporated Goethite: Implications for U Retention during Sub-Surface Redox Cycling ( https://doi.org/10.1021/acs.est.2c05314)
Hi Luke,
On Thu, Apr 13, 2023 at 5:58 AM Luke Townsend
Hi All,
Apologies if this has been brought up previously but I wanted to see if anyone else has had some issues with other software installed on the computer interacting with Larch (particularly XAS Viewer) and resulting in Larch no longer functioning. A couple of colleagues/students have been running into this issue with the SEM software AZtec.
The error code that has been reported is (I'm not sure how helpful this is):
'Entry Point Not Found - The procedure entry point H5Literate could not be located in the dynamic link library C:\Program Files\Oxford Instruments NanoAnalysis\AZtec\x64\HDF5_hl.dll.'
If anyone has any suggestions for resolving this (without having to run two separate computers for each software which is our current work around) it'd be thoroughly appreciated.
Hmm, Sorry for the trouble. I don't know what would cause that. It *should be* that (by default) Larch installs its own Python interpreter and a full stack of libraries and never looks or notices if there happens to be some other Python environment installed. You *can* install it into an existing Python environment -- that is allowed and not even really discouraged, but it is sort of "advanced usage" in that it at least opens up the possibility of conflicts. That error message looks like Python is somehow seeing the HDF5 library files from the Oxford AZtec installation. I don't know why it would find that. I might suggest a few things in the "testing why this could be" and a couple in the "workaround" category. First, to track down why this happens, If you open a Python interpreter (or even a "Larch CLI buffer", if that can run) you could try this: import h5py print(h5py.__version__) print(h5py.__file__) For "workaround", first can you confirm what the Larch installation folder is? Like, did you install from the installer to C:\Users\<UserName>\AppData\xraylarch or something similar? Have you tried re-installing Larch? I'm not certain that will help.... You might also check if there is some environmental variable that points or that AZtec folder. I think that H5PY does not use environmental variables, so I'm not sure what to look for here. But, you might just check what "PATH" is, and maybe adjust that (maybe removing references to AZtec, at least temporarily, or for a "launcher batch file" for Larch / XAS Viewer). I hope that gives a few things to try that will help, --Matt
participants (2)
-
Luke Townsend
-
Matt Newville