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

Exception when trying to install mod with suggested mods #2505

Closed
zskamljic opened this issue Aug 18, 2018 · 1 comment
Closed

Exception when trying to install mod with suggested mods #2505

zskamljic opened this issue Aug 18, 2018 · 1 comment
Labels
Duplicate Duplicate of another issue

Comments

@zskamljic
Copy link

zskamljic commented Aug 18, 2018

Background

CKAN Version:
1.25.1

KSP Version:
1.4.5

Operating System:
ArchLinux 4.18.1

Have you made any manual changes to your GameData folder (i.e., not via CKAN)?
No.

Problem

What steps did you take in CKAN?
Select Kerbal Alarm clock to be installed, click apply changes, click apply, uncheck or leave Trigger AuFlags checked, click continue

What did you expect to happen?
The mod to be installed

What happened instead?
The GUI content was replaced by a red rectangle with diagonals, the following exception was thrown:

System.ArgumentOutOfRangeException: ControlCollection does not have that many controls
Parameter name: index
Actual value was 3.
  at System.Windows.Forms.Control+ControlCollection.get_Item (System.Int32 index) [0x00027] in <206d6d7865674caba761ab5f5b301dc0>:0 
  at System.Windows.Forms.TabControl.GetTab (System.Int32 index) [0x00006] in <206d6d7865674caba761ab5f5b301dc0>:0 
  at System.Windows.Forms.TabControl.GetTabRect (System.Int32 index) [0x00000] in <206d6d7865674caba761ab5f5b301dc0>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.TabControl.GetTabRect(int)
  at System.Windows.Forms.Theming.Default.TabControlPainter.Draw (System.Drawing.Graphics dc, System.Drawing.Rectangle area, System.Windows.Forms.TabControl tab) [0x000df] in <206d6d7865674caba761ab5f5b301dc0>:0 
  at System.Windows.Forms.ThemeWin32Classic.DrawTabControl (System.Drawing.Graphics dc, System.Drawing.Rectangle area, System.Windows.Forms.TabControl tab) [0x0000a] in <206d6d7865674caba761ab5f5b301dc0>:0 
  at System.Windows.Forms.TabControl.Draw (System.Drawing.Graphics dc, System.Drawing.Rectangle clip) [0x00005] in <206d6d7865674caba761ab5f5b301dc0>:0 
  at System.Windows.Forms.TabControl.OnPaintInternal (System.Windows.Forms.PaintEventArgs pe) [0x00017] in <206d6d7865674caba761ab5f5b301dc0>:0 
  at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m) [0x0006d] in <206d6d7865674caba761ab5f5b301dc0>:0 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x001a4] in <206d6d7865674caba761ab5f5b301dc0>:0 
  at System.Windows.Forms.TabControl.WndProc (System.Windows.Forms.Message& m) [0x00057] in <206d6d7865674caba761ab5f5b301dc0>:0 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <206d6d7865674caba761ab5f5b301dc0>:0 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x0000b] in <206d6d7865674caba761ab5f5b301dc0>:0 
  at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00085] in <206d6d7865674caba761ab5f5b301dc0>:0 

The error does not occur if you select to install suggested items along with the main mod.

Screenshots:
image

CKAN error codes (if applicable):
Exception noted above.

@HebaruSan
Copy link
Member

Duplicate of #2499, fixing in #2501.

@HebaruSan HebaruSan added the Duplicate Duplicate of another issue label Aug 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate Duplicate of another issue
Projects
None yet
Development

No branches or pull requests

2 participants