FileNotFoundError: ANSI64.dll
oMyqMQ0I70mnbnUk opened this issue · 4 comments
"ytmusic-deleter-1.4.0.exe"
NotADirectoryError: [WinError 267] The directory name is invalid
Traceback (most recent call last):
File "PyInstaller\loader\pyimod04_ctypes.py", line 77, in init
File "ctypes_init_.py", line 374, in init
FileNotFoundError: Could not find module 'C:\Users\ADMINI~1\AppData\Local\Temp_MEI1653082\ansicon\ANSI64.dll' (or one of its dependencies). Try using the full path with constructor syntax.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "ytmusic_deleter\cli.py", line 15, in
File "enlighten\manager.py", line 55, in get_manager
File "enlighten_manager.py", line 70, in init
File "enlighten_basemanager.py", line 74, in init
File "blessed\terminal.py", line 170, in init
File "jinxed\win32.py", line 337, in get_term
File "ansicon_init_.py", line 52, in load
File "PyInstaller\loader\pyimod04_ctypes.py", line 79, in init
pyimod04_ctypes.install..PyInstallerImportError: Failed to load dynlib/dll 'C:\Users\ADMINI~1\AppData\Local\Temp\_MEI1653082\ansicon\ANSI64.dll'. Most likely this dynlib/dll was not found when the application was frozen.
[166384] Failed to execute script 'cli' due to unhandled exception!
This issue is stale because it has been open for 30 days with no activity.
I apologize, I don't remember getting an email notification for this Issue at all, and I'm usually pretty vigilant about checking my GitHub notification emails!
I would first give the 1.4.1 exe a try (instead of 1.4.0) and if the issue still persists on that version, I might be able to fix it in a 1.4.2 release
Relevant post for me to look at when I'm fixing it: https://stackoverflow.com/a/67855772/1186464
FYI (not that it matters but...) the NotADirectoryError
is unrelated -- it's the FileNotFoundError
causing the problem.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.