Dwarf-Therapist icon indicating copy to clipboard operation
Dwarf-Therapist copied to clipboard

Crash when loading duplicate views into Dwarf Therapist

Open ResidentMario opened this issue 11 years ago • 4 comments

Since I wrote the Labors-Compact and Labors-Full view first and passed it to you, I already have these in my files. Attempting to load the latest version of Dwarf Therapist invokes the appropriate error message, but then consistently crashes the program.

If you ever chose to incorporate a popular view that's been distributed through exporting into the standard install this will cause issues.

ResidentMario avatar Aug 15 '14 15:08 ResidentMario

Update: manually removing the offending information in Dwarf_Therapist.ini causes a delayed, consistent crash. I'm guessing this has to do with the count attribute still being incremented to a higher number then you have custom views defined? I've snipped my remaining custom view and set count=0: this fixed this crash as well, but deprived me of my fancy view. I'm not sure what numbers I need to change here to get it working again:

https://gist.github.com/ResidentMario/e874353851d522bfc5e3#file-recruitment_grid_view_raw

Another update: Never mind, still crashing consistently. Not sure why at this point. Can you provide me with a clean Dwarf Therapist.ini?

ResidentMario avatar Aug 15 '14 16:08 ResidentMario

Under [gui_options] in Dwarf Therapist.ini try setting the tab_order option to nothing. If that works, then the issue has already been resolved.

splintermind avatar Aug 16 '14 06:08 splintermind

Leaving it at "tab_order=", "tab_order="Nothing", and "tab_order=nothing" all seem to cause Therapist to crash on init unfortunately.

ResidentMario avatar Aug 16 '14 17:08 ResidentMario

Is this still happening in the most recent version (24.0)?

splintermind avatar Aug 22 '14 15:08 splintermind