Kromtec / LegendsViewer

Recreates Dwarf Fortress' Legends Mode from exported files.
GNU General Public License v3.0
62 stars 19 forks source link

Reddit report "There was an error loading this XML file! Do you wish to attempt a repair?" #48

Closed clinodev closed 4 years ago

clinodev commented 4 years ago

Hey there, passing on a reddit report with a pastebin link. https://www.reddit.com/r/dwarffortress/comments/ff6dje/preview_win64_04704_pack_caveat_emptor_edition/fjynacj/

Text:

Lordbobsaget

LegendsViewer straight up just doesn't work.

Loading the xml file in gives a popup saying "There was an error loading this XML file! Do you wish to attempt a repair?"

Selecting yes gives a Microsoft .NET Framework Exception

(https://pastebin.com/5eTxq3EQ)

If you select continue the program does nothing and never loads the legends file.

Kromtec commented 4 years ago

Thanks, I contacted the poster of the issue. I presume, this could be the cause of the problem. If that is the case, I cannot fix it and Toady has to format user inputs in a way that they do not corrupt the xml file.

Kromtec commented 4 years ago

It was this DFHack script error, that should be fixed in their next version.