Jump to content

The Comprehensive Kerbal Archive Network (CKAN) Package Manager; v1.18.0 [19 June 2016]


pjf

Recommended Posts

The question was whether there is a way to do this automatically, so that one instance of CKAN can pull the mod list from another instance without having to import/export.

Practical application being: Play KSP on desktop, uncheck a few mods, CKAN stores data in dropbox. Open up CKAN on laptop, it reads information in dropbox, determines that XYZ mods are no longer supposed to be installed, "Apply Changes" removes them.

I'm fine doing it myself. I was just wondering if there was a way to automate it.

Ah, I see. I'm not saying it'll never be included, but I suspect the number of users who would want such a feature to be pretty small. After all, changing mods on an active installation with savegames can easily lead to loss of crafts. I know I much prefer managing my different installations separately, while the initial state copy from one install to another I have tried to use in the past. (Unsuccessfully, but that was due to changing KSP versions.) I'd advise setting up a Github account (they're free!) and adding an issue, so you can evangelise for the feature directly.

Another possibility is setting up your own github project with a personal meta-package in a metadata repository, then write a script that automatically updates it whenever you export your mods. Would take some experimentation and effort, but it might be worth the time investment. I'm not entirely sure what the potential recursion would do. If you do all your mod changes on the one machine and load the metapackage on the other, that would be easier.

Link to comment
Share on other sites

Practical application being: Play KSP on desktop, uncheck a few mods, CKAN stores data in dropbox. Open up CKAN on laptop, it reads information in dropbox, determines that XYZ mods are no longer supposed to be installed, "Apply Changes" removes them.

I'm fine doing it myself. I was just wondering if there was a way to automate it.

Ah, I see. I'm not saying it'll never be included, but I suspect the number of users who would want such a feature to be pretty small. After all, changing mods on an active installation with savegames can easily lead to loss of crafts.

Perhaps, but since the career save itself can be cross-ported through Dropbox as well, I can speculate that affording a GUI option to manually redirect .ckan placement would actually reduce the chances of craft losses due to mod removal.

I'd advise setting up a Github account (they're free!) and adding an issue, so you can evangelise for the feature directly.

I think the feature request was to simply be able to set an external folder location into the default metadata export folder.

To the requester -- have you contemplated placing ckan.exe in the dropbox folder of your choice and running it from there? To my understanding, ckan.exe does NOT have to be run from within any specific folder, or even within the KSP installation at all, particularly since ckan is capable to managing multiple separate KSP installs simultaneously each with independent modlists.

Link to comment
Share on other sites

I think the feature request was to simply be able to set an external folder location into the default metadata export folder.

Now see, that's a completely different interpretation of that post than mine, which is why I highly recommend the loppnessmonsta create a GitHub account and speak direct to the project developers.

If the loppnessmonsta did indeed want to keep the savegames synced as well as the modlist, the entire KSP installation directory is under 5GB, so it would be possible to just keep the whole lot synced.

Edited by politas
Link to comment
Share on other sites

my first post just to say thank you for this godly program to long have i had to manually install mods to long have i been under the yoke of incompatibilities, WELL WITH ckan we say NO MORE!

Thanks Muchly!

Link to comment
Share on other sites

Ive been out of ksp for a couple of updates but want to get back in, unfortunately my CKAN give this error every time i click on anything

I see other people also have this error but havent seen a fix yet

************** Exception Text **************

System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.IAsyncStateMachine' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

at CKAN.Main.ModList_CellValueChanged(Object sender, DataGridViewCellEventArgs e)

at System.Windows.Forms.DataGridViewCell.SetValue(Int32 rowIndex, Object value)

at CKAN.Main.ModList_CellMouseDoubleClick(Object sender, DataGridViewCellMouseEventArgs e)

at System.Windows.Forms.DataGridView.OnMouseDoubleClick(MouseEventArgs e)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.DataGridView.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************

mscorlib

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.1026 (RTMGDR.030319-1000)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

----------------------------------------

ckan

Assembly Version: 0.0.0.0

Win32 Version: 0.0.0.0

CodeBase: file:///D:/Steam%20Games/steamapps/common/Kerbal%20Space%20Program/ckan.exe

