Summary: | cad/cura bug in 4.7 causes slowdowns in circular perimeters; fixed in 4.8 | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Sebastian <sko> |
Component: | Individual Port(s) | Assignee: | Diane Bruce <db> |
Status: | Closed FIXED | ||
Severity: | Affects Many People | CC: | eborisch+FreeBSD, tingox+freebsd, tomek, trombik1973, val |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(db) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Sebastian
2020-11-18 11:01:02 UTC
A commit references this bug: Author: db Date: Fri Nov 20 23:03:25 UTC 2020 New revision: 555795 URL: https://svnweb.freebsd.org/changeset/ports/555795 Log: From PR: In Cura version 4.7 a bug regarding slowdowns in circular perimeters was introduced (or at list gets triggered much more easily than in earlier versions): https://github.com/Ultimaker/Cura/issues/8321 This issue makes v4.7.x hardly usable. Sticking to v4.5 has become quite "tricky" to say the least, due to the massive python-induced dependency hell and lots of dependencies being too new and/or incompatible for the 4.5 version. Version 4.8 has been released on November 10 that fixes this glitch in the simplification algorithm. The issue is still open, but is considered to be solved with 4.8 and changed default settings for Maximum resolution and Maximum Deviation. From the Changelog of 4.8: Fixed under-simplification (blobs, zits) on some printer models. An oversight in 4.6.x resulted in an oversimplification (smoothing) of models. The attempted fix in 4.7.x overcompensated, which gave difficulty (zits, blobs) for some printer models when the resulting gcode became too intricate. This is now fixed, though some profiles might need to be updated, since they where made against 4.6.x, and therefore may rely on the over-simplification. PR: ports/251236 Submitted by: Sebastian <sko@rostwald.de> Changes: head/cad/cura/Makefile head/cad/cura/distinfo the port uses USE_GITHUB=yes, yet the commit did not change GH_TAGNAME. the package is still 4.7. as a proof, SHA256 in distinfo is identical. confusingly, the version in "About" says "master", not 4.8 nor 4.7. this PR should be reopened. (In reply to Tomoyuki Sakurai from comment #2) Oops. Ok I goofed. I'll look at this today. here is new dependencies for cura 4.8.0. https://github.com/trombik/freebsd-ports-cura/tree/main/devel with my WIP ports, poudriere bulk succeeded. i'm using cure 4.8.0, and it looks fine. A commit references this bug: Author: db Date: Mon Dec 28 01:25:14 UTC 2020 New revision: 559444 URL: https://svnweb.freebsd.org/changeset/ports/559444 Log: the port uses USE_GITHUB=yes, yet the commit did not change GH_TAGNAME. the package is still 4.7. as a proof, SHA256 in distinfo is identical. confusingly, the version in "About" says "master", not 4.8 nor 4.7. this PR should be reopened. (Tomoyuki Sakura) Apparently I forgot to remove a line causing the wrong cura version to be claimed as an update to 4.8 I think I have it right this time. Apologies I should have noticed. I'll take the pointyhat and go sit in the corner. PR: ports/251236 Submitted by: sko@rostwald.de Reported by: trombik1973@gmail.com Changes: head/cad/cura/Makefile head/cad/cura/distinfo head/cad/cura/pkg-plist cura is just a front-end, and heavily depends on its dependencies. without updating depended libraries, new version will not provide what the release note says. this is especially true in this PR, as the reporter needs fixes in cura engine, the slicer. I'm sure that new package will not even launch as cura needs new run-time library that I mentioned previously. please have a close look at my repository, and test the application before committing. A commit references this bug: Author: db Date: Thu Dec 31 22:35:44 UTC 2020 New revision: 559782 URL: https://svnweb.freebsd.org/changeset/ports/559782 Log: cura is just a front-end, and heavily depends on its dependencies. without updating depended libraries, new version will not provide what the release note says. this is especially true in this PR, as the reporter needs fixes in cura engine, the slicer. Submitter was not clear with the bugs present. In any case I have corrected a few missing dependancies and am committing two of the dependencies for cura-engine. PR: ports/251236 Reported by: trombik1973@gmail.com Changes: head/devel/Makefile head/devel/py-pynest2d/ head/devel/py-pynest2d/Makefile head/devel/py-pynest2d/distinfo head/devel/py-pynest2d/files/ head/devel/py-pynest2d/files/patch-CMakeLists.txt head/devel/py-pynest2d/files/patch-cmake_FindClipper.cmake head/devel/py-pynest2d/files/patch-cmake_FindSIP.cmake head/devel/py-pynest2d/files/patch-src_ItemGroup.sip head/devel/py-pynest2d/files/patch-src_Pynest2D.sip head/devel/py-pynest2d/pkg-descr head/devel/py-pynest2d/pkg-plist A commit references this bug: Author: db Date: Thu Dec 31 22:36:59 UTC 2020 New revision: 559783 URL: https://svnweb.freebsd.org/changeset/ports/559783 Log: cura is just a front-end, and heavily depends on its dependencies. without updating depended libraries, new version will not provide what the release note says. this is especially true in this PR, as the reporter needs fixes in cura engine, the slicer. Submitter was not clear with the bugs present. In any case I have corrected a few missing dependancies and am committing two of the dependencies for cura-engine. PR: ports/251236 Reported by: trombik1973@gmail.com Changes: head/devel/Makefile head/devel/libnest2d-ultimaker/ head/devel/libnest2d-ultimaker/Makefile head/devel/libnest2d-ultimaker/distinfo head/devel/libnest2d-ultimaker/pkg-descr head/devel/libnest2d-ultimaker/pkg-plist A commit references this bug: Author: db Date: Wed Jan 13 23:17:52 UTC 2021 New revision: 561521 URL: https://svnweb.freebsd.org/changeset/ports/561521 Log: Really update libarcus to 4.8 N.B. the wrinkle in cmake build here. find_package(Pythoninterp 3.4 REQUIRED) can find your install Python 3.9 instead of the DEFAULT Python. Force the correct one with a few patches. PR: ports/251236 Submitted by: sko@rostwald.de Reported by: trombik1973@gmail.com Changes: head/net/libarcus/Makefile head/net/libarcus/distinfo head/net/libarcus/files/patch-CMakeLists.txt A commit references this bug: Author: db Date: Wed Jan 13 23:19:07 UTC 2021 New revision: 561522 URL: https://svnweb.freebsd.org/changeset/ports/561522 Log: Really update libcharon to 4.8 N.B. the wrinkle in cmake build here. find_package(Pythoninterp 3.4 REQUIRED) can find your install Python 3.9 instead of the DEFAULT Python. Force the correct one with a few patches. PR: ports/251236 Submitted by: sko@rostwald.de Reported by: trombik1973@gmail.com Changes: head/net/libcharon/Makefile head/net/libcharon/distinfo head/net/libcharon/files/ head/net/libcharon/files/patch-CMakeLists.txt A commit references this bug: Author: db Date: Sat Jan 16 16:23:05 UTC 2021 New revision: 561732 URL: https://svnweb.freebsd.org/changeset/ports/561732 Log: N.B. this port does not use distutils hence flavors *was not* defined. This only cropped up when integrating with cura itself. My fault for missing this. PR: ports/251236 Submitted by: Sebastian <sko@rostwald.de> Approved by: implicit Changes: head/devel/py-pynest2d/Makefile A commit references this bug: Author: db Date: Sat Jan 16 16:25:43 UTC 2021 New revision: 561733 URL: https://svnweb.freebsd.org/changeset/ports/561733 Log: Finally update cura now that all prequisite ports are updated. PR: ports/251236 Changes: head/cad/cura/Makefile head/cad/cura/distinfo head/cad/cura/files/patch-CMakeLists.txt head/cad/cura/pkg-plist *** Bug 252609 has been marked as a duplicate of this bug. *** (In reply to commit-hook from comment #13) There is still a problem: tingo@kg-core2$ cura env: %%PYTHON_CMD%%: No such file or directory tingo@kg-core2$ head -1 /usr/local/bin/cura #!/usr/bin/env %%PYTHON_CMD%% tingo@kg-core2$ pkg info Cura* Cura-4.8.0_3,2 CuraEngine-4.8,1 A commit references this bug: Author: db Date: Mon Jan 18 23:30:42 UTC 2021 New revision: 561986 URL: https://svnweb.freebsd.org/changeset/ports/561986 Log: I inadvertantly deleted a line while merging in patches. *sigh* PR: ports/251236 Reported by: Torfinn Ingolfsen <tingox+freebsd@gmail.com> Changes: head/cad/cura/Makefile I can confirm that Cura-4.8.0_4,2 is available from pkg and it works for me.. the last version crashed on start.. this one starts displays objects etc :-) Confirmed here as well (installed from ports: tingo@kg-core1$ pkg info Cura* Cura-4.8.0_4,2 CuraEngine-4.8_1,1 when cura exits, it leaves a Python core file behind (not important, but still) tingo@kg-core1$ file python3.7.core python3.7.core: ELF 64-bit LSB core file, x86-64, version 1 (FreeBSD), FreeBSD-style, from '/usr/local/bin/python3.7 /usr/local/bin/cura', pid=34115 True. I have sysctl kern.coredump=0 so no core dumps, but log shows some issues noted below. Not sure if this is dependency or the application problem though. Probably would be good to see this application version on another platform to compare.. or similar application on FreeBSD? 2021-01-27 23:43:57,166 - INFO - [MainThread] cura.CuraApplication.closeApplication [603]: Close application 2021-01-27 23:43:57,167 - DEBUG - [MainThread] UM.Qt.QtApplication.windowClosed [470]: Shutting down cura 2021-01-27 23:43:57,184 - DEBUG - [MainThread] CuraEngineBackend.CuraEngineBackend._terminate [315]: Attempting to kill the engine process 2021-01-27 23:43:57,185 - DEBUG - [MainThread] CuraEngineBackend.CuraEngineBackend._terminate [321]: Killing engine process 2021-01-27 23:43:57,188 - DEBUG - [MainThread] CuraEngineBackend.CuraEngineBackend._terminate [324]: Engine process is killed. Received return code -15 2021-01-27 23:43:57,189 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///usr/local/lib/cura/plugins/ModelChecker/ModelChecker.qml:21: TypeError: Can not read property 'hasWarnings' of null 2021-01-27 23:43:57,197 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///usr/local/lib/cura/plugins/PostProcessingPlugin/PostProcessingPlugin.qml:31 9: TypeError: Cannot read property 'selectedScriptDefinitionId' of null 2021-01-27 23:43:57,197 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///usr/local/lib/cura/plugins/PostProcessingPlugin/PostProcessingPlugin.qml:30 9: TypeError: Cannot read property 'selectedScriptDefinitionId' of null 2021-01-27 23:43:57,198 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///usr/local/lib/cura/plugins/PostProcessingPlugin/PostProcessingPlugin.qml:27 9: TypeError: Cannot read property 'selectedScriptIndex' of null 2021-01-27 23:43:57,199 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///usr/local/lib/cura/plugins/PostProcessingPlugin/PostProcessingPlugin.qml:25 3: TypeError: Cannot read property 'loadedScriptList' of null 2021-01-27 23:43:57,199 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///usr/local/lib/cura/plugins/PostProcessingPlugin/PostProcessingPlugin.qml:82 : TypeError: Cannot read property 'scriptList' of null 2021-01-27 23:43:57,200 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///usr/local/lib/cura/plugins/PostProcessingPlugin/PostProcessingPlugin.qml:25 7: TypeError: Cannot read property 'getScriptLabelByKey' of null 2021-01-27 23:43:57,201 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///usr/local/lib/cura/plugins/PostProcessingPlugin/PostProcessingPlugin.qml:25 7: TypeError: Cannot read property 'getScriptLabelByKey' of null 2021-01-27 23:43:57,202 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///usr/local/lib/cura/plugins/PostProcessingPlugin/PostProcessingPlugin.qml:25 7: TypeError: Cannot read property 'getScriptLabelByKey' of null 2021-01-27 23:43:57,203 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///usr/local/lib/cura/plugins/PostProcessingPlugin/PostProcessingPlugin.qml:25 7: TypeError: Cannot read property 'getScriptLabelByKey' of null 2021-01-27 23:43:57,203 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///usr/local/lib/cura/plugins/PostProcessingPlugin/PostProcessingPlugin.qml:25 7: TypeError: Cannot read property 'getScriptLabelByKey' of null 2021-01-27 23:43:57,204 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///usr/local/lib/cura/plugins/PostProcessingPlugin/PostProcessingPlugin.qml:25 7: TypeError: Cannot read property 'getScriptLabelByKey' of null 2021-01-27 23:43:57,205 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///usr/local/lib/cura/plugins/PostProcessingPlugin/PostProcessingPlugin.qml:25 7: TypeError: Cannot read property 'getScriptLabelByKey' of null 2021-01-27 23:43:57,206 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///usr/local/lib/cura/plugins/PostProcessingPlugin/PostProcessingPlugin.qml:25 7: TypeError: Cannot read property 'getScriptLabelByKey' of null 2021-01-27 23:43:57,207 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///usr/local/lib/cura/plugins/PostProcessingPlugin/PostProcessingPlugin.qml:25 7: TypeError: Cannot read property 'getScriptLabelByKey' of null 2021-01-27 23:43:57,208 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///usr/local/lib/cura/plugins/PostProcessingPlugin/PostProcessingPlugin.qml:25 7: TypeError: Cannot read property 'getScriptLabelByKey' of null 2021-01-27 23:43:57,209 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///usr/local/lib/cura/plugins/PostProcessingPlugin/PostProcessingPlugin.qml:25 7: TypeError: Cannot read property 'getScriptLabelByKey' of null 2021-01-27 23:43:57,210 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///usr/local/lib/cura/plugins/PostProcessingPlugin/PostProcessingPlugin.qml:25 7: TypeError: Cannot read property 'getScriptLabelByKey' of null 2021-01-27 23:43:57,511 - CRITICAL - [MainThread] cura.CrashHandler.__init__ [66]: An uncaught error has occurred! 2021-01-27 23:43:57,514 - CRITICAL - [MainThread] cura.CrashHandler.__init__ [69]: TypeError: unable to convert a Python 'GlobalStack' object to a C++ 'QObject*' instance 2021-01-27 23:43:58,039 - CRITICAL - [Dummy-7] cura.CrashHandler.__init__ [66]: An uncaught error has occurred! 2021-01-27 23:43:58,041 - CRITICAL - [Dummy-7] cura.CrashHandler.__init__ [69]: Traceback (most recent call last): 2021-01-27 23:43:58,041 - CRITICAL - [Dummy-7] cura.CrashHandler.__init__ [69]: File "/usr/local/lib/python3.7/site-packages/UM/Backend/SignalSocket.py", line 58, in error 2021-01-27 23:43:58,042 - CRITICAL - [Dummy-7] cura.CrashHandler.__init__ [69]: self.errorCallback(error) 2021-01-27 23:43:58,043 - CRITICAL - [Dummy-7] cura.CrashHandler.__init__ [69]: File "/usr/local/lib/python3.7/site-packages/UM/Backend/SignalSocket.py", line 33, in _onErr or 2021-01-27 23:43:58,043 - CRITICAL - [Dummy-7] cura.CrashHandler.__init__ [69]: self.error.emit(error) 2021-01-27 23:43:58,044 - CRITICAL - [Dummy-7] cura.CrashHandler.__init__ [69]: File "/usr/local/lib/python3.7/site-packages/UM/Signal.py", line 214, in emit 2021-01-27 23:43:58,044 - CRITICAL - [Dummy-7] cura.CrashHandler.__init__ [69]: Signal._app.functionEvent(CallFunctionEvent(self.__performEmit, args, kwargs)) 2021-01-27 23:43:58,045 - CRITICAL - [Dummy-7] cura.CrashHandler.__init__ [69]: File "/usr/local/lib/python3.7/site-packages/UM/Qt/QtApplication.py", line 459, in functionE vent 2021-01-27 23:43:58,046 - CRITICAL - [Dummy-7] cura.CrashHandler.__init__ [69]: QCoreApplication.postEvent(self, e) 2021-01-27 23:43:58,047 - CRITICAL - [Dummy-7] cura.CrashHandler.__init__ [69]: RuntimeError: wrapped C/C++ object of type CuraApplication has been deleted QWidget: Cannot create a QWidget without QApplication Fatal Python error: Aborted Current thread 0x00000008444d4e00 (most recent call first): File "/usr/local/lib/python3.7/site-packages/cura/CrashHandler.py", line 85 in __init__ File "/usr/local/bin/cura", line 167 in exceptHook Thread 0x000000084657ee00 (most recent call first): File "/usr/local/lib/python3.7/threading.py", line 300 in wait File "/usr/local/lib/python3.7/site-packages/zeroconf/__init__.py", line 2407 in wait File "/usr/local/lib/python3.7/site-packages/zeroconf/__init__.py", line 1701 in run File "/usr/local/lib/python3.7/threading.py", line 926 in _bootstrap_inner File "/usr/local/lib/python3.7/threading.py", line 890 in _bootstrap Thread 0x0000000845e01700 (most recent call first): File "/usr/local/lib/python3.7/threading.py", line 300 in wait File "/usr/local/lib/python3.7/threading.py", line 552 in wait File "/usr/local/lib/cura/plugins/UM3NetworkPrinting/src/Network/ZeroConfClient.py", line 81 in _handleOnServiceChangedRequests File "/usr/local/lib/python3.7/threading.py", line 870 in run File "/usr/local/lib/python3.7/threading.py", line 926 in _bootstrap_inner File "/usr/local/lib/python3.7/threading.py", line 890 in _bootstrap Thread 0x0000000845e02600 (most recent call first): File "/usr/local/lib/python3.7/threading.py", line 300 in wait File "/usr/local/lib/python3.7/site-packages/zeroconf/__init__.py", line 1451 in run File "/usr/local/lib/python3.7/threading.py", line 926 in _bootstrap_inner File "/usr/local/lib/python3.7/threading.py", line 890 in _bootstrap Thread 0x000000084657d500 (most recent call first): File "/usr/local/lib/python3.7/site-packages/zeroconf/__init__.py", line 1325 in run File "/usr/local/lib/python3.7/threading.py", line 926 in _bootstrap_inner File "/usr/local/lib/python3.7/threading.py", line 890 in _bootstrap Thread 0x000000084657da00 (most recent call first): File "/usr/local/lib/cura/plugins/USBPrinting/USBPrinterOutputDeviceManager.py", line 87 in _updateThread File "/usr/local/lib/python3.7/threading.py", line 870 in run File "/usr/local/lib/python3.7/threading.py", line 926 in _bootstrap_inner File "/usr/local/lib/python3.7/threading.py", line 890 in _bootstrap Thread 0x0000000845e02100 (most recent call first): File "/usr/local/lib/cura/plugins/RemovableDriveOutputDevice/RemovableDrivePlugin.py", line 61 in _updateThread File "/usr/local/lib/python3.7/threading.py", line 870 in run File "/usr/local/lib/python3.7/threading.py", line 926 in _bootstrap_inner File "/usr/local/lib/python3.7/threading.py", line 890 in _bootstrap Thread 0x00000008339d0f00 (most recent call first): File "/usr/local/lib/python3.7/threading.py", line 296 in wait File "/usr/local/lib/python3.7/threading.py", line 427 in acquire File "/usr/local/lib/python3.7/site-packages/UM/JobQueue.py", line 98 in _nextJob File "/usr/local/lib/python3.7/site-packages/UM/JobQueue.py", line 123 in run File "/usr/local/lib/python3.7/threading.py", line 926 in _bootstrap_inner File "/usr/local/lib/python3.7/threading.py", line 890 in _bootstrap Thread 0x00000008339d0a00 (most recent call first): File "/usr/local/lib/python3.7/threading.py", line 296 in wait File "/usr/local/lib/python3.7/threading.py", line 427 in acquire File "/usr/local/lib/python3.7/site-packages/UM/JobQueue.py", line 98 in _nextJob File "/usr/local/lib/python3.7/site-packages/UM/JobQueue.py", line 123 in run File "/usr/local/lib/python3.7/threading.py", line 926 in _bootstrap_inner File "/usr/local/lib/python3.7/threading.py", line 890 in _bootstrap Thread 0x00000008339d0500 (most recent call first): File "/usr/local/lib/python3.7/site-packages/serial/serialposix.py", line 483 in read File "/usr/local/lib/cura/plugins/USBPrinting/AutoDetectBaudJob.py", line 73 in run File "/usr/local/lib/python3.7/site-packages/UM/JobQueue.py", line 132 in run File "/usr/local/lib/python3.7/threading.py", line 926 in _bootstrap_inner File "/usr/local/lib/python3.7/threading.py", line 890 in _bootstrap Thread 0x00000008339d0000 (most recent call first): File "/usr/local/lib/python3.7/threading.py", line 296 in wait File "/usr/local/lib/python3.7/threading.py", line 427 in acquire File "/usr/local/lib/python3.7/site-packages/UM/JobQueue.py", line 98 in _nextJob File "/usr/local/lib/python3.7/site-packages/UM/JobQueue.py", line 123 in run File "/usr/local/lib/python3.7/threading.py", line 926 in _bootstrap_inner File "/usr/local/lib/python3.7/threading.py", line 890 in _bootstrap Thread 0x0000000800a3a000 (most recent call first): zsh: abort cura This may be the upstream application problem as several similar issues were reported already on project github issue tracker: https://github.com/Ultimaker/Cura/issues?q=is%3Aissue+is%3Aopen+crash+exit Did that happen with previous versions of cura here? Data point: I download and tested the Cura 4.8.0 appimage on a Debian laptop, it did not crash on exit. As for previous version on FreeBSD - I don't knw if they crashed or not. I have no logs or notes about it. Just to add to the mix here (I can open a new ticket if you prefer): Missing dependency: py37-qt5-svg (Icons render as black squares without it.) A commit references this bug: Author: db Date: Mon Feb 22 21:34:00 UTC 2021 New revision: 566336 URL: https://svnweb.freebsd.org/changeset/ports/566336 Log: Just to add to the mix here (I can open a new ticket if you prefer): Missing dependency: py37-qt5-svg (Icons render as black squares without it.) - db Yes this should have been a separate PR :-) closing PR now PR: ports/251236 Reported by: eborisch+FreeBSD@gmail.com Changes: head/cad/cura/Makefile |