FreeCAD show the start picture and then instantly crashes on Windows 10

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
wmayer
Founder
Posts: 20245
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: FreeCAD show the start picture and then instantly crashes on Windows 10

Post by wmayer »

adrianinsaval wrote: Fri Aug 05, 2022 3:36 pm I can't recall if this issue actually crashed FreeCAD or did it just raise an error?^Also, was the fix backported?
The problem is that the attempt to read the package.xml will raise an error:
Err: Traceback (most recent call last):
File "<string>", line 276, in <module>
File "<string>", line 163, in InitApplications
<class 'Base.XMLBaseException'>: Fatal error at file "", line 0, column 0
Message: unable to open primary document entity 'C:\Users\Raphaël\AppData\Roaming\FreeCAD\Mod\A2plus\package.xml'
and as a consequence will stop the further execution of the application. So, it's not a crash in the actual sense.

The issue with the failed reading of the XML file has been fixed recently: git commit 9b165e6fcaa8 (and backported to v0.20)
What could still be improved is that a failure to parse an XML file should not cause FreeCAD to stop.
Tino332a wrote: Fri Aug 05, 2022 10:05 pm Hey, I searched into the ASCII characters and the ë was in so I believed it wasn't the problem but I'm going to try to change it.
When talking about ASCII then it's meant 7-bit ASCII, i.e. the range [0, 127] because only this subset is guaranteed to be the same on all systems worldwide while 8-bit ASCII isn't.
Post Reply