Message339219
WinDLL('./_sqlite3.dll') succeeds, which just delays the call to GetFullPathNameW to the CDLL constructor, so I don't see how the working directory is a factor. The difference I see is the lack of the LOAD_LIBRARY_SEARCH_DEFAULT_DIRS flag. Try including the individual flags (i.e. LOAD_LIBRARY_SEARCH_SYSTEM32, LOAD_LIBRARY_SEARCH_APPLICATION_DIR, LOAD_LIBRARY_SEARCH_USER_DIRS) one by one until it works.
We could enable loader snaps in the registry for the Python executable; run it as a debugger; and log the debug output to see exactly what the loader is failing to find and where it's searching. |
|
Date |
User |
Action |
Args |
2019-03-30 19:59:35 | eryksun | set | recipients:
+ eryksun, paul.moore, ncoghlan, vstinner, tim.golden, jkloth, lukasz.langa, eric.snow, zach.ware, mattip, steve.dower, ralf.gommers, pablogsal |
2019-03-30 19:59:35 | eryksun | set | messageid: <1553975975.47.0.69294307874.issue36085@roundup.psfhosted.org> |
2019-03-30 19:59:35 | eryksun | link | issue36085 messages |
2019-03-30 19:59:35 | eryksun | create | |
|