Miro Hrončok 1941fbe90b
Avoid "KeyError: material_name" crash in Fedora
Traceback (most recent call last):
      File "/usr/lib/python3.11/site-packages/UM/Qt/ListModel.py", line 54, in data
        return self._items[index.row()][self._role_names[role].decode("utf-8")]
               ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    KeyError: 'material_name'

Downstream report: https://bugzilla.redhat.com/show_bug.cgi?id=2252195
Community: https://community.ultimaker.com/topic/44538-cura-53-crashs-at-startup/

For reasons unknown, this crash does not happen with the AppImage.

Nevertheless, in 2baada8a70b15dd87948a25855e17d15b0ece58c
material_name was added as a role, not material_label.
Reaming the field in the sentinel extruder makes the crash go away.
2023-12-14 12:52:26 +01:00
2023-12-12 16:53:34 +01:00
2023-04-05 12:35:23 +02:00
2023-06-02 11:56:40 +02:00
2023-08-15 16:10:04 +02:00
2017-09-28 13:00:43 +02:00
2022-09-08 13:15:37 +02:00
2023-12-01 09:15:21 +01:00
2022-03-23 09:51:36 +01:00


Badge Issues Badge PullRequests Badge Closed

Badge Size Badge License Badge Contributors

Badge Test Badge Conan Badge Downloads

Logo

Ultimaker Cura

State-of-the-art slicer app to prepare
your 3D models for your 3D printer.

With hundreds of settings & community-managed print profiles,
Ultimaker Cura is sure to lead your next project to a success.



Button Building Button Plugins Button Machines

Button Report Button Settings Button Localize



Shows cura open on the preview screen with a large benchy model in the center.

OpenSSF Scorecard


Description
No description provided
Readme Cite this repository 1.8 GiB
Languages
Python 71.3%
QML 25.6%
GLSL 1.4%
Rich Text Format 0.9%
Jinja 0.5%
Other 0.1%