View Issue Details

IDProjectCategoryView StatusLast Update
0011222Dwarf FortressLegends Mode -- History Exportpublic2020-02-03 21:00
ReporterFrancis_the_dwarf Assigned ToToady One  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
PlatformMacOSmacOSOS Version10.13.6
Product Version0.47.01 
Fixed in Version0.47.02 
Summary0011222: Legends export has wrong terminating tag for interrogator_hfid
DescriptionI generated a pocket world and exported the history. When I loaded it up in LegendsBrowser, it mentioned that it had a missing terminating tag.

Digging into the actual file:

<historical_event>
        <id>111264</id>
        <year>494</year>
        <seconds72>369600</seconds72>
        <type>hf convicted</type>
        <convicted_hfid>3104</convicted_hfid>
        <convicter_enid>42</convicter_enid>
        <crime>murder</crime>
        <confessed_after_apb_arrest_enid>42</confessed_after_apb_arrest_enid>
        <interrogator_hfid>11189</convicted_hfid>
Additional InformationGenerating world using parameter set CREATE WORLD NOW = 1443223
 Seed: lRR5QSTppyt0Km2or4Xb
 History Seed: HiH1U8bjRcFiKx8xb43h
 Name Seed: 0TP10C7kdqrDG8Ah2sLp
 Creature Seed: cjMaLPUtLSIOhqCmx9uh

I tried to generate a new world to reproduce the error, but after 3 other worlds non had the interrogator_hfid tag in the exported XML
TagsProbable Quick Fix

Activities

Francis_the_dwarf

2020-01-29 05:51

reporter   ~0039692

I was able to reproduce this with another world finally. Additionally, I found another one that seems to have a similar error:

<conspirator_hfid>33863</conspirator>

beef623

2020-01-30 10:54

reporter   ~0039722

I had both in my world generated with the default settings in Linux.

As a temporary workaround, I fixed the exported file with the following commands:

sed -i s/<\/conspirator>/<\/conspirator_hfid>/g' region1-....-legends.xml
sed -i s/<interrogator_hfid>\([0-9]*\)<\/convicted_hfid>/<interrogator_hfid>\1<\/interrogator_hfid>/g' region1-....-legends.xml

Toady One

2020-02-03 21:00

administrator   ~0039845

Blerg, whoops.

Issue History

Date Modified Username Field Change
2020-01-29 05:02 Francis_the_dwarf New Issue
2020-01-29 05:51 Francis_the_dwarf Note Added: 0039692
2020-01-30 10:54 beef623 Note Added: 0039722
2020-01-30 12:47 Loci Assigned To => Loci
2020-01-30 12:47 Loci Status new => confirmed
2020-01-30 12:47 Loci Tag Attached: Probable Quick Fix
2020-02-03 21:00 Toady One Note Added: 0039845
2020-02-03 21:00 Toady One Status confirmed => resolved
2020-02-03 21:00 Toady One Fixed in Version => Next Version
2020-02-03 21:00 Toady One Resolution open => fixed
2020-02-03 21:00 Toady One Assigned To Loci => Toady One