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

[Bug]: Setting the stability override for a mod from the recommendations screen throws an exception #4290

Open
1 task done
SofieBrink opened this issue Jan 23, 2025 · 0 comments
Labels
Bug Something is not working as intended GUI Issues affecting the interactive GUI

Comments

@SofieBrink
Copy link

SofieBrink commented Jan 23, 2025

Is there an existing issue for this?

  • I have checked the existing issues for an existing issue. I even actually looked at the ones that are pinned to the top!

Operating System

Windows 11

CKAN Version

v1.35.3.25022

Games

KSP 1

Game Version

1.12.5

Did you make any manual changes to your game folder (i.e., not via CKAN)?

No

Describe the bug

When setting the stability override for a mod in the recommendation screen CKAN throws an InvalidOperationException.
You have to close CKAN and restart as this exception seems to leave the application in an irrecoverable state.

Steps to reproduce

  • Select a mod to install which has one or more recommended or suggested mods
  • Click apply
  • Try and set the stability tolerance override for one of the recommended or suggested mods
  • Observe the exception

Relevant log output

System.InvalidOperationException: This BackgroundWorker is currently busy and cannot run multiple tasks concurrently.
   at System.ComponentModel.BackgroundWorker.RunWorkerAsync(Object argument)
   at CKAN.GUI.Main.RefreshModList(Boolean allowAutoUpdate, Dictionary`2 oldModules)
   at CKAN.GUI.Main.StabilityToleranceConfig_Changed(String identifier, Nullable`1 relStat)
   at CKAN.Configuration.StabilityToleranceConfig.SetModStabilityTolerance(String identifier, Nullable`1 relStat)
   at CKAN.GUI.Versions.StabilityToleranceComboBox_SelectionChanged(Object sender, EventArgs e)
   at System.Windows.Forms.ComboBox.OnSelectionChangeCommitted(EventArgs e)
   at System.Windows.Forms.ComboBox.OnSelectionChangeCommittedInternal(EventArgs e)
   at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
   at System.Windows.Forms.ComboBox.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
@HebaruSan HebaruSan added Bug Something is not working as intended GUI Issues affecting the interactive GUI labels Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is not working as intended GUI Issues affecting the interactive GUI
Projects
None yet
Development

No branches or pull requests

2 participants