question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Nuitka UPX plugin can't handle NotCompressibleException

See original GitHub issue

Nuitka can’t handle NotCompressibleException When UPX detect low compresion ratio, it may throw NotCompressibleException 157877697-dd3bcfc9-b397-48fe-9667-8dfd260899f6

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:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kayhayencommented, Mar 11, 2022

Somebody didn’t read the part for screenshots, though. Strange that I didn’t have this yet, but I take it can happen.

0reactions
kayhayencommented, May 20, 2022

Part of 0.8 release that I just made.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found