LegendsBrowser2
LegendsBrowser2 copied to clipboard
panic: interface conversion: model.HistoricalEventDetails is *model.HistoricalEventUnknown, not *model.HistoricalEventChangeHfState
Dwarf Fortress Version 50.14 DFHack Version 50.14-rc1.1
I receive this error when trying to use a legends plus export:
Loading: region1-00100-01-01-legends_plus.xml
17.47 MiB / 17.47 MiB [-------------------------------------------------------------------------------------------------------------] 100.00% ? p/s 100ms
Loading: region1-00100-01-01-legends_plus.xml
panic: interface conversion: model.HistoricalEventDetails is *model.HistoricalEventUnknown, not *model.HistoricalEventChangeHfState
goroutine 1 [running]:
github.com/robertjanetzko/LegendsBrowser2/backend/model.parseHistoricalEventPlus(0xc001abcb70, 0xc0001cb200?)
/home/john/.steam/steam/steamapps/common/Dwarf Fortress/LegendsBrowser2/backend/model/model.go:25397 +0x19eb
github.com/robertjanetzko/LegendsBrowser2/backend/model.parseMapPlus[...](0xc001abcb70, 0xc000002218, 0xc30448)
/home/john/.steam/steam/steamapps/common/Dwarf Fortress/LegendsBrowser2/backend/model/parse.go:222 +0xc2
github.com/robertjanetzko/LegendsBrowser2/backend/model.parseDfWorldPlus(0xc001abcb70, 0x24?)
/home/john/.steam/steam/steamapps/common/Dwarf Fortress/LegendsBrowser2/backend/model/model.go:23928 +0x865
github.com/robertjanetzko/LegendsBrowser2/backend/model.Parse({0x7ffcc1dfcf23, 0x24}, 0x0)
/home/john/.steam/steam/steamapps/common/Dwarf Fortress/LegendsBrowser2/backend/model/parse.go:130 +0x51a
main.init.func1(0xc0001a8300?, {0x9f3770?, 0x4?, 0x9f3774?})
/home/john/.steam/steam/steamapps/common/Dwarf Fortress/LegendsBrowser2/backend/main.go:66 +0x245
github.com/spf13/cobra.(*Command).execute(0x10b5f20, {0xc000024160, 0x2, 0x2})
/home/john/go/pkg/mod/github.com/spf13/[email protected]/command.go:860 +0x684
github.com/spf13/cobra.(*Command).ExecuteC(0x10b5f20)
/home/john/go/pkg/mod/github.com/spf13/[email protected]/command.go:974 +0x38d
github.com/spf13/cobra.(*Command).Execute(...)
/home/john/go/pkg/mod/github.com/spf13/[email protected]/command.go:902
main.main()
/home/john/.steam/steam/steamapps/common/Dwarf Fortress/LegendsBrowser2/backend/main.go:84 +0x4c