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] Crash after importing .ckan file, and on launch afterwards #3007

Closed
Osthekake opened this issue Feb 17, 2020 · 2 comments · Fixed by #3008
Closed

[Bug] Crash after importing .ckan file, and on launch afterwards #3007

Osthekake opened this issue Feb 17, 2020 · 2 comments · Fixed by #3008
Labels
Bug Something is not working as intended GUI Issues affecting the interactive GUI

Comments

@Osthekake
Copy link

Osthekake commented Feb 17, 2020

Background

  • Operating System: Windows 10
  • CKAN Version: 1.27.0
  • KSP Version: 1.8.1.2694

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

Problem

I get an error whenever I start ckan. This happens after I imported a .ckan on an install with no previous mods. The error further causes all my mods to be marked as "Remove" in the changelist. I can clear the changelist, but all the mods are added back whenever I select a mod for updating. This makes it impossible to update the mods in ckan, since it will always want to remove every mod.

Steps to reproduce

  • Clean install. No mods.
  • Import a .ckan list (Mine is provided)
  • Error should appear now
  • Close Ckan, open again.
  • Error appears now as well.
  • Every addon is in changelist to be removed

Expected behavior
No error message
All mods should not be added to be removed

Screenshots (if applicable)
error

changeset

CKAN error code (if applicable):
Pardon the Norwegian

Se slutten av denne meldingen for detaljert informasjon om aktivering av 
JIT-feilsøking (Just In Time) i stedet for denne dialogboksen.

************** Unntakstekst **************
System.ArgumentOutOfRangeException: InvalidArgument=Verdi 2 er en ugyldig for index.
Parameternavn: index
   ved System.Windows.Forms.TabControl.GetTabPage(Int32 index)
   ved System.Windows.Forms.TabControl.TabPageCollection.get_Item(Int32 index)
   ved CKAN.ThemedTabControl.OnDrawItem(DrawItemEventArgs e)
   ved System.Windows.Forms.TabControl.WmReflectDrawItem(Message& m)
   ved System.Windows.Forms.TabControl.WndProc(Message& m)
   ved System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   ved System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   ved System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

**

.ckan file

