politas

CKAN (The Comprehensive Kerbal Archive Network); v1.27.0 - Bussard

Recommended Posts

just tried to update via the launcher and got this.   lNcENRp.png

Share this post


Link to post
Share on other sites
3 hours ago, eberkain said:

just tried to update via the launcher and got this.   lNcENRp.png

This is the fifth time this has been asked.

Please report problems with your antivirus software to the company that makes it. The CKAN team cannot fix them.

Edited by HebaruSan

Share this post


Link to post
Share on other sites

I noticed that I can no longer Export a list of mods in a .ckan format. I used to do this regularly last Dec and noticed in Jan that it no longer has that option. Now I can only export as .txt, .md, or .csv formats.

I can still IMPORT .ckan files I created with an old version, but now have to manually look at exported text files one mod at a time to see what I changed. 

If this a bug or was it intended to change the program to no longer allow export of .ckan files? 

Share this post


Link to post
Share on other sites
2 minutes ago, Atlas Gaming said:

I noticed that I can no longer Export a list of mods in a .ckan format. I used to do this regularly last Dec and noticed in Jan that it no longer has that option. Now I can only export as .txt, .md, or .csv formats.

I can still IMPORT .ckan files I created with an old version, but now have to manually look at exported text files one mod at a time to see what I changed. 

If this a bug or was it intended to change the program to no longer allow export of .ckan files? 

The export function has been overhauled, see this PR.
Use the "File >Export modpack..." option now. It let's you adjust the modpack before exporting, like choosing whether the mods should be saved as dependencies, recommendations and so on...
In the end the list will be exported as .ckan file like before, which you can import again afterwards.

Share this post


Link to post
Share on other sites
14 minutes ago, DasSkelett said:

exported as .ckan file like before, which you can import again afterwards

Sweet... thanks for the update info

Share this post


Link to post
Share on other sites

Got an exception when opening CKAN v1.27.0 for a KSP 1.8.1 instance:

************** Exception Text **************
System.ArgumentOutOfRangeException: InvalidArgument=Value of '2' is not valid for 'index'.
Parameter name: index
   at System.Windows.Forms.TabControl.GetTabPage(Int32 index)
   at System.Windows.Forms.TabControl.TabPageCollection.get_Item(Int32 index)
   at CKAN.ThemedTabControl.OnDrawItem(DrawItemEventArgs e)
   at System.Windows.Forms.TabControl.WmReflectDrawItem(Message& m)
   at System.Windows.Forms.TabControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

It let me continue and seems to be working correctly but it 'uninstalled' module manager and deployable engines plugin- I say 'uninstalled' because they're still there and it says they're still installed if I try to add them. Bit odd...

Share this post


Link to post
Share on other sites
5 hours ago, jimmymcgoochie said:

It let me continue and seems to be working correctly but it 'uninstalled' module manager and deployable engines plugin- I say 'uninstalled' because they're still there and it says they're still installed if I try to add them. Bit odd...

Assuming you aren't getting that exception every time you launch the CKAN, running the Clean and Re-install process should get your missing mods back in control.

Share this post


Link to post
Share on other sites
20 hours ago, politas said:

Assuming you aren't getting that exception every time you launch the CKAN, running the Clean and Re-install process should get your missing mods back in control.

I think I may have caused this error by dropping a mod in manually, but putting the mod's GameData folder inside the KSP GameData folder (ie GameData/GameData/mod). Reversed the mistake and all seems well again.

Share this post


Link to post
Share on other sites

@HebaruSan

hope these are okay:

nssc.netkan

Spoiler

{
    "spec_version": "v1.4",
    "identifier":   "NSSC",
    "author":       "RealGecko,Mrcarrot,zer0Kerbal",
    "name":         "Not So SimpleConstruction!",
    "abstract":     "SimpleConstruction! addon. Adds Mallet, Survey Stake, Recycler, Disposable Pad, and Control Reference; and turns Cupola module to Survey Station.",
    "$kref":        "#/ckan/spacedock/1078",
    "$vref":        "#/ckan/ksp-avc/NotSoSimpleConstruction.version",
    "x_netkan_version_edit": {
        "find": "[Version_]?",
        "replace": "",
        "strict": false
    },
    "x_netkan_epoch": 1,
    "license": "GPL-3.0",
    "tags": [
        "plugin",
        "resources",
        "config",
        "crewed"
    ],
    "depends": [
        { "name": "ModuleManager"      },
        { "name": "SimpleConstruction" },
        { "name": "KIS"                }
    ],
    "recommends": [
        { "name" : "KerbalStats" },
        { "name" : "Toolbar"     },
        { "name" : "KAS"         }
    ],
    "suggests": [
        { "name": "SimpleLife"                   },
        { "name": "MoarKerbals"                  },
        { "name": "SimpleLogistics"              },
        { "name": "CommunityResourcePack"        },
        { "name": "StockalikeMiningExtension"    },
        { "name": "InfernalRoboticsNext"         },
        { "name": "KerbalJointReinforcementNext" }
    ],
    "supports": [
        { "name": "KerbalChangelog" },
        { "name": "Kethane"         },
        { "name": "B9PartSwitch"    },
        { "name": "ExtraPlanetaryLaunchpads" }
    ],
    "resources" : [
    { "bugtracker": "https://github.com/zer0Kerbal/NotSoSimpleConstruction/issues" },
    { "curse"     : "https://www.curseforge.com/kerbal/ksp-mods/nssc"              }
    ],
    "replaced-by": [
        { "name": "NotSoSimpleConstruction" }
    ],
    "install": [
        {
            "find": "NSSC",
            "install_to": "GameData",
            "comment": "Main installation directory"
        },
        {
            "find": "ExtraplanetaryLaunchpads",
            "install_to": "GameData",
            "comment": "adds Parts/ folder, since requires SimpleConstruction licenses already present"
        }
    ]
}

 

notsosimpleconstruction.netkan

Spoiler

{
    "spec_version": "v1.4",
    "identifier":   "notsosimpleconstruction",
    "author":       "RealGecko,Mrcarrot,zer0Kerbal",
    "name":         "Not So SimpleConstruction! Updated",
    "abstract":     "SimpleConstruction! addon. Adds Mallet, Survey Stake, Recycler, Disposable Pad, and Control Reference; and turns Cupola module to Survey Station.",
    "$kref":        "#/ckan/spacedock/1078",
    "$vref":        "#/ckan/ksp-avc/SimpleConstruction.version",
    "x_netkan_version_edit": {
        "find": "[Version_]?",
        "replace": "",
        "strict": false
    },
    "x_netkan_epoch": 1,
    "license": "GPL-3.0",
    "tags": [
        "plugin",
        "resources",
        "config",
        "crewed"
    ],
    "depends": [
        { "name": "ModuleManager"      },
        { "name": "SimpleConstruction" },
        { "name": "KIS"                }
    ],
    "recommends": [
        { "name" : "KerbalStats" },
        { "name" : "Toolbar"     },
        { "name" : "KAS"         }
    ],
    "suggests": [
        { "name": "SimpleLife"                   },
        { "name": "MoarKerbals"                  },
        { "name": "SimpleLogistics"              },
        { "name": "CommunityResourcePack"        },
        { "name": "StockalikeMiningExtension"    },
        { "name": "InfernalRoboticsNext"         },
        { "name": "KerbalJointReinforcementNext" }
    ],
    "supports": [
        { "name": "KerbalChangelog" },
        { "name": "Kethane"         },
        { "name": "B9PartSwitch"    },
        { "name": "ExtraPlanetaryLaunchpads" }
    ],
    "resources" : [
    { "bugtracker": "https://github.com/zer0Kerbal/NotSoSimpleConstruction/issues" },
    { "curse"     : "https://www.curseforge.com/kerbal/ksp-mods/nssc"              }
    ],
    "install": [
        {
            "find": "NotSoSimpleConstruction",
            "install_to": "GameData",
            "comment": "Main installation directory"
        },
        {
            "find": "ExtraplanetaryLaunchpads",
            "install_to": "GameData",
            "comment": "adds Parts/ folder, since requires SimpleConstruction licenses already present"
        }
    ]
}

 

 

Share this post


Link to post
Share on other sites
5 minutes ago, zer0Kerbal said:

hope these are okay:

I think I'm missing something, is that the same mod twice?

