Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pressing Transfers and Air Wing buttons cause exceptions #3481

Open
GoldenGnu opened this issue Jan 9, 2025 · 0 comments
Open

Pressing Transfers and Air Wing buttons cause exceptions #3481

GoldenGnu opened this issue Jan 9, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@GoldenGnu
Copy link

Affected versions

12.0.1

Build information

DCS Liberation 12.0.0

Description

Pressing the button "Transfers" with a clean install and no campaign loaded causes the following error:

'NoneType' object has no attribute 'coalition_for'

Traceback (most recent call last):
  File "qt_ui\models.py", line 380, in rowCount
  File "qt_ui\models.py", line 377, in transfers
AttributeError: 'NoneType' object has no attribute 'coalition_for'

Same with the button "Air Wing":

'NoneType' object has no attribute 'theater'

Traceback (most recent call last):
  File "qt_ui\windows\QLiberationWindow.py", line 545, in showAirWingDialog
  File "qt_ui\windows\AirWingDialog.py", line 262, in __init__
  File "qt_ui\windows\AirWingDialog.py", line 240, in __init__
AttributeError: 'NoneType' object has no attribute 'theater'

Save game and other files (save game required, bugs without saves will be closed)

The bug happens without any campaigns started on a clean install of liberation, so there are no files in %USERPROFILE%/Saved Games/DCS/Liberation/Saves

Log: liberation.log

@GoldenGnu GoldenGnu added the bug Something isn't working label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant