I've recently had to upgrade to F33, and the associated releases of freeCad and Cura. While trying v4.7.1 of Cura (for the first time), I've loaded an STL file and told it to slice. When done, I copied the gcode to my USB, and started my (Anet A6) printer going. I saw it start the first layer in a completely different manner than I was used to (with the Cura I had with F26), so I wanted to see it layer by layer.
I presume, that's what the 'preview' function now does. When I click it, Cura crashes.
Eventually, some kind of Fedora crash reporter pops up, and its details show:
reason python3.9 killed by SIGSEGV crash_function QQukckItem::setSize(QSizeF const&)
Sadly the crash reporter tells me I can't report it with the log:
--- Running report_uReport --- Server responded with an error: 'uReport data is invalid.' ('report_uReport' exited with 1)
So I've got two issues.
TIA Fulko
(P.S. Merry Christmas)
On 24. 12. 20 22:56, Fulko Hew wrote:
I've recently had to upgrade to F33, and the associated releases of freeCad and Cura. While trying v4.7.1 of Cura (for the first time), I've loaded an STL file and told it to slice. When done, I copied the gcode to my USB, and started my (Anet A6) printer going. I saw it start the first layer in a completely different manner than I was used to (with the Cura I had with F26), so I wanted to see it layer by layer.
I presume, that's what the 'preview' function now does. When I click it, Cura crashes.
Eventually, some kind of Fedora crash reporter pops up, and its details show:
reason python3.9 killed by SIGSEGV crash_function QQukckItem::setSize(QSizeF const&)
Could you please start cura from console, reproduce the crash and report back what you got in the log?
On Mon, Dec 28, 2020 at 6:15 AM Miro Hrončok mhroncok@redhat.com wrote:
On 24. 12. 20 22:56, Fulko Hew wrote:
I've recently had to upgrade to F33, and the associated releases of
freeCad and
Cura. While trying v4.7.1 of Cura (for the first time), I've loaded an STL
file and
told it to slice. When done, I copied the gcode to my USB, and started my (Anet
A6) printer
going. I saw it start the first layer in a completely different manner
than I was
used to (with the Cura I had with F26), so I wanted to see it layer by
layer.
I presume, that's what the 'preview' function now does. When I click it, Cura crashes.
Eventually, some kind of Fedora crash reporter pops up, and its details
show:
reason python3.9 killed by SIGSEGV crash_function QQukckItem::setSize(QSizeF const&)
Could you please start cura from console, reproduce the crash and report back what you got in the log?
The log file is attached. Invocation: $ cura covid_top.stl
Please note that I also see the following symptom:
When I click on the printer setting near the top right of the window the menu appears, but: a) the 'Custom >' menu appears to the right of the 'X' (close window) button. Not at the bottom of the popup, as I've seen in other screenshots. b) I can't click on it, c) I don't see any way of getting a window/menu that contains any of the advanced configuration options. The menu only shows (basic): Profiles, Infill, Support, Adhesion options.
On 28. 12. 20 14:55, Fulko Hew wrote:
Could you please start cura from console, reproduce the crash and report back what you got in the log?
The log file is attached.
There is a segfault. But other than that, I see:
Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/UM/PluginRegistry.py", line 606, in _findPlugin module = imp.load_module(plugin_id, file, path, desc) #type: ignore #MyPy gets the wrong output type from imp.find_module for some reason. File "/usr/lib64/python3.9/imp.py", line 244, in load_module return load_package(name, filename) File "/usr/lib64/python3.9/imp.py", line 216, in load_package return _load(spec) File "<frozen importlib._bootstrap>", line 711, in _load File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 790, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/usr/lib/uranium/plugins/UpdateChecker/__init__.py", line 4, in <module> from . import UpdateChecker File "/usr/lib/uranium/plugins/UpdateChecker/UpdateChecker.py", line 11, in <module> from .UpdateCheckerJob import UpdateCheckerJob File "/usr/lib/uranium/plugins/UpdateChecker/UpdateCheckerJob.py", line 10, in <module> import certifi ModuleNotFoundError: No module named 'certifi'
Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/UM/PluginRegistry.py", line 606, in _findPlugin module = imp.load_module(plugin_id, file, path, desc) #type: ignore #MyPy gets the wrong output type from imp.find_module for some reason. File "/usr/lib64/python3.9/imp.py", line 244, in load_module return load_package(name, filename) File "/usr/lib64/python3.9/imp.py", line 216, in load_package return _load(spec) File "<frozen importlib._bootstrap>", line 711, in _load File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 790, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/usr/lib/cura/plugins/AMFReader/__init__.py", line 4, in <module> from . import AMFReader File "/usr/lib/cura/plugins/AMFReader/AMFReader.py", line 20, in <module> import trimesh ModuleNotFoundError: No module named 'trimesh'
Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/UM/PluginRegistry.py", line 606, in _findPlugin module = imp.load_module(plugin_id, file, path, desc) #type: ignore #MyPy gets the wrong output type from imp.find_module for some reason. File "/usr/lib64/python3.9/imp.py", line 244, in load_module return load_package(name, filename) File "/usr/lib64/python3.9/imp.py", line 216, in load_package return _load(spec) File "<frozen importlib._bootstrap>", line 711, in _load File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 790, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/usr/lib/cura/plugins/CuraDrive/__init__.py", line 4, in <module> from .src.DrivePluginExtension import DrivePluginExtension File "/usr/lib/cura/plugins/CuraDrive/src/DrivePluginExtension.py", line 16, in <module> from .DriveApiService import DriveApiService File "/usr/lib/cura/plugins/CuraDrive/src/DriveApiService.py", line 15, in <module> from .CreateBackupJob import CreateBackupJob File "/usr/lib/cura/plugins/CuraDrive/src/CreateBackupJob.py", line 8, in <module> import sentry_sdk ModuleNotFoundError: No module named 'sentry_sdk'
I wonder whether installing the missing modules helps (we don't have sentry_sdk):
$ sudo dnf install python3-trimesh python3-certifi
On Mon, Dec 28, 2020 at 9:19 AM Miro Hrončok mhroncok@redhat.com wrote:
On 28. 12. 20 14:55, Fulko Hew wrote:
Could you please start cura from console, reproduce the crash and
report back
what you got in the log?
The log file is attached.
There is a segfault. But other than that, I see:
Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/UM/PluginRegistry.py", line 606, in _findPlugin module = imp.load_module(plugin_id, file, path, desc) #type: ignore #MyPy gets the wrong output type from imp.find_module for some reason. File "/usr/lib64/python3.9/imp.py", line 244, in load_module return load_package(name, filename) File "/usr/lib64/python3.9/imp.py", line 216, in load_package return _load(spec) File "<frozen importlib._bootstrap>", line 711, in _load File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 790, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/usr/lib/uranium/plugins/UpdateChecker/__init__.py", line 4, in
<module> from . import UpdateChecker File "/usr/lib/uranium/plugins/UpdateChecker/UpdateChecker.py", line 11, in <module> from .UpdateCheckerJob import UpdateCheckerJob File "/usr/lib/uranium/plugins/UpdateChecker/UpdateCheckerJob.py", line 10, in <module> import certifi ModuleNotFoundError: No module named 'certifi'
Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/UM/PluginRegistry.py", line 606, in _findPlugin module = imp.load_module(plugin_id, file, path, desc) #type: ignore #MyPy gets the wrong output type from imp.find_module for some reason. File "/usr/lib64/python3.9/imp.py", line 244, in load_module return load_package(name, filename) File "/usr/lib64/python3.9/imp.py", line 216, in load_package return _load(spec) File "<frozen importlib._bootstrap>", line 711, in _load File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 790, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/usr/lib/cura/plugins/AMFReader/__init__.py", line 4, in <module> from . import AMFReader File "/usr/lib/cura/plugins/AMFReader/AMFReader.py", line 20, in
<module> import trimesh ModuleNotFoundError: No module named 'trimesh'
Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/UM/PluginRegistry.py", line 606, in _findPlugin module = imp.load_module(plugin_id, file, path, desc) #type: ignore #MyPy gets the wrong output type from imp.find_module for some reason. File "/usr/lib64/python3.9/imp.py", line 244, in load_module return load_package(name, filename) File "/usr/lib64/python3.9/imp.py", line 216, in load_package return _load(spec) File "<frozen importlib._bootstrap>", line 711, in _load File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 790, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/usr/lib/cura/plugins/CuraDrive/__init__.py", line 4, in <module> from .src.DrivePluginExtension import DrivePluginExtension File "/usr/lib/cura/plugins/CuraDrive/src/DrivePluginExtension.py", line 16, in <module> from .DriveApiService import DriveApiService File "/usr/lib/cura/plugins/CuraDrive/src/DriveApiService.py", line 15, in
<module> from .CreateBackupJob import CreateBackupJob File "/usr/lib/cura/plugins/CuraDrive/src/CreateBackupJob.py", line 8, in <module> import sentry_sdk ModuleNotFoundError: No module named 'sentry_sdk'
I wonder whether installing the missing modules helps (we don't have sentry_sdk):
$ sudo dnf install python3-trimesh python3-certifi
Done. Wow, that installed another 442 packages totaling 849M! (including such things as gcc-gfortran, blender, openscad and a ton of perl, python and texlive modules ...) OK, running it now has different symptoms:
a) I suppose that means that the cura RPM should include those two packages as dependencies. b) it still crashes on 'preview'. c) it showed a popup that told me Cura v4.8.0 is available. d) The print settings now looks different, and provides me with many other options, but (for example) clicking on the profile selector displays a jumble of overlapping text that is unreadable/unclickable. e) Somehow I managed to get the menu into 'custom' mode, but now the selection for '< Recommended' is presented (overlapped on the 'Print Settings' title) and is still not clickable. I'd say that there is stuff that should be shown at the bottom of that window, is overlapped (underneath) with the top of that window.
The new log file is attached...
P.S. Thanks for your support!
On Mon, Dec 28, 2020 at 9:57 AM Fulko Hew fulko.hew@gmail.com wrote:
P.S. For what it's worth, I use KDE.
On Mon, Dec 28, 2020 at 10:06 AM Fulko Hew fulko.hew@gmail.com wrote:
On Mon, Dec 28, 2020 at 9:57 AM Fulko Hew fulko.hew@gmail.com wrote:
P.S. For what it's worth, I use KDE.
Following up since Cura 4.8.0 was just released for F33...
My problem of crashing when showing a slice 'preview' still happens.
So I decided to dnf remove cura, and delete any other hidden config or other directories related to Cura, and any file therein, and re-install. That didn't make any difference, but it did cause me to go down the following train of thought:
At the first invocation of Cura, you get a splash screen about 'first time config'. And by default it doesn't have any buttons to continue. I remembered Miro's suggestion of:
https://github.com/Ultimaker/Cura/issues/6058#issuecomment-587093671
Well, not only does it fix the missing splash screen button problem, and the menu rendering issues I was complaining about, I see it also prevents the "crashing when attempting a 'preview'" issue. (And yes, it appears to be a KDE issue.)
Is there any way to get that command:
env -u DESKTOP_SESSION -u KDE_FULL_SESSION -u XDG_CURRENT_DESKTOP cura
into the KDE menu entry for Cura?
Thanks Fulko
3dprinting@lists.fedoraproject.org