Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#54948 - [cura] [Patch] Default materials not in package
Attached to Project:
Community Packages
Opened by Jade (lf) - Thursday, 27 July 2017, 22:16 GMT
Last edited by Jelle van der Waa (jelly) - Friday, 11 August 2017, 20:58 GMT
Opened by Jade (lf) - Thursday, 27 July 2017, 22:16 GMT
Last edited by Jelle van der Waa (jelly) - Friday, 11 August 2017, 20:58 GMT
|
DetailsDescription: The default materials collection isn't included in the cura package, making it impossible to create a new material.
Additional info: * package version(s): 2.6.0 (also built a 2.6.1 and repro on there) * config and/or log files etc. Log line demonstrating the problem: 2017-07-27 15:40:03,464 - DEBUG - cura.Settings.ContainerManager.createMaterial [752]: Unable to create a new material by cloning Generic PLA, because it cannot be found for the material diameter for this machine. Steps to reproduce: Open cura Create a new printer based on the Prusa i3 Mk2 (for example, it seems to happen for every single one) Settings>Material>Manage Materials... Create Expected behaviour: A material is created Actual behaviour: No material is created and the above line is found in ~/.local/share/cura/master/cura.log. Upstream bug report indicating that this is a packaging bug: https://github.com/Ultimaker/Cura/issues/2157 I made a patch to fix this and update the package to 2.6.1. It is attached. |
This task depends upon
Closed by Jelle van der Waa (jelly)
Friday, 11 August 2017, 20:58 GMT
Reason for closing: Implemented
Additional comments about closing: Added cura-resources-materials package in the repos
Friday, 11 August 2017, 20:58 GMT
Reason for closing: Implemented
Additional comments about closing: Added cura-resources-materials package in the repos
0001-Update-to-2.6.1-fix-mate...
Plus, excluding them would be a very poor user experience as they are effectively required, but the only indication that they are missing is a log line that the average user would never find; they'd just say "welp cura doesn't work, I'm switching to slic3r".
Finally, the package already includes /usr/share/cura/resources/definitions with all the default printers since they're in the cura repo, despite being extra "resources". The reason (I suspect) that the materials are separate is because the machine definitions are fairly simple and unlikely to change, however the materials can always be tweaked more, so Ultimaker moved them into a separate repository to reduce code churn. That being said, they are versioned along with the main cura anyway. If they weren't, I'd be with you on making another package.
I just checked on Windows and Cura comes with all the materials.
So I made an AUR package called "cura-resources-materials" based on the patch from @lf
The package needs to be synced with the cura version but is seems to work :-)
https://aur.archlinux.org/packages/cura-resources-materials/