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
Cura crashes on exit if language is not English #9837
Comments
Hi @pc-bastler thank you for your bug report. |
I have additional Information in the meantime: The issue happens when I work with my main user account (standard user), I upgraded the settings from 4.8 to the 4.9-branch. The issue does NOT happen when I work as administrator on the same Mac. As administrator I did not had Cura configured previously, so 4.9.1 was a "First Run" for this privileged User. I set it the the same settings as I made for my standard user. So the error could be caused by missing privileges or a problem with the migrated settings from 4.8. |
Deva see CURA-8245 for internal reference |
I've been seeing a fairly similar crash at exit on debian for a while. 4.8-4 installed via apt. Log attached. |
Same issue here. Tested on macOS 10.15.7 (Intel) and on 11.4 (Intel and M1). |
This one has been fixed in Cura 4.9. Or rather, it should have been. The problem occurs in your version 4.8 because it mismatches the wrong Qt version with Cura, one which wasn't supported yet at the time. |
It doesn't look like renaming the image is causing the issue. I installed Cura 4.9 (and later 4.9.1) over a previous version (probably 4.8.x) and with me Cura also consistently crashes when I exit the application. Errors and logging attached. MacBook Pro, Retina, 15 inch, Mid 2014, macOS Big Sur (11.4). Same behaviour: Cura works just fine, it's only when exiting that the crash occurs. |
Note that my case is not Mac-related. @Ghostkeeper you're saying Debian improperly built the 4.8 release they're still shipping? |
Meanwhile I swapped my Mac. With a "fresh install" I have the same problem, to summarize: Now I am working on Big Sur (Intel Mac), latest patches to the OS applied. |
In a way, yes. Cura 4.8 needs Qt 5.10, not Qt 5.15. On Qt 5.14 or later it would crash on exit. The Apt package says it needs PyQt >= 5.10, but that should be PyQt == 5.10, really. Of course they wouldn't do that, because that means that they would also need to somehow make sure that Qt 5.10 is still provided through Apt on those distributions, which is annoying for any maintainer. This sort of problem is one of the reasons why we went for AppImage instead. It's all quite irrelevant to the issue at hand here which is Cura 4.9 and Qt 5.15. For some people it's working fine, but for some people it's crashing on exit. I'm wondering if it's only crashing on exit sometimes, or is it consistently crashing for these people every time? |
For me it's crashing constantly on both machines (iMac 2013 with Catalina an MacBook 2013 with Big Sur). |
Same here: it’s crashing consistently on exit. |
Was turning mad when found this ... same here with Catalina 10.15.7 |
I think, that I might have figured out, what is causing this (at least in macOS): It seems to be a localization issue. If your Cura installation is set to "Deutsch" and you would like to set it to "English", then please first set the language in the Cura Settings. Then go to the Marketplace and enable or disable a Plugin of your choice. Then click onto "Quit Cura" in the Marketplace window. Only then Cura seems to properly save the settings and will use english language on the next launch. After that it seems to quit properly, but only as long as it is set to "English". |
I can confirm that setting the language to English and closing Cura through the Marketplace has solved the issue for me as well, in both Cura 4.9.1 and 4.10. I had the language set to "Nederlands" (Dutch). |
The problem seems to be caused by a mixup in the Cura Mac menu bar in (at least some of the) non-english versions. When I launch Cura 4.10 in german language, then the Menu bar looks like this: The "Ultimaker Cura" Menu in english: The "Ultimaker Cura" Menu in german: The "File" Menu in english: The "File" Menu ("Datei") in german: Please note the last menu entry. When I launch Cura 4.10 in english language, then the "Preferences" (Cura settings) are located in the "Ultimaker Cura" menu. |
MacOS automatically moves all application menu entries that it recognises to its custom "Ultimaker Cura" entry. Cura adds the menu entries to the File menu, but MacOS says no, I'm gonna move it there instead. This is very annoying because MacOS seems to just trigger on several words like "settings", "preferences", "quit", etc. For instance, it moved the Settings Guide menu entry of my plug-in there too because it contains the word "settings". I had to replace the S with a Cyrillic character that happens to look the same to fix that. I don't think that causes Cura to crash on exit though. The menu entry is only one of the ways to quit Cura. There's also the X button on the main window, and several buttons inside the interface itself such as after you've installed a new plug-in from the Marketplace. The application menu entry is just a button that triggers the same action. Evidence is against me though. I'll ask a QA engineer (on MacOS) to verify whether it depends on the language anyway. |
It's been confirmed that the language setting causes this! Strange, but true! |
Thank you for confirming. Here is what I experience: Quit Cura 4.10 (set to Deutsch) by ... Menubar > Ultimaker Cura > Quit Ultimaker Cura = crash |
This issue has been fixed for version 4.11. |
Application Version
4.9.1
Platform
macOS 10.15.7
Printer
Creality Ender 3V2
Reproduction steps
I copied the Program from the downloaded DMG to my programs folder, keeping my previous installation of Cura (4.8), so Cura 4.9.1 gets automatically renamed to "Ultimaker Cura 2".
Then I start Cura 4.9.1 and Quit the program (it is not necessary to change any settings or work in the program to reproduce the error).
The same issue already happened with Cura 4.9.0 (4.8 works fine).
Actual results
The program crashes with the attached error.
error.txt
cura.log
Expected results
The program exits without any error.
Checklist of files to include
Additional information & file uploads
The code gets created without any issues when using 4.9.1, it is just the program exit that is faulty.
The logs are attached above at "Actual Results".
The text was updated successfully, but these errors were encountered: