Jump to content

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


pjf

Recommended Posts

Just posting to report `Ambient Light Adjustment` cannot be found on Spacedock when I try to install it with CKAN

correct link is

https://spacedock.info/mod/184/Ambient%20Light%20Adjustment/download/2.5.7.4

CKAN looks like it is trying to download 2.6.7.4

"Failed to download "https://spacedock.info/mod/184/Ambient Light Adjustment/download/2.6.7.4" - error: The remote server returned an error: (404) Not Found."

Link to comment
Share on other sites

when i open ckan, it shows this message: and then when ckan opens, no mods are listed. I am using ksp 1.1.2 and ckan latest version.:0.0: 

ee the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
Newtonsoft.Json.JsonReaderException: Unterminated string. Expected delimiter: ". Path 'available_modules.TundraExploration.module_version.['0.4.1'].name', line 338178, position 2270536.
   at Newtonsoft.Json.JsonTextReader.ReadStringIntoBuffer(Char quote)
   at Newtonsoft.Json.JsonTextReader.ParseString(Char quote)
   at Newtonsoft.Json.JsonTextReader.ParseValue()
   at Newtonsoft.Json.JsonTextReader.ReadInternal()
   at Newtonsoft.Json.JsonReader.ReadAsStringInternal()
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary(IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary(IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at CKAN.RegistryManager.LoadOrCreate()
   at CKAN.RegistryManager..ctor(String path, KSP ksp)
   at CKAN.RegistryManager.Instance(KSP ksp)
   at CKAN.Main._UpdateModsList(Boolean repo_updated)
   at CKAN.Util.Invoke[T](T obj, Action action)
   at CKAN.Main.CurrentInstanceUpdated()
   at CKAN.Main.OnLoad(EventArgs e)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Form.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.34209 built by: FX452RTMGDR
    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:///C:/Users/Corbett/Downloads/ckan.exe
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    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.34239 built by: FX452RTMGDR
    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.34250 built by: FX452RTMGDR
    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.36337 built by: FX452RTMLDR
    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.34209 built by: FX452RTMGDR
    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.34281 built by: FX452RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.34281 built by: FX452RTMGDR
    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.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    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.34230 built by: FX452RTMGDR
    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.33440 built by: FX45W81RTMREL
    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.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


 

Link to comment
Share on other sites

5 hours ago, corbett said:

when i open ckan, it shows this message: and then when ckan opens, no mods are listed. I am using ksp 1.1.2 and ckan latest version.:0.0: 

ee the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
Newtonsoft.Json.JsonReaderException: Unterminated string. Expected delimiter: ". Path 'available_modules.TundraExploration.module_version.['0.4.1'].name', line 338178, position 2270536.

Can you upload your CKAN/registry.json file?

Link to comment
Share on other sites

On May 19, 2016 at 3:46 AM, politas said:

Sorry, I was assuming some basic computer knowledge. You'll need to delete the <YourKSPInstall>\CKAN\downloads folder first (or move it to the off-SSD location if there is anything in it) first.

 

Thank you for your help.  I do appreciate it.   Following your instructions,

1.  I deleted the  <YourKSPInstall>\CKAN\downloads folder, ran mklink per your instructions above, got the same failure result.

2.  In the command line, I swapped the "link" and "target" (since the help information for mklink stated it to be this way,) and it worked.  It now reads

"mklink /d  <YourKSPInstall>\CKAN\downloads <FolderOutsideYourSSD>" 

My <YourKSPInstall>\CKAN\downloads folder is now a successful link TO my other hard drives folder.  I believe your original instructions had the "link" and "target" swapped..

Thank you for putting me on the right track.

TB2

Edited by TBryson2
Link to comment
Share on other sites

10 hours ago, TBryson2 said:

 

Thank you for your help.  I do appreciate it.   Following your instructions,

2.  In the command line, I swapped the "link" and "target" (since the help information for mklink stated it to be this way,) and it worked.  It now reads

"mklink /d  <YourKSPInstall>\CKAN\downloads <FolderOutsideYourSSD>" 

My <YourKSPInstall>\CKAN\downloads folder is now a successful link TO my other hard drives folder.  I believe your original instructions had the "link" and "target" swapped.

Ah, I misread that, and expected it to be the same order as the Linux/unix link command.

Link to comment
Share on other sites

11 hours ago, corbett said:

what does that mean?:confused:

There's a file in your <ksp install dir>\CKAN directory called "registry.json". If you can upload that file to pastebin or Dropbox or some such, and provide a link, we can see if we can work out what's going wrong with it (I think that's what's gotten corrupted).  You could try running "ckan repair" from a command line first, though.

Link to comment
Share on other sites

2 hours ago, politas said:

There's a file in your <ksp install dir>\CKAN directory called "registry.json". If you can upload that file to pastebin or Dropbox or some such, and provide a link, we can see if we can work out what's going wrong with it (I think that's what's gotten corrupted).  You could try running "ckan repair" from a command line first, though.

never mind i fixed it

Link to comment
Share on other sites

Looks like CKAN is installing the wrong version of Sigma Binary - Duna + Ike Binary. It has the right version of the main mod (1.5.2), but seems to be downloading and installing version 1.1.1 of the Duna/Ike binary.

Module Manager does not like version 1.1.1 - it complains that there are 27 errors in the config file. MM probably has a point: version 1.1.1 is over 300 lines long; version 1.5.2 is only 7 lines.

Also, Station Science updated to version 2.0 a couple of days ago, but CKAN hasn't found it yet. Am I just being impatient?

Edited by UnanimousCoward
Link to comment
Share on other sites

So I've been using mods for a while now and i recently decided to start using CKAN and it seems really nice but i am not able to download Tac life support through it. If I look it up in the list of mods it doesn't have a checkbox next to it to select it. Anyone know how to solve this?

Edited by Mr_Goetzee
Link to comment
Share on other sites

11 hours ago, Mr_Goetzee said:

So I've been using mods for a while now and i recently decided to start using CKAN and it seems really nice but i am not able to download Tac life support through it. If I look it up in the list of mods it doesn't have a checkbox next to it to select it. Anyone know how to solve this?

TAC Life Support is only available for KSP 1.1.2 with the Realism Overhaul config so far, though that shouldn't prevent it from having a check box. What version of KSP are you playing?

Link to comment
Share on other sites

16 hours ago, UnanimousCoward said:

Looks like CKAN is installing the wrong version of Sigma Binary - Duna + Ike Binary. It has the right version of the main mod (1.5.2), but seems to be downloading and installing version 1.1.1 of the Duna/Ike binary.

Module Manager does not like version 1.1.1 - it complains that there are 27 errors in the config file. MM probably has a point: version 1.1.1 is over 300 lines long; version 1.5.2 is only 7 lines.

Also, Station Science updated to version 2.0 a couple of days ago, but CKAN hasn't found it yet. Am I just being impatient?

SIgma Binary-Duna + Ike should be fixed now, though you may need to uninstall, refresh and reload CKAN to get a clean upgrade path. version v1.1.1 should not have been shown as 1.1.2 compatible at all.

Station Science, being on Curse, still requires manual updating for every release, so we rely on reports such as yours to know when it's updated. So thanks hugely for letting us know! It'll be fixed up shortly.

Link to comment
Share on other sites

I suspect there's an issue with the Netkan for @Papa_Joe's Connected Living Space. When I try to update, CKAN fails with the error "Failed to download "https://spacedock.info/mod/190/Connected Living Space/download/1.2.1.2" - error: The remote server returned an error: (404) Not Found." Judging by where the hyperlink ends, I'm guessing there are spaces that shouldn't be there.

Link to comment
Share on other sites

 

5 hours ago, IntoSpaceAgain said:

I suspect there's an issue with the Netkan for @Papa_Joe's Connected Living Space. When I try to update, CKAN fails with the error "Failed to download "https://spacedock.info/mod/190/Connected Living Space/download/1.2.1.2" - error: The remote server returned an error: (404) Not Found." Judging by where the hyperlink ends, I'm guessing there are spaces that shouldn't be there.

That is likely related to my moving from KerbalStuff to SpaceDock.   I should have placed underscores in the name... I'll look into making a pull request on the netkan file

Update.   I've looked at the netkan file.  There is no way for me to correct the issue.   I don't know if I can get the name changed in SpaceDock and I know in KerbalStuff it was not possible, and the code base is the same.  I will inquire of the SpaceDock Host to see if it can be altered.  Otherwise, I'm in a catch-22.

Edited by Papa_Joe
Link to comment
Share on other sites

Idk why but this appears when I try opening it.

 

Unhandled exception has occured in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

Exception of type "CKAN.InconsistentKraken" was thrown.

Link to comment
Share on other sites

3 hours ago, Papa_Joe said:

 

That is likely related to my moving from KerbalStuff to SpaceDock.   I should have placed underscores in the name... I'll look into making a pull request on the netkan file

Update.   I've looked at the netkan file.  There is no way for me to correct the issue.   I don't know if I can get the name changed in SpaceDock and I know in KerbalStuff it was not possible, and the code base is the same.  I will inquire of the SpaceDock Host to see if it can be altered.  Otherwise, I'm in a catch-22.

 

Okay, well I've just tried the update again and this time, CKAN handled it without any problems, so I guess something got fixed, somewhere. :cool:

Link to comment
Share on other sites

7 hours ago, Papa_Joe said:

 

That is likely related to my moving from KerbalStuff to SpaceDock.   I should have placed underscores in the name... I'll look into making a pull request on the netkan file

Update.   I've looked at the netkan file.  There is no way for me to correct the issue.   I don't know if I can get the name changed in SpaceDock and I know in KerbalStuff it was not possible, and the code base is the same.  I will inquire of the SpaceDock Host to see if it can be altered.  Otherwise, I'm in a catch-22.

Why just just use Github as the primary release source?

https://github.com/codepoetpbowden/ConnectedLivingSpace/releases

The NetKAN can point anywhere. This can fixes things and in terms of workflow it might be easier later on if there is a problem with Spacedock. 

Link to comment
Share on other sites

On 12-5-2016 at 5:03 AM, Ranger said:

Unfortunently, the only way to start it up is through the Terminal, which is under Applications>Utilities folder, if you have never had to use it.

Then type in:


mono $path/ckan.exe

 

So, since CKAN should be in your KSP folder, assuming that you have not changed the name of the folder and it is in your Applications folder, it should be:


mono /Applications/KSP_osx/ckan.exe

It should start up after that.  The interface can be a bit wonky at times, and it looks like Windows, but it does work.

Does not work D:

Link to comment
Share on other sites

28 minutes ago, Onesmallstep said:

Does not work D:

That is interesting.  That is the exact copy and paste of what I put in, except that I have a different folder name for the version.

Is CKAN in your KSP_osx folder?  Again, assuming that you have not changed the name of the folder.  

Also, it just occurred to me, are you using the Steam version?  If so, you may need to change the path.  I download direct from Squad and then move the unzipped KSP folder to my Applications folder, so my path may be different if you use Steam.

Link to comment
Share on other sites

12 minutes ago, Ranger said:

That is interesting.  That is the exact copy and paste of what I put in, except that I have a different folder name for the version.

Is CKAN in your KSP_osx folder?  Again, assuming that you have not changed the name of the folder.  

Also, it just occurred to me, are you using the Steam version?  If so, you may need to change the path.  I download direct from Squad and then move the unzipped KSP folder to my Applications folder, so my path may be different if you use Steam.

After messing whit wine and stuff i got it to work sorry for your hard work it is a bit wonky but it works!

Link to comment
Share on other sites

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