{
    "spec_version": "v1.18",
    "identifier": "installed-portable",
    "name": "installed-portable",
    "abstract": "A list of modules installed on the portable KSP instance",
    "version": "2020.02.13.06.35.05",
    "license": [
        "unknown"
    ],
    "depends": [
        {
            "name": "UniversalStorage2",
            "version": "1.7.0.10"
        },
        {
            "name": "ContractConfigurator",
            "version": "1.28.0"
        },
        {
            "name": "Strategia",
            "version": "1.8.0"
        },
        {
            "name": "CryoTanks",
            "version": "1.4.0"
        },
        {
            "name": "FinalFrontier",
            "version": "1.8.1-3479"
        },
        {
            "name": "ContractConfigurator-Tourism",
            "version": "1.5.2"
        },
        {
            "name": "CommunityTechTree",
            "version": "1:3.4.0"
        },
        {
            "name": "CommunityResourcePack",
            "version": "1.3.0.0"
        },
        {
            "name": "CustomBarnKit",
            "version": "1.1.20.0"
        },
        {
            "name": "Kerbalism-Config-Default",
            "version": "3.5"
        },
        {
            "name": "KerbalChangelog",
            "version": "v1.1.6"
        },
        {
            "name": "UnKerballedStart",
            "version": "1.1"
        },
        {
            "name": "Kerbalism",
            "version": "3.5"
        },
        {
            "name": "CommunityCategoryKit",
            "version": "5.0.0.0"
        },
        {
            "name": "KAS",
            "version": "1.5"
        },
        {
            "name": "KIS",
            "version": "1.24"
        },
        {
            "name": "SCANsat",
            "version": "v18.14"
        },
        {
            "name": "KerbalAlarmClock",
            "version": "v3.12.0.0"
        },
        {
            "name": "EasyVesselSwitch",
            "version": "2.0"
        },
        {
            "name": "PlanetShine-Config-Default",
            "version": "0.2.6.3"
        },
        {
            "name": "DistantObject-default",
            "version": "v2.0.0.1"
        },
        {
            "name": "ModuleManager",
            "version": "4.1.3"
        },
        {
            "name": "AstronomersVisualPack",
            "version": "2:4.0.0.0"
        },
        {
            "name": "AVP-8kTextures",
            "version": "v1.10"
        },
        {
            "name": "Scatterer-sunflare",
            "version": "2:v0.0541"
        },
        {
            "name": "KS3P",
            "version": "V6.1"
        },
        {
            "name": "Scatterer",
            "version": "2:v0.0541"
        },
        {
            "name": "PlanetShine",
            "version": "0.2.6.3"
        },
        {
            "name": "DistantObject",
            "version": "v2.0.0.1"
        },
        {
            "name": "Scatterer-config",
            "version": "2:v0.0541"
        },
        {
            "name": "KerbalPlanetaryBaseSystems",
            "version": "v1.6.10"
        },
        {
            "name": "MechJeb2",
            "version": "2.9.2.0"
        },
        {
            "name": "NearFutureSolar",
            "version": "1.1.0"
        },
        {
            "name": "OrbitalSurveyPlus",
            "version": "2.3.6"
        },
        {
            "name": "NearFutureConstruction",
            "version": "1.2.1"
        },
        {
            "name": "NearFutureSpacecraft",
            "version": "1.3.0"
        },
        {
            "name": "NearFutureSolar-Core",
            "version": "1.1.0"
        },
        {
            "name": "B9PartSwitch",
            "version": "v2.13.0"
        },
        {
            "name": "NearFutureProps",
            "version": "1:0.6.1"
        },
        {
            "name": "StageRecovery",
            "version": "1.9.2.2"
        },
        {
            "name": "ToolbarController",
            "version": "1:0.1.9.4"
        },
        {
            "name": "ClickThroughBlocker",
            "version": "0.1.9.5"
        },
        {
            "name": "FelineUtilityRovers",
            "version": "1.2.10"
        },
        {
            "name": "BonVoyage",
            "version": "1:1.0.1.1"
        },
        {
            "name": "TrackingStationEvolved",
            "version": "5.0"
        },
        {
            "name": "KerbalInventorySystemNoFun",
            "version": "v1.4.2"
        },
        {
            "name": "EnvironmentalVisualEnhancements",
            "version": "2:EVE-1.8.0-2"
        },
        {
            "name": "NearFutureElectrical",
            "version": "1.1.0"
        },
        {
            "name": "RemoteTechRedevAntennas",
            "version": "0.1.1"
        },
        {
            "name": "ReStock",
            "version": "1.0.3"
        },
        {
            "name": "StationKeeping",
            "version": "1:0.2.2"
        },
        {
            "name": "DeployableEngines",
            "version": "1.2.0"
        },
        {
            "name": "CryoTanks-Core",
            "version": "1.4.0"
        },
        {
            "name": "KerbalAtomics-NTRModSupport",
            "version": "1.1.1"
        },
        {
            "name": "DynamicBatteryStorage",
            "version": "2:2.1.4.0"
        },
        {
            "name": "KerbalAtomics",
            "version": "1:1.1.1"
        },
        {
            "name": "NearFutureElectrical-Core",
            "version": "1.1.0"
        },
        {
            "name": "KerbalEngineerRedux",
            "version": "1.1.7.1"
        },
        {
            "name": "ReStockPlus",
            "version": "1.0.3"
        },
        {
            "name": "ConfigurableContainers",
            "version": "2.4.8"
        },
        {
            "name": "AT-Utils",
            "version": "v1.9.0"
        },
        {
            "name": "ConfigurableContainers-Core",
            "version": "2.4.8"
        },
        {
            "name": "MissingHistory",
            "version": "1.8.1"
        },
        {
            "name": "KSTS",
            "version": "2.0.0.1"
        },
        {
            "name": "ZeroMiniAVC",
            "version": "1:1.1.0.1"
        }
    ],
    "recommends": [],
    "suggests": [],
    "kind": "metapackage"
}
@HebaruSan HebaruSan added Bug Something is not working as intended GUI Issues affecting the interactive GUI labels Feb 17, 2020
@HebaruSan
Copy link
Member

Could you please share your .ckan file? This would be helpful for investigation and testing.

@Osthekake
Copy link
Author

Could you please share your .ckan file? This would be helpful for investigation and testing.

I meant to, but I forgot. Updated issue now.

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

Successfully merging a pull request may close this issue.

2 participants