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
Current state of show-available-fonts branch doesn't run on Windows #1108
Comments
This is the first report that shows the limitation mentioned in the second paragraph of the installation instruction is actually accurate:
The background for this is that a Frescobaldi "installation" on Windows consists of two parts:
The Python files (1.) are those that can be replaced with the Git repository and that will be updated through the Git commands. The Python distribution is bundled during the process of building a binary Windows release. This bundling pulls and bundles all Python modules that are used by the application. As a consequence the Windows version will fail with exactly the reported error as soon as the code in the Git repository tries to import a Python module that had not been required at the moment when the Windows binary was compiled. This means the only useful solution is to rebuild the Windows binary release. Unfortunately I don't know how this is actually done and if it can reasonably be done on the user's computer. AFAICS it is done by running the script I will update the installation instructions and try to get the necessary information. |
Ah, that's why it felt so familiar: #1093 |
I just realized the issue at hand is probably something different. I see that you are using Python 3.5, and the Since the use of this feature is completely unimportant and doesn't warrant requiring a higher Python version (that wouldn't be available in many reasonably current Linux distros either) I can easily change the code to avoid using it. When I have the chance to do so later today I'll post an update and would ask you to test again. Note that this should also affect the NOTE: This doesn't make the need for a way to build Windows installations obsolete. |
This has been added in Python 3.6, so a reasonable number of users might get problems. auto() is really not needed, so it can be removed. closes #1108
OK. So presumably the only way around this is to somehow obtain a new "binary release" of a newer state of the repository. Thoughts on this have already started but I can't tell you when there will be a step-by-step guide to "build" Frescobaldi on Windows, sorry. |
Too bad. Well, I guess I'll have to try and build a Frescobaldi binary for Windows. Could be a nice challenge for the weekend |
I'm pretty sure this one is obsolete by now. If Windows problems pop up during preparation of the next release they'll probably be different anyway. |
Maybe the issue is also that the freeze script only bakes python modules in the installer that are actually used. See windows/freeze.py. So updating the source files is not enough, freeze should be run as well to create a new self-contained installer. |
Frescobaldi crashes during start up. Running on WIndows 10. I attached a screenimage of the error message
The text was updated successfully, but these errors were encountered: