-
Notifications
You must be signed in to change notification settings - Fork 51
Description
Affiliation
MIT PSFC
Version(s) Affected
Found in alpha-7-157-0 but surely applies to other versions too
Platform(s)
Windows 11
Installation Method(s)
Kits from GitHub Release
Describe the bug
On Windows, when using Python to import the MDSplus module, warning messages are displayed regarding the MDSplus libraries. These are a bit confusing because they indicate that something went wrong, but don't also display that find_library successfully loaded the *.dll files.
Also displaying a "successfully loaded library" message would be helpful. Doing so would involve a minor change to the python/MDSplus/version.py file.
> python3
>>> import MDSplus as mds
Issues loading MdsShr, trying find_library
Issues loading TreeShr, trying find_library
Issues loading TdiShr, trying find_library
Issues loading Mdsdcl, trying find_library
Issues loading MdsIpShr, trying find_library
Issues loading MdsMisc, trying find_library
To Reproduce
On a Windows computer, install Python, NumPy and the current MDSplus alpha. Then run Python and import MDSplus as shown above.
Expected behavior
In addition to the existing messages, also indicate when the libraries are successfully loaded.
Screenshots
n/a
Additional context
This is a cosmetic issue so should be given a low priority.