Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

rellib macro says library is successfully (re)loaded for non existing libraries #1697

Open
gjover opened this issue Sep 27, 2021 · 0 comments

Comments

@gjover
Copy link

gjover commented Sep 27, 2021

Even if the library does not exists, the macro returns the same message

Door_BL09 [10]: rellib adsfg
adsfg successfully (re)loaded

In the log one can see the error

Invalid module adsfg
raceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sardana/sardanamodulemanager.py", line 192, in isValidModule
    mfile, pathname, desc = imp.find_module(module_name, path)
  File "/usr/lib/python3.5/imp.py", line 296, in find_module
    raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'adsfg'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant