Nuitka UPX plugin can't handle NotCompressibleException
See original GitHub issueNuitka can’t handle NotCompressibleException
When UPX detect low compresion ratio, it may throw NotCompressibleException
Nuitka-Plugins:INFO: upx: Uncached file, compressing 'api-ms-win-crt-runtime-l1-1-0.dll' may take a while.
upx: C:\Users\home\Desktop\Python\1\Yashmak.dist\api-ms-win-crt-runtime-l1-1-0.dll: NotCompressibleException
Traceback (most recent call last):
File "C:\Users\Home\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\__main__.py", line 137, in <module>
main()
File "C:\Users\Home\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\__main__.py", line 123, in main
MainControl.main()
File "C:\Users\Home\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\MainControl.py", line 963, in main
copyDllsUsed(
File "C:\Users\Home\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\freezer\Standalone.py", line 1433, in copyDllsUsed
Plugins.onCopiedDLLs(dist_dir=dist_dir, used_dlls=used_dlls)
File "C:\Users\Home\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\plugins\Plugins.py", line 415, in onCopiedDLLs
plugin.onCopiedDLL(
File "C:\Users\Home\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\plugins\standard\UpxPlugin.py", line 122, in onCopiedDLL
self._compressFile(filename=dll_filename, use_cache=not self.upx_nocache)
File "C:\Users\Home\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\plugins\standard\UpxPlugin.py", line 102, in _compressFile
check_call(
File "C:\Users\Home\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\utils\Execution.py", line 141, in check_call
subprocess.check_call(*popenargs, **kwargs)
File "C:\Users\Home\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\\Users\\Home\\Desktop\\Python\\upx.exe', '-q', '--no-progress', 'C:\\Users\\home\\Desktop\\Python\\1\\Yashmak.dist\\api-ms-win-crt-runtime-l1-1-0.dll']' returned non-zero exit status 1.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
UPX NotCompressibleException - Stack Overflow
UPX cannot handle binaries under 40Kb. The best way to workaround this problem is to compile your binary in static mode, in order...
Read more >Nuitka - bytemeta
Nuitka repo issues. ... RuntimeError: No suitable plugin registered for imread when using ... Nuitka UPX plugin can't handle NotCompressibleException.
Read more >Nuitka UPX plugin can't handle NotCompressibleException ...
Nuitka UPX plugin can't handle NotCompressibleException issue from Nuitka/Nuitka github repository.
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
Somebody didn’t read the part for screenshots, though. Strange that I didn’t have this yet, but I take it can happen.
Part of 0.8 release that I just made.