Commit d9a7c19b authored by Michael Davidsaver's avatar Michael Davidsaver

more logging from DSO search process

parent eada792f
...@@ -6,6 +6,8 @@ Release Notes ...@@ -6,6 +6,8 @@ Release Notes
2.4 (UNRELEASED) 2.4 (UNRELEASED)
---------------- ----------------
* More logging from DSO search process.
2.3 (Aug 2021) 2.3 (Aug 2021)
-------------- --------------
......
...@@ -154,8 +154,8 @@ class dso2libmixin: ...@@ -154,8 +154,8 @@ class dso2libmixin:
dsobase = os.path.dirname(import_module(parts[0]).__file__) dsobase = os.path.dirname(import_module(parts[0]).__file__)
dsodir = os.path.join(dsobase, *parts[1:-1]) dsodir = os.path.join(dsobase, *parts[1:-1])
dsosearch.append(dsodir) dsosearch.append(dsodir)
except ImportError: except ImportError as e:
pass log.debug("Can't find %s: %s"%(parts, e))
for candidate in dsosearch: for candidate in dsosearch:
C = os.path.join(candidate, libname) C = os.path.join(candidate, libname)
...@@ -166,7 +166,7 @@ class dso2libmixin: ...@@ -166,7 +166,7 @@ class dso2libmixin:
sodirs.append(candidate) sodirs.append(candidate)
break break
else: else:
raise RuntimeError("Unable to find DSO %s needed by extension %s"%(dso, ext.name)) raise RuntimeError("Unable to find DSO %s needed by extension %s in %s"%(dso, ext.name, dsosearch))
solibs.append(parts[-1]) solibs.append(parts[-1])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment