Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType #4

Open
fleef-ru opened this issue May 15, 2022 · 0 comments

Comments

@fleef-ru
Copy link

arch.extractFiles()

/D/p/c/p/t/EXE2PY-Decompiler [master]× » py37 pyinstxtractor.py "exe/.exe" -1- 20:16:17
pyinstxtractor.py:87: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
[>] Processing exe/
.exe
[>] Pyinstaller version: 2.1+
[>] Python version: 309
[>] Length of package: 26502589 bytes
[>] Found 1017 files in CArchive
[>] Beginning extraction...please standby
Traceback (most recent call last):
File "pyinstxtractor.py", line 367, in
main()
File "pyinstxtractor.py", line 359, in main
arch.extractFiles()
File "pyinstxtractor.py", line 251, in extractFiles
if not os.path.exists(EXTRACTION_DIR):
File "/usr/lib/python3.7/genericpath.py", line 19, in exists
os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant