Stellaris

Stellaris

Stellaris Dashboard
FebHare 2018 年 8 月 13 日 上午 8:06
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.
< >
正在显示第 1 - 3 条,共 3 条留言
blubblubblobb  [开发者] 2018 年 8 月 13 日 下午 1:21 
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 2018 年 8 月 14 日 上午 1:32 
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  [开发者] 2018 年 8 月 14 日 下午 2:03 
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.
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50