Stellaris

Stellaris

Stellaris Dashboard
MrFunEGUY 28 Aug, 2021 @ 1:38pm
500 Internal Server Error when I try to look at my empire's logs
So the program still seems to be running and working fine, and I can even view most, if not all other empires logs. But when I click on my own country I get a 500 Internal Server Error.

The dashboard terminal says this:

Traceback (most recent call last): File "flask\app.py", line 2447, in wsgi_app File "flask\app.py", line 1952, in full_dispatch_request File "flask\app.py", line 1821, in handle_user_exception File "flask\_compat.py", line 39, in reraise File "flask\app.py", line 1950, in full_dispatch_request File "flask\app.py", line 1936, in dispatch_request File "stellarisdashboard\dashboard_app\history_ledger.py", line 33, in history_page File "stellarisdashboard\dashboard_app\history_ledger.py", line 261, in get_event_and_link_dicts File "stellarisdashboard\dashboard_app\history_ledger.py", line 322, in collect_event_dicts File "stellarisdashboard\dashboard_app\history_ledger.py", line 349, in _preformat_urls File "stellarisdashboard\dashboard_app\history_ledger.py", line 395, in _get_url_for AttributeError: 'NoneType' object has no attribute 'startswith' 2021-08-28 14:35:03,090 - werkzeug - INFO - 127.0.0.1 - - [28/Aug/2021 14:35:03] "←[35m←[1mGET /history/grandrepublicofearth_-627183290?country=1 HTTP/1.1←[0m" 500 -

Here's a link to the Stellaris Dashboard database file:
https://drive.google.com/file/d/1cP3BXZXNRjPKl0wJSQXpOfv0t9emBowg/view?usp=sharing

Here's a link to the most recent save file:
https://drive.google.com/file/d/1ahIuWKclPy5uZUDeabArmSWAsaSqjtWW/view?usp=sharing

You've already helped me a ton with this program, hope this isn't too much trouble. Thanks!
Last edited by MrFunEGUY; 28 Aug, 2021 @ 3:22pm
< >
Showing 1-4 of 4 comments
blubblubblobb  [developer] 29 Aug, 2021 @ 4:31am 
Hi, thanks for letting me know about this bug.

It looks like a planet (with ID 9021 in the game) in the "Lilii Borea" system got added to the database without a name or planet class defined. The planet also does not exist in the save file you uploaded.

I'm not sure what caused this, but I can change the code so this kind of planet will show as "Unnamed Planet" instead of crashing the application.
MrFunEGUY 29 Aug, 2021 @ 10:00am 
You're amazing, thanks so much. I really appreciate it.

On Lili Borea, that planet was a habitat that I built. Unsure why it would do that.
Last edited by MrFunEGUY; 29 Aug, 2021 @ 10:01am
blubblubblobb  [developer] 29 Aug, 2021 @ 2:55pm 
I made a new release that should hopefully fix it
MrFunEGUY 29 Aug, 2021 @ 6:52pm 
It does work now, thanks a ton.
< >
Showing 1-4 of 4 comments
Per page: 1530 50