Share this post


Link to post
Share on other sites
42 minutes ago, HebaruSan said:

I think I'm missing something, is that the same mod twice?

yes, and no. there are two entries in KSP-CKAN for the same mod - same author - both show in CKAN.exe.

The controlling one should be (and I would prefer) [notsosimpleconstruction]; added "replaced-by" in NSSC;

 

will CKAN automatically adjust the installation directory from "NSSC" to "NotSoSImpleConstruction"?

I can push these, but thought I would ask here first.

apologies, am still learning netKAN/CKAN - although now have netkan.exe and JSONViewer (for npp)

Share this post


Link to post
Share on other sites
23 minutes ago, zer0Kerbal said:

yes, and no. there are two entries in KSP-CKAN for the same mod - same author - both show in CKAN.exe.

The controlling one should be (and I would prefer) [notsosimpleconstruction]; added "replaced-by" in NSSC;

 

will CKAN automatically adjust the installation directory from "NSSC" to "NotSoSImpleConstruction"?

Oh, I see. That's already cleaned up on the NetKAN side of things; I spotted it in the process of tagging all mods and froze NotSoSimpleConstruction.netkan because it was newer and should not have been created:

I guess the remaining .ckan file should be frozen as well, thanks for pointing it out.

Share this post


Link to post
Share on other sites
13 minutes ago, HebaruSan said:

I guess the remaining .ckan file should be frozen as well, thanks for pointing it out.

excellent.

just one thing - could we swap the two - so the live one is [notsosimpleconstruction] and the frozen one is [nssc]? call it marketing101. :D

Share this post


Link to post
Share on other sites
1 hour ago, zer0Kerbal said:

excellent.

just one thing - could we swap the two - so the live one is [notsosimpleconstruction] and the frozen one is [nssc]? call it marketing101. :D

Hmm, eliminating an acronym is appealing, but changing identifiers could have complications. Let's track this here:

Share this post


Link to post
Share on other sites

@HebaruSan Thank you. Would be appreciated. +1 :rep::D

one more minor issue - I need to update the authors to

[ "RealGecko", "Mrcarrot","zer0Kerbal" ],

which one (or both) should I do a PR on?

Share this post


Link to post
Share on other sites
35 minutes ago, zer0Kerbal said:

@HebaruSan Thank you. Would be appreciated. +1 :rep::D

one more minor issue - I need to update the authors to

[ "RealGecko", "Mrcarrot","zer0Kerbal" ],

which one (or both) should I do a PR on?

Oh, that's easy; since you already have that on SpaceDock, we can just remove the hard coded property in the netkan:

Share this post


Link to post
Share on other sites

I don't know why, but now when I start CKAN and change to another instance, it remains in the "Updating repositories" state indefinitely. It happened soon after updating to v1.27.0. Any idea what can be the problem?

EDIT: Nevermind, it fixed itself. No idea what happened, but now it works.

Edited by garwel

Share this post


Link to post
Share on other sites
6 hours ago, garwel said:

I don't know why, but now when I start CKAN and change to another instance, it remains in the "Updating repositories" state indefinitely. It happened soon after updating to v1.27.0. Any idea what can be the problem?

EDIT: Nevermind, it fixed itself. No idea what happened, but now it works.

This happens to me when CKAN reports that there may be mod incompatibilities.  The warning dialog sometimes appears behind other windows in my two monitor setup and the main CKAN window is simply waiting for a button click before proceeding.

Share this post


Link to post
Share on other sites

CKAN has suddenly started to hang when reinstalling and sometimes when searching.

Sometimes even get totally unresponsive.

1.27.0 on Ubuntu 18.04

 

Share this post


Link to post
Share on other sites
On 2/12/2020 at 7:15 PM, Brigadier said:

This happens to me when CKAN reports that there may be mod incompatibilities.  The warning dialog sometimes appears behind other windows in my two monitor setup and the main CKAN window is simply waiting for a button click before proceeding.

 

Thank you. I had been sitting here for 10 minutes before I started searching for a solution. The dialog popped under the main window to ask me about metadata and I never saw it. I could have been sitting here all morning, waiting.... Now I get to try out the hot newness of KSP 1.9.0!

So, thanks again and happy Saturday!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.