Stellaris

Stellaris

Stellaris Dashboard
FebHare 15 Nov, 2019 @ 4:25am
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.
< >
Showing 1-5 of 5 comments
blubblubblobb  [developer] 16 Nov, 2019 @ 2:51am 
Yes, I will fix it. Thanks for the detailed bug report!
FebHare 14 Mar, 2020 @ 12:57am 
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  [developer] 15 Mar, 2020 @ 4:06pm 
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.
Last edited by blubblubblobb; 15 Mar, 2020 @ 4:07pm
FebHare 16 Mar, 2020 @ 5:49am 
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 20 Apr, 2020 @ 8:12am 
I confirmed this issue won't happen with stellarisdashboard-win-v1.0.
Thank you!
< >
Showing 1-5 of 5 comments
Per page: 1530 50