Skip to content

Cura problems on Fedora 27: Solved

I recently installed a nice fresh version of Fedora 27 beta. Almost everything worked perfectly out of the box: Steam, VirtualBox, Master PDF Editor, my current favourite browser, “Brave“, that one Windows application I still use under Wine.

Unfortunately there was one program that just wouldn’t start; cura. Cura is software for 3D printing that takes a 3D model file, and prepares it for use in a 3D printer by slicing it into a series of very thin layers. Cura would start to load, then crash with a segmentation fault.

[root@localhost pete]# cura
Fatal Python error: Segmentation fault

Thread 0x00007f70ce3d8700 (most recent call first):
 File "/usr/lib/python3.6/site-packages/UM/Backend/Backend.py"...
 File "/usr/lib64/python3.6/threading.py", line 864 in run
 File "/usr/lib64/python3.6/threading.py", line 916 in _bootstrap_inner
 File "/usr/lib64/python3.6/threading.py", line 884 in _bootstrap

Thread 0x00007f70cebd9700 (most recent call first):
 File "/usr/lib/python3.6/site-packages/UM/Backend/Backend.py"...
<lots of crap snipped from here>

Current thread 0x00007f714d920740 (most recent call first):
 File "/usr/lib/python3.6/site-packages/UM/Qt/Bindings/MainWindow.py"...
 File "/usr/lib/python3.6/site-packages/UM/Qt/QtApplication.py"...
 File "/usr/lib/python3.6/site-packages/cura/CuraApplication.py"...
 File "/usr/bin/cura", line 82 in <module>
Segmentation fault (core dumped)

I searched online for this, and found some similar problems, but the solutions didn’t work for me. Every time I got any updates from Fedora, I would try to start cura again, and each time I would get the same error. Fedora 27 moved from beta to released, and still cura did not work.

So this morning as I was about to leave for work, I wondered if it was a Python/Qt issue (based on the error messages), so I quickly tried:

[root@localhost pete]# dnf install python3-qt*

And, Success!

Seems that there is a dependency for cura (or a dependency of a dependency) that DNF is not aware of. I haven’t figured out which package was required, and I don’t particularly care, but if I ever go back and check I will add an update here.

Anyway, posting this in the hope this helps someone else.

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*