[issue25655] Python errors related to failures loading DLL's lack information

Philippe Ombredanne report at bugs.python.org
Tue Sep 22 10:26:56 EDT 2020


Philippe Ombredanne <pombredanne at nexb.com> added the comment:

Eric Smith, you wrote:

> My understanding is that Windows doesn't tell you which DLL is missing. I think the best we could do is append something to the error message saying "or one its dependencies".

If we have such an error message, this means the main DLL exists: the original path passed to ctypes exists and is a valid DLL otherwise the message would be different. 

So I think that this is always a direct or indirect dependency of that primary DLL that would be missing and we could be explicit in the error message.

We could also provide some hints in the error message on how to research the issue may be?

----------
nosy:  -altendky

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue25655>
_______________________________________


More information about the Python-bugs-list mailing list