Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when saving project to 3mf #10584

Closed
2 tasks done
kvnper opened this issue Oct 7, 2021 · 7 comments
Closed
2 tasks done

Crash when saving project to 3mf #10584

kvnper opened this issue Oct 7, 2021 · 7 comments
Labels
Status: Stale ⌛ This issue is over a year old. It might be obsolete or just needs a fresh set of eyes Type: Bug The code does not produce the intended behavior.

Comments

@kvnper
Copy link

kvnper commented Oct 7, 2021

Application Version

4.11

Platform

Windows 10

Printer

Various

Reproduction steps

Cura (version 4.11) crashes when trying to save project to 3mf file, no matter the printer or stl file loaded.

Note: Cannot include 3mf project file as program crashes but occurs no matter which printer or STL files are loaded.

Actual results

Cura crashes with crash report

Expected results

Save to 3mf without crash?

Checklist of files to include

  • Log file
  • Project file

Additional information & file uploads

cura.log

image

Logs:

Thread 0x00000448 (most recent call first):
File "D:\Program Files\Ultimaker Cura 4.11.0\plugins\USBPrinting\USBPrinterOutputDeviceManager.py", line 87 in _updateThread
File "threading.py", line 870 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x000044e0 (most recent call first):
File "threading.py", line 306 in wait
File "zeroconf_init_.py", line 2534 in wait
File "zeroconf_init_.py", line 1715 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x00003da0 (most recent call first):
File "threading.py", line 306 in wait
File "threading.py", line 558 in wait
File "D:\Program Files\Ultimaker Cura 4.11.0\plugins\UM3NetworkPrinting\src\Network\ZeroConfClient.py", line 81 in _handleOnServiceChangedRequests
File "threading.py", line 870 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x00001640 (most recent call first):
File "zeroconf_init_.py", line 1369 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x00000848 (most recent call first):
File "D:\Program Files\Ultimaker Cura 4.11.0\plugins\RemovableDriveOutputDevice\RemovableDrivePlugin.py", line 61 in _updateThread
File "threading.py", line 870 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x00001230 (most recent call first):
File "threading.py", line 302 in wait
File "threading.py", line 433 in acquire
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 98 in _nextJob
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 124 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x0000318c (most recent call first):
File "threading.py", line 302 in wait
File "threading.py", line 433 in acquire
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 98 in _nextJob
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 124 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x000057dc (most recent call first):
File "threading.py", line 302 in wait
File "threading.py", line 433 in acquire
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 98 in _nextJob
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 124 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x00005b64 (most recent call first):
File "threading.py", line 302 in wait
File "threading.py", line 433 in acquire
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 98 in _nextJob
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 124 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x000032f4 (most recent call first):
File "threading.py", line 302 in wait
File "threading.py", line 558 in wait
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\cura\Utils\Threading.py", line 39 in _call_on_qt_thread_wrapper
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\FileHandler\WriteFileJob.py", line 76 in run
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 133 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x00000ffc (most recent call first):
File "threading.py", line 302 in wait
File "threading.py", line 433 in acquire
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 98 in _nextJob
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 124 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x00004798 (most recent call first):
File "threading.py", line 302 in wait
File "threading.py", line 433 in acquire
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 98 in _nextJob
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 124 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x00004b4c (most recent call first):
File "threading.py", line 302 in wait
File "threading.py", line 433 in acquire
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 98 in _nextJob
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 124 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x000015f4 (most recent call first):
File "threading.py", line 302 in wait
File "threading.py", line 433 in acquire
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 98 in _nextJob
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 124 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x00001368 (most recent call first):
File "threading.py", line 302 in wait
File "threading.py", line 433 in acquire
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 98 in _nextJob
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 124 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x00005834 (most recent call first):
File "serial\serialwin32.py", line 286 in read
File "serial\serialutil.py", line 659 in read_until
File "D:\Program Files\Ultimaker Cura 4.11.0\plugins\USBPrinting\AutoDetectBaudJob.py", line 76 in run
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 133 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x0000209c (most recent call first):
File "threading.py", line 302 in wait
File "threading.py", line 433 in acquire
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 98 in _nextJob
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 124 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Current thread 0x00004750 (most recent call first):
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\cura\CrashHandler.py", line 396 in _logInfoWidget
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\cura\CrashHandler.py", line 182 in createDialog
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\cura\CrashHandler.py", line 86 in init
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\bin\cura_app.py", line 159 in exceptHook
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\Qt\QtApplication.py", line 393 in exec
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\cura\CuraApplication.py", line 867 in run
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\bin\cura_app.py", line 233 in
File "Console.py", line 36 in run
File "startup.py", line 74 in run

@kvnper kvnper added the Type: Bug The code does not produce the intended behavior. label Oct 7, 2021
@kvnper
Copy link
Author

kvnper commented Oct 7, 2021

I got another crash when simply clicking the printer's extruder settings. I clicked that yellow extruder 1 'Generic PLA' 'empty' button.
image

This is the crash report
image

