Package: python3-srp
Version: 1.0.4-1.1+b2
Severity: serious
User: [email protected]
Usertags: python-import

After installing python3-srp importing the module srp
into a python interpreter fails with the following error:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/srp/__init__.py", line 12, in <module>
    import srp._ctsrp
  File "/usr/lib/python3/dist-packages/srp/_ctsrp.py", line 141, in <module>
    dlls.append( ctypes.cdll.LoadLibrary('libssl.so') )
  File "/usr/lib/python3.6/ctypes/__init__.py", line 426, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python3.6/ctypes/__init__.py", line 348, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libssl.so: cannot open shared object file: No such file or directory

The vast majority of import failures is attributed to missing dependencies.
Often times that manifests as an ImportError or ModuleNotFoundError.
Typically, dependencies should be inserted by dh-python via ${python:Depends}
or ${python3:Depends}. Thus a missing dependency can be caused by incomplete
install_requires in setup.py. Sometimes a missing dependency of a dependency
is the cause, in such cases this bug should be reassigned.

Helmut

Reply via email to