Cura icon indicating copy to clipboard operation
Cura copied to clipboard

Cura crashes and displays fatal error message

Open Neal3D opened this issue 1 year ago • 1 comments

Cura Version

5.7

Operating System

Windows 11 home

Printer

Makertech Proforge 4.1 with klipper

Reproduction steps

I am trying to uninstall Cura completely so that I can install it correctly I have tried uninstalling it and deleting the files that cures website says to delete before uninstalling and it still is not erasing it. I want to reinstall it completely clean

I tried to install Makertech Proforge 4.1 I copy the files into Cura but I think I put it in the wrong folder and now it crashes as soon as you open it and it says

Crash Report A fatal error has occurred in Cura. Please send us this Crash Report to fix the problem

IMG_20240523_234309071

Actual results

After you hit send bug report Cura crashes

Expected results

It should have added the new printer profile

Add your .zip and screenshots here ⬇️

This is the GitHub for the Makertech Proforge 4.1 files that I transferred to Cura

https://github.com/Makertech3D/Makertech-Cura_Resources

Neal3D avatar May 25 '24 05:05 Neal3D

Thanks for the report. If there is a coding error in any of the definition files it will cause Cura to crash. It could be something as simple as a misplaced quotation mark or an unmatched parentheses symbol. It would be up to the provider of that definition to figure out where the error is. In this case it might be a mix of tabs and spaces used for the indents. The last couple of lines in the top textbox of that crash dialog will often point to the file that is causing the crash.

I'm going to remove the bug label from this as it is very likely a problem with the definition files from MakerTech. Let me know if you feel that is premature. I'll leave this open for a bit so you can respond.

You can delete the "Configuration Folder" (on Windows is is usually something like "...C:\Users...name...\AppData\Roaming\cura\5.7") if it was not removed during the un-install. That should allow a clean re-installation.

GregValiant avatar May 25 '24 09:05 GregValiant

Thank you I'll try that and see if that fixes it

Neal3D avatar May 25 '24 20:05 Neal3D

I adjusted that printer definition file by fixing all the indents. There was also an extra "}" that would definitely cause a crash. After the repair it seemed to be OK.

GregValiant avatar May 25 '24 21:05 GregValiant

I got cure uninstalled and reinstalled as if it was new. Thanks to your help!! Do you mind sending me the file printer definition file, you fixed? As you can tell, I'm not very good at this stuff.

Neal3D avatar May 26 '24 06:05 Neal3D

That's official MakerTech software so I won't step on their toes or create an "unofficial" version.

Any definition file involves numerous other files for Quality, Nozzles, Extruders, etc.. I took a quick look at one of them and found errors. Did I luck out and find the only one with errors? Did I find all the errors? Probably not. All 25 or so definition files would need to be gone through.

I did fill out a bug report on that Github page. Hopefully someone will be paying attention and fix the issue(s).

GregValiant avatar May 26 '24 09:05 GregValiant

That's completely understandable thank you

On Sun, May 26, 2024, 5:59 AM GregValiant @.***> wrote:

That's official MakerTech software so I won't step on their toes or create an "unofficial" version.

Any definition file involves numerous other files for Quality, Nozzles, Extruders, etc.. I took a quick look at one of them and found errors. Did I luck out and find the only one with errors? Did I find all the errors? Probably not. All 25 or so definition files would need to be gone through.

I did fill out a bug report on that Github page.

— Reply to this email directly, view it on GitHub https://github.com/Ultimaker/Cura/issues/19133#issuecomment-2132159486, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIXAHRRS7Q2K6SIXU2I2I3TZEGXBTAVCNFSM6AAAAABIITR2ACVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZSGE2TSNBYGY . You are receiving this because you authored the thread.Message ID: @.***>

Neal3D avatar May 26 '24 12:05 Neal3D