Thread 0x00001068 (most recent call first):
File "D:\Program Files\Ultimaker Cura 4.11.0\plugins\USBPrinting\USBPrinterOutputDeviceManager.py", line 87 in _updateThread
File "threading.py", line 870 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x000040bc (most recent call first):
File "threading.py", line 306 in wait
File "zeroconf_init_.py", line 2534 in wait
File "zeroconf_init_.py", line 1715 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x000026f8 (most recent call first):
File "threading.py", line 306 in wait
File "threading.py", line 558 in wait
File "D:\Program Files\Ultimaker Cura 4.11.0\plugins\UM3NetworkPrinting\src\Network\ZeroConfClient.py", line 81 in _handleOnServiceChangedRequests
File "threading.py", line 870 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x00005700 (most recent call first):
File "zeroconf_init_.py", line 1369 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x00001824 (most recent call first):
File "D:\Program Files\Ultimaker Cura 4.11.0\plugins\RemovableDriveOutputDevice\RemovableDrivePlugin.py", line 61 in _updateThread
File "threading.py", line 870 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x00001d04 (most recent call first):
File "threading.py", line 302 in wait
File "threading.py", line 433 in acquire
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 98 in _nextJob
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 124 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x00004788 (most recent call first):
File "threading.py", line 302 in wait
File "threading.py", line 433 in acquire
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 98 in _nextJob
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 124 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x00005c98 (most recent call first):
File "threading.py", line 302 in wait
File "threading.py", line 433 in acquire
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 98 in _nextJob
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 124 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x00005a40 (most recent call first):
File "threading.py", line 302 in wait
File "threading.py", line 433 in acquire
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 98 in _nextJob
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 124 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x00001e14 (most recent call first):
File "threading.py", line 302 in wait
File "threading.py", line 433 in acquire
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 98 in _nextJob
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 124 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x00002754 (most recent call first):
File "threading.py", line 302 in wait
File "threading.py", line 433 in acquire
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 98 in _nextJob
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 124 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x00005b2c (most recent call first):
File "threading.py", line 302 in wait
File "threading.py", line 433 in acquire
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 98 in _nextJob
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 124 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x0000331c (most recent call first):
File "threading.py", line 302 in wait
File "threading.py", line 433 in acquire
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 98 in _nextJob
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 124 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x00004eb0 (most recent call first):
File "threading.py", line 302 in wait
File "threading.py", line 433 in acquire
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 98 in _nextJob
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 124 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x00004838 (most recent call first):
File "threading.py", line 302 in wait
File "threading.py", line 433 in acquire
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 98 in _nextJob
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 124 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x00005014 (most recent call first):
File "threading.py", line 302 in wait
File "threading.py", line 433 in acquire
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 98 in _nextJob
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 124 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Thread 0x000058e0 (most recent call first):
File "D:\Program Files\Ultimaker Cura 4.11.0\plugins\USBPrinting\AutoDetectBaudJob.py", line 85 in run
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\JobQueue.py", line 133 in run
File "threading.py", line 932 in _bootstrap_inner
File "threading.py", line 890 in _bootstrap

Current thread 0x00005d8c (most recent call first):
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\cura\CrashHandler.py", line 396 in _logInfoWidget
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\cura\CrashHandler.py", line 182 in createDialog
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\cura\CrashHandler.py", line 86 in init
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\bin\cura_app.py", line 159 in exceptHook
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\UM\Qt\QtApplication.py", line 393 in exec

File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\lib\python3.8\site-packages\cura\CuraApplication.py", line 867 in run
File "C:\Users\ultimaker\AppData\Local\Temp\cura-build-4.11-exe\build\inst\bin\cura_app.py", line 233 in
File "Console.py", line 36 in run
File "startup.py", line 74 in run

@nallath
Copy link
Member

nallath commented Oct 7, 2021

Could you disable the startup optimizer? It looks like an issue caused by excluding something that is required somewhere else.

@nallath nallath added the Status: Needs Info Needs more information before action can be taken. label Oct 7, 2021
@kvnper
Copy link
Author

kvnper commented Oct 7, 2021

Sure. So I still had the application open and it was working fine except for the issue above but after disabling startup optimizer and re-launching cura I got this:

image

I'm not sure what's going on, the profiles were working perfectly in 4.8

@no-response no-response bot removed the Status: Needs Info Needs more information before action can be taken. label Oct 7, 2021
@Ghostkeeper
Copy link
Collaborator

Ghostkeeper commented Oct 13, 2021

The corruption is likely caused by the earlier crashes. If those crashes are caused by a plug-in, that should be reported with the plug-in author here.

The actual crash is Could not find definition cartesio required for instance generic_pla_175_cartesio. The cartesio definition is provided with the Cura distribution, but the Start-up Optimiser might have removed this from Cura. That's what it does to improve performance, after all.

@GregValiant GregValiant added Status: Needs Info Needs more information before action can be taken. Status: Stale ⌛ This issue is over a year old. It might be obsolete or just needs a fresh set of eyes labels Nov 16, 2024
@GregValiant
Copy link
Collaborator

Is this still a problem in current versions of Cura (5.8.0 and up)? Can this be closed?

@kvnper
Copy link
Author

kvnper commented Nov 16, 2024

No idea, I don't use Cura any more so go ahead and close it

@github-actions github-actions bot removed the Status: Needs Info Needs more information before action can be taken. label Nov 16, 2024
@GregValiant
Copy link
Collaborator

Perfect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Stale ⌛ This issue is over a year old. It might be obsolete or just needs a fresh set of eyes Type: Bug The code does not produce the intended behavior.
Projects
None yet
Development

No branches or pull requests

4 participants