----------------------------------------

System.Core

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.1 built by: RTMRel

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

----------------------------------------

System

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.1026 built by: RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

System.Windows.Forms

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.1002 built by: RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System.Drawing

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.1001 built by: RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

System.Configuration

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.1015 (RTMGDR.030319-1000)

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

System.Xml

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.1026 built by: RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

System.Transactions

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll

----------------------------------------

System.EnterpriseServices

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll

----------------------------------------

System.Numerics

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.1 built by: RTMRel

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

----------------------------------------

System.Runtime.Serialization

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.1026 (RTMGDR.030319-1000)

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

----------------------------------------

System.Xml.Linq

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.1 built by: RTMRel

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll

----------------------------------------

System.Data

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

----------------------------------------

ugufd3qh

Assembly Version: 0.0.0.0

Win32 Version: 4.0.30319.1026 built by: RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

Microsoft.CSharp

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.1

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll

----------------------------------------

System.Dynamic

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.1

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll

----------------------------------------

Anonymously Hosted DynamicMethods Assembly

Assembly Version: 0.0.0.0

Win32 Version: 4.0.30319.1026 (RTMGDR.030319-1000)

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll

----------------------------------------

So if i try add a mode the check box gets checked but i cant apply changes so no mods get installed

Note ive reinstalled ckan and verified game cache

__

edit

Ive managed to bypass this error by using someone .ckan file to install mods, awkward work around but now at least majority of them are installed

edit2:

This didnt work and i got error after it was finished downloading.

Edited by Awesome_Guy
Link to comment
Share on other sites

Ccr1uT5Ccr1uT5.png Hey, i just got a new computer (8 gigs of ram, yay!) but this happens when i try to install something on CKAN. If i press continue, the buttons are grayed out and i cant do anything. I am pretty sure I installed it right. It did have trouble detecting KSP on my computer (flash drive copy issues) so i did it manually and i think it recognized. No mods installed. (cleaned out old version) help? EDIT: NVM, updated NetKan to 4.5 and that fixed it Edited by GiantTank
Link to comment
Share on other sites

