-
Notifications
You must be signed in to change notification settings - Fork 997
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
release_windows.bat produces broken pronterface.exe #1300
Comments
This version is outdated and have several little problems with Windows 10/11. In addition it is maybe a good idea to switch to Python 3.10 For the meantime you may try to use the version of my repository. I did some fixes regarding known problems, add some pull requests and adjustments related to Python 3.10 and wxPython 4.2. All differences and the link to the artifact files (on the bottom of the wiki page) are listed here: For cloning: |
@DivingDuck Thanks for your suggestion, but unfortunately it didn't help -- I've installed python 3.10, built testPython3.10 branch but still getting the same error. I was thinking that may be it's my environment problem, but reinstalling C compiler environment didn't help either, so not sure what could be problem. Overall it's pretty much stock Windows 11 virtual machine, without much customization. Build log: https://pastebin.com/eBGbMB91 |
I see two things:
In addition I saw:
This will clone the repository into the project folder. The second command is used for updating the submodule in case I release a new version. The repository provides some needed GTK3 library files used for the projector feature used in projectlayer.py |
Thank you, somehow I've overlooked logging error info in the notes, however I caught it also with kliment/Printrun. Regarding Cairo -- did a clean rebuild (deleted v3), and still got the same logging regarding it. But not sure it actually has any user-visible side-effects so all good. GTK submodule has been fetched already. |
Overall testPython3.10 branch actually works when it comes to pronterface.exe generation. With master from this repo I was constantly experiencing bizarre bugs, not seen when running pronterface.py (it's a printrun fork with some more dependent libraries). |
That's correct and intended as I was waiting for a pull request. The branch testPython310 is my actual branch. It includes corrections regarding wxPython, pyglet and things I forgot already (but listed in the wiki page ). In addition it includes a separate windows action chain for both test- and testPython310 branch. I don't want to establish a second alternative version of this repository here. My repository is only a snapshot of what I am using and is tested for Windows only. Usable as a temporary solution. The original version here is the one and only main repository. (This is why I do not want to make own releases) |
Fix was merged in 0c296ba so I'm closing this issue. Please do re-open if I got that wrong. |
The issue is still there, exactly as described in the first comment. Unless I missed something in @DivingDuck commit log, there's no fix for it, only a workaround to set 'Log path' to a writable location. |
Yes, the logging issue is still there, thanks for the reminder, Sorry, I forgot this one. I reopen the issue and close it when I'm done with the correction (hopefully today). It turns out this wasn't a problem with Pronterface or with release_windows.bat but with the actual version of pyInstaller 5.7.0. They change it's behavior for at least windows operating systems in a way that it breaks the code as you and two other user had recognize in their installation. I wonder if this happen for OSX as well. The generation of windows binaries is working now for the branch here since we merged in all my changes here. With the workaround it should work for now. Anyway I nailed down the problem yesterday evening and there will be an update from me soon. @rockstorm101, I will refer to the issue here for the update. |
… not existing logging path that crashes the windows application due do a change in pyInstaller v5.7.0 (2022-12-04)
This issue should be solved as soon as pull request #1311 is approved. In the meantime you can try the very latest binary and let us know how it works for you. |
I'm building vanilla* Printrun (latest master), however when I open the resulting pronterface.exe and immediately try to close it (no 3D printing, no other actions at all), there's the following error printed and closing window doesn't work:
release_windows.bat log:
https://pastebin.com/ZYd8YeU6
Windows 11, python 3.7.8
The text was updated successfully, but these errors were encountered: