Stellaris

Stellaris

Stellaris Dashboard
FebHare 2019 年 11 月 15 日 上午 4:25
Planet coould be removed, and it causes error with stellaris-dashboard-0.6.0
Hello, I encountered one other error. In the log,

2019-11-15 00:10:48,600 - stellarisdashboard.timeline - ERROR - 14_-1462459786 2268.01.01 Rolling back changes to database...
Traceback (most recent call last):
File "C:\Users\user\Documents\Paradox Interactive\stellaris-dashboard-0.6.1\stellarisdashboard\timeline.py", line 63, in process_gamestate
self._process_gamestate(db_game)
File "C:\Users\user\Documents\Paradox Interactive\stellaris-dashboard-0.6.1\stellarisdashboard\timeline.py", line 111, in _process_gamestate
{key: all_dependencies[key] for key in data_processor.DEPENDENCIES}
File "C:\Users\user\Documents\Paradox Interactive\stellaris-dashboard-0.6.1\stellarisdashboard\timeline.py", line 1599, in extract_data_from_gamestate
self._update_planet_model(planet_dict, planet_model)
File "C:\Users\user\Documents\Paradox Interactive\stellaris-dashboard-0.6.1\stellarisdashboard\timeline.py", line 1602, in _update_planet_model
planet_class = planet_dict.get("planet_class")
AttributeError: 'str' object has no attribute 'get'

That said, I think I found why the error happenned.
A vanilla event "distar.1065" (from Distant Stars DLC) removed a planet, and the removed planet was saved as none, like "1262=none" in gamestate files.

Would you like to fix about removed planets? Thank you.
< >
正在显示第 1 - 5 条,共 5 条留言
blubblubblobb  [开发者] 2019 年 11 月 16 日 上午 2:51 
Yes, I will fix it. Thanks for the detailed bug report!
FebHare 2020 年 3 月 14 日 上午 12:57 
This issue still happen, with stellarisdashboard-win-v0.6.2.
(similler error log, the planet has "corrupt_data_cat" anomaly before it is removed.)
blubblubblobb  [开发者] 2020 年 3 月 15 日 下午 4:06 
I see, thanks for pointing that out. I fixed some places that could cause the issue locally, but I can't make a new release today.

To make sure, can you send me save files that show the issue, ideally one before and one after? It will be too complicated for me to reproduce the problem by myself, so I can only guess what I need to change to fix it.
最后由 blubblubblobb 编辑于; 2020 年 3 月 15 日 下午 4:07
FebHare 2020 年 3 月 16 日 上午 5:49 
This issue can be reproduced with a set of console commands.

1: point a planet or moon (one in starting system is fine).
2: execute "add_anomaly corrupt_data_cat" on console. "corrupt_data_cat" anomaly will be created.
3: execute "tweakergui instant_anomaly_research" on console.
4: search the anomaly with your science ship. The research will be finished and run distar.1065 event.
5: This event removed the celestial body.
6: save the game.

If Stellaris Dashboard data update was done before procedure 5, procedure 6 will cause this error.


Sorry for inconvenience. I've tried to upload savedata, but without any idea about good and supported-in-English uploader.
FebHare 2020 年 4 月 20 日 上午 8:12 
I confirmed this issue won't happen with stellarisdashboard-win-v1.0.
Thank you!
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50