Stellaris

Stellaris

Stellaris Dashboard
FebHare 13 Aug, 2018 @ 8:06am
Abort when save, might be species_data problem?
I played with other game, the dashboard program abort when savedata is made. Error messsage says:
File "c:\users\user\documents\paradox interactive\stellaris-dashboard-0.1.5-alpha\src\stellarisdashboard\timeline.py", line 649, in _extract_pop_info_from_planets
species_name = species_data["name"]
KeyError: 'name'

I am figuring the program couldn't handle some specie name, because when I changed specie name the program won't abort. 6 multiple-byte characters (in my case, Japanese katakana) make abort, 3 multiple-byte characters don't.
< >
Showing 1-3 of 3 comments
blubblubblobb  [developer] 13 Aug, 2018 @ 1:21pm 
That's interesting. I have mainly tested with ASCII names. If you want, you can send me a save file and I can try to fix the issue.
FebHare 14 Aug, 2018 @ 1:32am 
Thank you.
But I retry with same 6 multiple-byte characters and it works.

And after some debugging (look savedata and insert some logger.warning myself), I think another species is the problem. Some species has no name in the gamestate file, so _extract_pop_info_from_planets failed to read species_name of a pop of nameless species.

I am not sure what makes the species nameless (vannila code? other mod?), I think it is not dashboard problem.

I apologize for causing trouble.
blubblubblobb  [developer] 14 Aug, 2018 @ 2:03pm 
No trouble at all. If you want you could still send me the save file. Or I will just try to make the code more resilient to missing species names.
< >
Showing 1-3 of 3 comments
Per page: 1530 50