Ive been out of ksp for a couple of updates but want to get back in, unfortunately my CKAN give this error every time i click on anything I see other people also have this error but havent seen a fix yet
************** Exception Text ************** System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.IAsyncStateMachine' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. at CKAN.Main.ModList_CellValueChanged(Object sender, DataGridViewCellEventArgs e) at System.Windows.Forms.DataGridViewCell.SetValue(Int32 rowIndex, Object value) at CKAN.Main.ModList_CellMouseDoubleClick(Object sender, DataGridViewCellMouseEventArgs e) at System.Windows.Forms.DataGridView.OnMouseDoubleClick(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.DataGridView.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1026 (RTMGDR.030319-1000) CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll ---------------------------------------- ckan Assembly Version: 0.0.0.0 Win32 Version: 0.0.0.0 CodeBase: file:///D:/Steam%20Games/steamapps/common/Kerbal%20Space%20Program/ckan.exe ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1026 built by: RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1002 built by: RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1001 built by: RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1015 (RTMGDR.030319-1000) CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1026 built by: RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Transactions Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 (RTMRel.030319-0100) CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll ---------------------------------------- System.EnterpriseServices Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 (RTMRel.030319-0100) CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll ---------------------------------------- System.Numerics Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll ---------------------------------------- System.Runtime.Serialization Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1026 (RTMGDR.030319-1000) CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll ---------------------------------------- System.Xml.Linq Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll ---------------------------------------- System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 (RTMRel.030319-0100) CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll ---------------------------------------- ugufd3qh Assembly Version: 0.0.0.0 Win32 Version: 4.0.30319.1026 built by: RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- Microsoft.CSharp Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll ---------------------------------------- System.Dynamic Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll ---------------------------------------- Anonymously Hosted DynamicMethods Assembly Assembly Version: 0.0.0.0 Win32 Version: 4.0.30319.1026 (RTMGDR.030319-1000) CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll ----------------------------------------
So if i try add a mode the check box gets checked but i cant apply changes so no mods get installed Note ive reinstalled ckan and verified game cache __ edit Ive managed to bypass this error by using someone .ckan file to install mods, awkward work around but now at least majority of them are installed edit2: This didnt work and i got error after it was finished downloading.
Update NetKan to 4.5. Got info from GitHub (https://github.com/KSP-CKAN/CKAN/issues/1418) just scroll down and find the link
Link to comment
Share on other sites

Hi

I'm wondering if I can do something like this:


{
"spec_version": 1.4,
"license": "MIT",
"$kref": "#/ckan/kerbalstuff/943",
"identifier": "AntennaRangePatches",
"install": [
{
"find" : "AntennaRangePatches",
"install_to" : "GameData"
}
],
"install": [
{
"find" : "AutoPruner",
"install_to" : "GameRoot"
}


The AutoPruner directory needs to be at the same level as GameData

Thanks in advance

LGG

Edit: Changed install_to destination to GameRoot for the AutoPruner section

Edit2: I've successfully tested this locally

Suggestion for CKAN: Either have a netkan line which can run a program such as AutoPruner, or at least a way to display a message to the user after something is installed.

Edited by linuxgurugamer
Link to comment
Share on other sites

Couple of things:

1. There are 4-5 .netkan files which have passed their checks successfully. Can someone get around to doing a full merge?

2. Please close this: #2351 It was superceded by 2352 which has already been merged and released.

Thanks

LGG

Link to comment
Share on other sites

Hey, i just got a new computer (8 gigs of ram, yay!) but this happens when i try to install something on CKAN. If i press continue, the buttons are grayed out and i cant do anything. I am pretty sure I installed it right. It did have trouble detecting KSP on my computer (flash drive copy issues) so i did it manually and i think it recognized. No mods installed. (cleaned out old version) help? EDIT: NVM, updated NetKan to 4.5 and that fixed it

I'm having the same problem on my windows 10 install. .net4.5 is prebundled so not sure what to do here.

Link to comment
Share on other sites

Hello dear CKAN people,

Thanks for your great work!

I have two questions:

1) Could you please bump the "USI Kolonization Systems (MKS/OKS)" mod version. In CKAN, it is current at version 0.31.9, while the GitHub version 0.31.10 has been out for 14 days now.

2) Is this supposed to be done manually? If yes, can I help to speed thinks up? If not, what is needed so that the version gets updated automagically? I checked the netkan config file here: https://github.com/KSP-CKAN/NetKAN/blob/master/NetKAN/UKS.netkan and it seems perfectly fine to me. Yet, it has still not been updated.

I'm kind of in the dark how CKAN finds and updates new versions of mods.

Link to comment
Share on other sites

Win7x64, .NET 4.5 is already installed. Latest CKAN gives the abovementioned error (or very similar one, as I see error texts in russian).

Update: It was a conflict with PartManager plugin. Again. When will you implement it's functionality in CKAN itself?

Edited by Dr. Jet
Link to comment
Share on other sites

I'm trying to call CKAN from inside a mod.

I'd rather not have to change the default install.

Right now, I need to do the following:


ckan ksp list (to get a list of all the installs)
ckan ksp default "name of install I want to use"
ckan list (to get a list of installed mods)

I already know the directory, what I'd like to do, if possible is:


ckan list kspdir "installdir to list mods"

or, at least, to do the following:


ckan.exe kspdir default "KSPInstallDir"

Link to comment
Share on other sites

Hello, i would like to reference my planet pack (see signature) to ckan... but i'm not a coder and i truely don't find the way to do that.

Any idea ?

Sure.

I'll take a look at it later this evening, if it's ok with you, I'll write the netkan file and upload it.

It would be better to put the pack up on Kerbalstuff rather than dropbox. Even GitHub would be better than dropbox.

If you do, please let me know.

for now, I'll reference the dropbox link.

LGG

Edited by linuxgurugamer
Link to comment
Share on other sites

Hi

I'm wondering if I can do something like this:


{
"spec_version": 1.4,
"license": "MIT",
"$kref": "#/ckan/kerbalstuff/943",
"identifier": "AntennaRangePatches",
"install": [
{
"find" : "AntennaRangePatches",
"install_to" : "GameData"
}
],
"install": [
{
"find" : "AutoPruner",
"install_to" : "GameRoot"
}


The AutoPruner directory needs to be at the same level as GameData

Thanks in advance

LGG

Edit: Changed install_to destination to GameRoot for the AutoPruner section

Edit2: I've successfully tested this locally

Suggestion for CKAN: Either have a netkan line which can run a program such as AutoPruner, or at least a way to display a message to the user after something is installed.

Would be better to have only one "install" phrase, with separate entries, such as:


"install": [
{
"find" : "AntennaRangePatches",
"install_to" : "GameData"
},
{
"find" : "AutoPruner",
"install_to" : "GameRoot"
}
]

What does AutoPruner do? I tried to find your mod on KerbalStuff, but mod 943 is AB Launchers.

Link to comment
Share on other sites

Has any other Mac users had any issues since 10.11 dropped? I had to do a format to get it to install (long story) but I can not seem to get Mono to work since. I have tried both version 3.12.1 as noted on the plugin user guide and 4.0.4.4, which is a "preview package" which should work with 10.11, but I still get "-bash: mono: command not found" when I try to start up CKAN

Anyone have any suggestions?

Edited by Ranger
Link to comment
Share on other sites

"-bash: mono: command not found" when I try to start up CKAN

Anyone have any suggestions?

That means that either Mono is not installed, or that it is not in your search path. Bash is reporting that when it tries to run the command "mono", it can't find anything to run.


echo $PATH$

will show you your search path for commands (other than built-ins). The executable file called "mono" has to be in one of the directories listed. Mono should normally be installed into /usr/bin/ (though /usr/bin/mono will probably be a symbolic link).

Try running just this:


mono -h

You should see the same error message, which clearly indicates that the problem is with your Mono installation, not with CKAN.

- - - Updated - - -

I'm trying to call CKAN from inside a mod.
Can you start by describing what your reason for doing that is? CKAN is not intended to be run on a KSP directory while the game is running. Changing mods in that circumstance would likely crash your game.
Link to comment
Share on other sites

Would be better to have only one "install" phrase, with separate entries, such as:


"install": [
{
"find" : "AntennaRangePatches",
"install_to" : "GameData"
},
{
"find" : "AutoPruner",
"install_to" : "GameRoot"
}
]

What does AutoPruner do? I tried to find your mod on KerbalStuff, but mod 943 is AB Launchers.

The netkan I posted was an example, ripped from several sources :-)

Here is a link to AutoPruner: http://forum.kerbalspaceprogram.com/threads/101309-Script-AutoPruner-v1-1-Prune-those-parts-that-suck-up-your-RAM!-(2015-018)

Here is the current version of the netkan, in a working state:


{
"spec_version": "1.4",
"identifier": "AntennaRangePatches",
"name": "Antenna Range Patches",
"$vref": "#/ckan/ksp-avc",


"version":"0.1.0",


"license": "MIT",
"download": "https://dl.dropboxusercontent.com/s/qb74avlcski8y1o/arp.zip?dl=0",
"depends": [
{ "name": "AntennaRange" },
{ "name": "ModuleManager" }
],
"conflicts": [
{ "name": "AntennaPatch4AntennaRange"}
],
"install": [
{
"find" : "AntennaRangePatches",
"install_to" : "GameData"
},
{
"find" : "AutoPruner",
"install_to" : "GameRoot"
}
],
"recommends": [
{ "name": "RemoteTech" },
{ "name": "Antennas" }
]
}

- - - Updated - - -

Can you start by describing what your reason for doing that is? CKAN is not intended to be run on a KSP directory while the game is running. Changing mods in that circumstance would likely crash your game.

CraftImport can download from KerbalX. KerbalX can also supply a .ckan to install any mods the craft file needs. If mods aren't available for the craft, I want to start CKAN to install them, and also exit the game when doing so.

For now, I'm just downloading the .ckan file and giving the user instructions.

Link to comment
Share on other sites

CKAN is repeatedly buggering up my desktop (KDE) service registry:

kbuildsycoca4(6188)/kdecore (services) KServicePrivate::init: The desktop entry file  "/home/steve/.local/share/applications/ckan-handler.desktop"  has Type= " Application"  instead of "Application" or "Service"
kbuildsycoca4(6188) KBuildServiceFactory::createEntry: Invalid Service : "/home/steve/.local/share/applications/ckan-handler.desktop"

Deleting this file returns normal operation, but subsequent launches of ckan put it right back.

This is interfering with normal operation of my DE (changes to default application / mimetype registry do not stick).

No notification or "install handler Yes/No" dialog is presented, or ever has been to my knowledge.

I do not see any way do disable this behaviour, in either the CLI or the GUI.

How do I prevent CKAN from lousing up my desktop every time I start it?

CKAN version v1.14.3-0-g652be65, updated via self updater.

Edited by steve_v
Link to comment
Share on other sites

Hi, all. I'm new here, obviously- I got to playing around with KSP because my 8-year-old daughter thinks it's awesome. Be gentle.

I have Mint 17.1 running on my laptop, but I really don't know as much about computers or Linux as that implies. I found the CKAN manual on github, and followed the instructions for installing on Ubuntu (Mint is a subspecies of Ubuntu) without apparent issue until it came to actually running CKAN, when I get this:

me /usr/local/bin $ sudo /usr/local/bin/mono ckan.exe

sudo: /usr/local/bin/mono: command not found

(I have to sudo or I get a Permission Denied error.)

It looked like mono installed just fine, mozroot imported, and libcurl4-openssl-dev installed.

I can't place ckan.exe in the mono folder, because it isn't a folder. For now I have just put it on my Desktop. Where should I put it? Is that even the problem? I tried just clicking the icon but then all that happens is that a blank terminal flashes open for a split second. And even though it's on my Desktop I get this:

me ~/Desktop $ ckan.exe

ckan.exe: command not found

Compiling from source code is beyond me, so I just downloaded the CKAN .exe file v 1.14.2, which from the documentation seems like it should work.

Sorry to keep editing- I'm still trying new things:

me ~/Desktop $ mono ckan.exe

Cannot open assembly 'ckan.exe': File does not contain a valid CIL image.

So, maybe I need to have a different ckan.exe?

EDIT- [sOLVED] Sorry for the bother- it was a user issue, after all. For some reason Firefox was showing the ckan.exe download as complete when it wasn't, so I was moving around and trying to use a partial file. I reloaded it, and it runs. Now I have a different problem, though, but I'll work on it myself for a bit...

Thanks!

Edited by acrosome
add info
Link to comment
Share on other sites

Don't use sudo to launch ckan, that grants root privs and is a massive system security fubar. Fix the permissions instead. - In fact, don't use sudo / root unless you absolutely have to, for system administration tasks.

I doubt that has anything to do with your problem though, as 'command not found' means exactly what it says. Is mono installed?

Why are you specifying /usr/local/bin? is mono installed there?

Installing mono should be as simple as 'apt-get install mono-complete', or whatever the mono virtual package is called in Mint. I doubt it installs to /usr/local, more likely the standard /usr prefix, and if so it'll be in your $PATH and can be called with 'mono ckan.exe' in the directory containing ckan.

To execute a binary that is not in your $PATH (e.g. ckan.exe) you need to provide path - so the command line would be: 'me ~/Desktop $ ./ckan.exe' if ckan.exe is in the current working directory. This is functionally equivalent to 'mono ckan.exe', the file magic will work out that ckan.exe should be launched with mono.

That won't help you if you don't have mono installed, see above.

And yes, KSP is pretty awesome :D

Edited by steve_v
Link to comment
Share on other sites

Sorry- we were writing at the same time- it was a user issue (see above). But to answer:

I specified /usr/local/bin because thats what the manual said and, yes, a quick check verified that mono is installed there. I never had a problem installing mono- did you think I had? Ultimately, yes 'mono ckan.exe' worked, once I corrected my stupidity.

But now i can't get CKAN to recognize my KSP folder, even though it is on my Destop and named "KSP_Linux". Huh. And I can't even select it, because CKAN gives me an error to the effect that it's not a valid KSP folder. ...?

EDIT-- Aha, I found the issue by searching this thread. I had installed a new separate KSP to use to experiment with, and you have to run KSP at least once before CKAN will recognize it.

Edited by acrosome
solved
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...