With --onefile extraction can fail with programs already running
See original GitHub issue- Nuitka version
$ python -m nuitka --version
0.6.12.3
Python: 3.8.7 (tags/v3.8.7:6503f05, Dec 21 2020, 17:59:51) [MSC v.1928 64 bit (AMD64)]
Executable: C:\Program Files\Python38\python.exe
OS: Windows
Arch: x86_6
Installed via pip
Used libraries
firebase-admin==4.5.1
python-dateutil==2.8.1
PyNaCl==1.4.0
cffi==1.14.4
TgCrypto==1.2.2
Pyrogram==1.1.13
APScheduler==3.7.0
python-engineio==4.0.0
python-socketio==5.0.4
Rx==3.1.1
The file used to work on 0.6.12
and execute perfectly. It still build right, but when I try to execute, the following error happens:
$ ./main.exe
Assertion failed: target_file != INVALID_HANDLE_VALUE, file static_src\WindowsOnefile.c, line 374
The main.exe
inside main.dist
still works normaly, so probably it’s a --oneflie
error
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (7 by maintainers)
Top Results From Across the Web
PyInstaller error with PyQt when trying to build --onefile
When you run the --onefile, it just creates a wrapper that extract everything in the dir to a temporary directory and then run...
Read more >Using Spec Files - PyInstaller
These are loaded into the bootloader at startup of the application after they have been extracted (if the program has been packaged as...
Read more >PyInstaller Documentation - Read the Docs
In order to locate included files at run time, your program needs to be able to learn its ... Where to extract libraries...
Read more >Issues When Using auto-py-to-exe - Nitratine
This means something has gone wrong as it's giving you a visual warning about it; this is not an error, it's a warning;...
Read more >BackupYourSystem/TAR - Community Help Wiki
This subpage will acquaint a user with the tar archival program, ... To get started, please open up a terminal, in Ubuntu this...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You probably meant
--include-package-data=*
didn’t you.@kayhayen thats weird, it looks to me that it’s building like a plain
--standalone
inside.dist
. I guess I’ll not be able to use a o single file version while--onefile
give us this error