Stellaris

Stellaris

Stellaris Dashboard
Aelie 23 May, 2021 @ 10:26am
Parser unable to read saves
I'm getting the following errors when trying to load this save

2021-05-23 13:24:36,154 - stellarisdashboard.parsing.timeline - INFO - sovereigntyofsmolesia_1930451807 2200.07.01 Adding new game sovereigntyofsmolesia_1930451807 to database. 2021-05-23 13:24:36,154 - stellarisdashboard.parsing.timeline - INFO - sovereigntyofsmolesia_1930451807 2200.07.01 - Processing systems 2021-05-23 13:24:37,168 - stellarisdashboard.parsing.timeline - INFO - sovereigntyofsmolesia_1930451807 2200.07.01 done (1.016 s) 2021-05-23 13:24:37,168 - stellarisdashboard.parsing.timeline - INFO - sovereigntyofsmolesia_1930451807 2200.07.01 - Processing bypass 2021-05-23 13:24:37,184 - stellarisdashboard.parsing.timeline - INFO - sovereigntyofsmolesia_1930451807 2200.07.01 done (0.016 s) 2021-05-23 13:24:37,184 - stellarisdashboard.parsing.timeline - INFO - sovereigntyofsmolesia_1930451807 2200.07.01 - Processing country 2021-05-23 13:24:37,242 - stellarisdashboard.parsing.timeline - INFO - sovereigntyofsmolesia_1930451807 2200.07.01 done (0.062 s) 2021-05-23 13:24:37,242 - stellarisdashboard.parsing.timeline - INFO - sovereigntyofsmolesia_1930451807 2200.07.01 - Processing system_owners 2021-05-23 13:24:37,264 - stellarisdashboard.parsing.timeline - INFO - sovereigntyofsmolesia_1930451807 2200.07.01 done (0.016 s) 2021-05-23 13:24:37,264 - stellarisdashboard.parsing.timeline - INFO - sovereigntyofsmolesia_1930451807 2200.07.01 - Processing diplomacy 2021-05-23 13:24:37,267 - stellarisdashboard.parsing.timeline - INFO - sovereigntyofsmolesia_1930451807 2200.07.01 done (0.000 s) 2021-05-23 13:24:37,267 - stellarisdashboard.parsing.timeline - INFO - sovereigntyofsmolesia_1930451807 2200.07.01 - Processing diplomatic_relations 2021-05-23 13:24:37,273 - stellarisdashboard.parsing.timeline - INFO - sovereigntyofsmolesia_1930451807 2200.07.01 done (0.016 s) 2021-05-23 13:24:37,273 - stellarisdashboard.parsing.timeline - INFO - sovereigntyofsmolesia_1930451807 2200.07.01 - Processing sensor_links 2021-05-23 13:24:37,273 - stellarisdashboard.parsing.timeline - INFO - sovereigntyofsmolesia_1930451807 2200.07.01 done (0.000 s) 2021-05-23 13:24:37,276 - stellarisdashboard.parsing.timeline - INFO - sovereigntyofsmolesia_1930451807 2200.07.01 - Processing country_data 2021-05-23 13:24:37,335 - stellarisdashboard.parsing.timeline - INFO - sovereigntyofsmolesia_1930451807 2200.07.01 done (0.062 s) 2021-05-23 13:24:37,335 - stellarisdashboard.parsing.timeline - INFO - sovereigntyofsmolesia_1930451807 2200.07.01 - Processing species 2021-05-23 13:24:37,554 - stellarisdashboard.parsing.timeline - INFO - sovereigntyofsmolesia_1930451807 2200.07.01 done (0.219 s) 2021-05-23 13:24:37,554 - stellarisdashboard.parsing.timeline - INFO - sovereigntyofsmolesia_1930451807 2200.07.01 - Processing leader 2021-05-23 13:24:37,642 - stellarisdashboard.parsing.timeline - ERROR - sovereigntyofsmolesia_1930451807 2200.07.01 Rolling back changes to database... Traceback (most recent call last): File "stellarisdashboard\parsing\timeline.py", line 53, in process_gamestate File "stellarisdashboard\parsing\timeline.py", line 102, in _process_gamestate File "stellarisdashboard\parsing\timeline.py", line 983, in extract_data_from_gamestate File "stellarisdashboard\parsing\timeline.py", line 1031, in _check_new_leaders File "stellarisdashboard\parsing\timeline.py", line 1060, in _add_new_leader File "stellarisdashboard\parsing\timeline.py", line 1089, in _update_leader_attributes File "stellarisdashboard\parsing\timeline.py", line 1077, in get_leader_name KeyError: 'name' 2021-05-23 13:24:37,646 - stellarisdashboard.dashboard_app.visualization_data - WARNING - Warning: Game sovereigntyofsmolesia_1930451807 could not be found in database! Traceback (most recent call last): File "stellarisdashboard\__main__.py", line 29, in <module> File "stellarisdashboard\__main__.py", line 21, in main File "stellarisdashboard\cli.py", line 85, in f_monitor_saves File "stellarisdashboard\dashboard_app\visualization_data.py", line 85, in get_current_execution_plot_data File "stellarisdashboard\dashboard_app\visualization_data.py", line 188, in update_with_new_gamestate File "stellarisdashboard\datamodel.py", line 355, in get_gamestates_since File "sqlalchemy\orm\query.py", line 3500, in one raise orm_exc.NoResultFound("No row was found for one()") sqlalchemy.orm.exc.NoResultFound: No row was found for one() [18640] Failed to execute script __main__
< >
Showing 1-4 of 4 comments
Aelie 23 May, 2021 @ 11:52am 
this seems to be because some factions (in this case mining drones) are getting leaders added with no name. seems like the parser needs to just silently pass over leaders with no name instead of crashing on them
blubblubblobb  [developer] 25 May, 2021 @ 10:18am 
Thanks for this detailed bug report as well. It seems like it should be easy to fix.

If possible, could you again send me a save file that causes this crash so I can check it?
blubblubblobb  [developer] 29 May, 2021 @ 2:51am 
Fixed, will make a release today
< >
Showing 1-4 of 4 comments
Per page: 1530 50