-
Hello, for months now I have been unable to use a particular Pyinstaller GitHub action with it crashing every time. It runs Pyinstaller through Wine to create a Windows executable for the program. The error can be viewed here: https://github.com/NoelleTGS/osu-scorepost-generator/actions/runs/11669487563/job/33215076951 I didn't report this for quite a while because I'm not sure whether the issue is with Pyinstaller, the action code, my own code, Wine, the package trying to be imported, etc... but was hoping I could at least be directed to the right location through here. Feel free to ask if any other information is needed. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Looks like that python sub-process in which we are importing packages before binary dependency analysis crashes because it ends up calling CRT function that is not implemented by Wine:
So at its core, this is a Wine issue. As per
this happens when we try to import You can try to patch your copy of PyInstaller and add pyinstaller/PyInstaller/building/build_main.py Lines 264 to 279 in a2a6d1e That should skip importing |
Beta Was this translation helpful? Give feedback.
Looks like that python sub-process in which we are importing packages before binary dependency analysis crashes because it ends up calling CRT function that is not implemented by Wine:
So at its core, this is a Wine issue.
As per
this happens when we try to import
circleguard
.You can try to patch your copy of PyInstaller and add
circleguard
to thesuppressed_imports
list at the end of this block:pyinstaller/PyInsta…