Stellaris

Stellaris

Stellaris Dashboard
MrFunEGUY 2021 年 8 月 28 日 下午 1:38
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!
最后由 MrFunEGUY 编辑于; 2021 年 8 月 28 日 下午 3:22
< >
正在显示第 1 - 4 条,共 4 条留言
blubblubblobb  [开发者] 2021 年 8 月 29 日 上午 4:31 
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 2021 年 8 月 29 日 上午 10:00 
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.
最后由 MrFunEGUY 编辑于; 2021 年 8 月 29 日 上午 10:01
blubblubblobb  [开发者] 2021 年 8 月 29 日 下午 2:55 
I made a new release that should hopefully fix it
MrFunEGUY 2021 年 8 月 29 日 下午 6:52 
It does work now, thanks a ton.
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50