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!