-
Notifications
You must be signed in to change notification settings - Fork 475
Pyinstaller packaging not working for version 4.52 #3531
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
Comments
Ha, I thought I might be the only one suffering from this. I fixed it here: This actually warrants a patch release. |
Oh, nice! My main motivation to open the issue was that I couldn't find anyone else running into this error, but i guess a few people will in the next days. I guess most projects have fonttools as some transitive dependency (from fpdf2 in my case) and being able to google that error message hopefully helps. Thanks for the incredibly quick fix and response! |
Right, it is clear that I underestimated the reach of this problem. @anthrotype, can you trigger a release? |
FWIW, using 369a213 my project is packaged correctly and runs as expected. |
I’m away from laptop right now, I can do it tomorrow, or else @khaledhosny can do |
I just released 4.52.2, should hit PyPI soon (hopefully). |
It’s been fixed upstream, see fonttools/fonttools#3531.
When updating an application that is packaged using pyinstaller to run on windows, upon application start the new logic to support the
VARC
tables produces this load time error.While i haven't investigated too far down, this is most likely related due to pyinstaller not being able to automatically find dynamically imported classes and not packaging them correctly at "build" time.
This error can be fixed here or in the pyinstaller project (as a new hooks in the pyinstaller-hooks-contrib repository). However, I struggle to find which classes are dynamically loaded in this case.
Downgrading to fonttools to 4.51 does not produce the issue.
The text was updated successfully, but these errors were encountered: