politas

CKAN (The Comprehensive Kerbal Archive Network); v1.26.4 - Orion

Recommended Posts

18 hours ago, PTackett said:

Hey all. A new backport for kerbalism for 1.3.1 has overwritten my 1.4 version and broken my mod currently. I have 1.3.1 set as a compatible version for some other mods, which is I guess why ckan allows this to happen? Is there any way to switch to a version of kerbalism that isn't the most current? Thanks for the awesome tool btw, it's really opened up mods to me without all the hassle of folders and rars.

Latest version was blocked from indexing because of multiple .version files. I fixed it now and the latest version for 1.4.1 is available in CKAN.

Share this post


Link to post
Share on other sites
17 minutes ago, Olympic1 said:

Latest version was blocked from indexing because of multiple .version files. I fixed it now and the latest version for 1.4.1 is available in CKAN.

Although note that if you have 1.3.1 marked as a compatible game version, you'll still have the problem of the backport installing instead, because the backport's version number is "BP-1.4.1.3", which counts as a higher version than just "1.4.1.3" due to the "BP-" prefix:

FILq7D1.png

Share this post


Link to post
Share on other sites

Is there a way to produce more debug output? 

I currently try to install around 100 mods using a CKAN file on Ubuntu. Unfortunately currently a single not downloadable file seems to be able to block the whole downloading and installation process. CKAN creates the files in /tmp, downloads almost all of the mods and then gets stuck. There seems to be simultaneous downloading, but even the successful downloads get blocked by the faulty ones. Why not just move at least the successful downloaded mods into the cache for the next try??? 

Then at least it would be possible to narrow down the list for the not downloadable mods with a few tries. Currently you just have a bunch of randomly named files in /tmp where you not even can tell which file belongs to which mod.

 

Edit: Canceling doesn't seem to cancel the downloads. If your installation gets blocked by an unavailable file you can cancel and the gui reacts accordingly. But when you check the files in /tmp after doing this, you can see that the downloads suddenly continue.

Edited by Friedrich Nietzsche

Share this post


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

Is there a way to produce more debug output? 

Yes:  https://github.com/KSP-CKAN/CKAN/wiki/User-guide#logging

14 minutes ago, Friedrich Nietzsche said:

I currently try to install around 100 mods using a CKAN file on Ubuntu. Unfortunately currently a single not downloadable file seems to be able to block the whole downloading and installation process. CKAN creates the files in /tmp, downloads almost all of the mods and then gets stuck. There seems to be simultaneous downloading, but even the successful downloads get blocked by the faulty ones. Why not just move at least the successful downloaded mods into the cache for the next try??? 

Agreed, that's how it should work. We addressed one case of this recently (to be included in a future release). It may or may not fix your issue depending on the exact error you're getting:

14 minutes ago, Friedrich Nietzsche said:

Edit: Canceling doesn't seem to cancel the downloads. If your installation gets blocked by an unavailable file you can cancel and the gui reacts accordingly. But when you check the files in /tmp after doing this, you can see that the downloads suddenly continue.

Funny, I noticed this as well recently. As it happens, .NET's WebClient.CancelAsync function does... well, nothing.

https://stackoverflow.com/questions/48187976/webclient-cancelasync-file-still-downloading

I've looked into some ways to solve this, but they're fairly high risk, so I'm planning to hold off till after the next release in the hope that it'll be less buggy than the current one.

Share this post


Link to post
Share on other sites

So a bit of a feature request: It's cool that we can add "Compatible KSP versions" in the Settings menu, since most mods will continue to work between minor KSP patches, but would it be possible to set this on a per-mod basis, since some "incompatible" versions of mods seem to work just fine on newer versions of KSP, while many others don't.

It might also be good if we could manually force mods to update to a particular mod version from the Versions list for testing purposes.

Edited by Rohaq

Share this post


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

Yes:  https://github.com/KSP-CKAN/CKAN/wiki/User-guide#logging

Agreed, that's how it should work. We addressed one case of this recently (to be included in a future release). It may or may not fix your issue depending on the exact error you're getting:

Funny, I noticed this as well recently. As it happens, .NET's WebClient.CancelAsync function does... well, nothing.

https://stackoverflow.com/questions/48187976/webclient-cancelasync-file-still-downloading

I've looked into some ways to solve this, but they're fairly high risk, so I'm planning to hold off till after the next release in the hope that it'll be less buggy than the current one.

Thanks for your fast reply!

Share this post


Link to post
Share on other sites
13 hours ago, Rohaq said:

It might also be good if we could manually force mods to update to a particular mod version from the Versions list for testing purposes.

That's coming in the next release!

Share this post


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

That's coming in the next release!

Excellent!

Any comments on the feasibility of my other request? :) 

Share this post


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

It's larger in scope. Try submitting an issue so it doesn't get lost in the shuffle of the forum thread:

Done and done: https://github.com/KSP-CKAN/CKAN/issues/2398

It also made me think that an "Install when compatible" feature would be useful for such an override feature so that the mod gets marked for install whenever a version appears marked as compatible with the installed version of KSP - but that feels a little like further scope creep. That said, it might be easier to do it all in one blast, since you'd be changing the mod data structure already if you added an override for the global "Compatible KSP Versions" list.

Edited by Rohaq

Share this post


Link to post
Share on other sites

@HebaruSan, just a note.  PlanetShine is now maintained by me.

forum link:  

 

Github Link to .version file: https://github.com/PapaJoesSoup/ksp-planetshine/blob/master/PlanetShine/Distribution/GameData/PlanetShine/Plugins/PlanetShine.version

 

Would you be so kind as to update the index for this fine mod?  Please let me know if there is anything else you need.

Edited by Papa_Joe

Share this post


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

@HebaruSanWould you be so kind as to update the index for this fine mod?  Please let me know if there is anything else you need.

Should be updated now. Thanks for the heads-up.

Share this post


Link to post
Share on other sites
Just now, HebaruSan said:

Should be updated now. Thanks for the heads-up.

Thanks!

 

Share this post


Link to post
Share on other sites

Hi, i have a brand new installation of Ksp 1.2.2 and ckan recognize my installation as a 1.4.2.2110

My version of ckan is 1.24.0

Did i miss something ?

Share this post


Link to post
Share on other sites
21 minutes ago, corolor said:

Hi, i have a brand new installation of Ksp 1.2.2 and ckan recognize my installation as a 1.4.2.2110

My version of ckan is 1.24.0

Did i miss something ?

Your installation is probably 1.4.2.2110.

Share this post


Link to post
Share on other sites
Quote

Hi, i have a brand new installation of Ksp 1.2.2 and ckan recognize my installation as a 1.4.2.2110

My version of ckan is 1.24.0

Did i miss something ?

I launched KSP. And this is showing 1.2.2.2110 (windowsplayer x64) on the bottom right

Found the problem.

My Build64.txt was the problem. I replace it with:

build id = 01622
2016.12.06 at 08:30:17 CET
Branch: master

And voila... :)

Forgot to mention it was a steam version. Maybe the problem come from that.

Edited by corolor

Share this post


Link to post
Share on other sites
13 hours ago, corolor said:

Forgot to mention it was a steam version. Maybe the problem come from that.

Probably steam messing up with your install files. I can only recommend for steam users to keep original KSP folder stock and copy whole KSP game outside of Steam/ProgramFiles. That way you will know for sure what version KSP is, less likely that steam will mess up your moded game, and you will always have latest "mod friendly" version of KSP while waiting for favorite mods to update for latest version of KSP. And stock game still can be up to date trough steam, just copy latest main game folders elsewhere  when you deceide to update everything, mods and KSP to higher version.

Share this post


Link to post
Share on other sites

There's a problem with the current CKAN install of USI LS (v 0.9.0.0, Max KSP version 1.4.9). When I install it and its dependencies manually it all works. When I let CKAN install USI LS doesn't work - the green box doesn't appear in the toolbar in the space center view nor in VAB/SPH.

I've tried this multiple times with no success using completely new installs of KSP to avoid any conflicts. 

Please take a look if you have time.

Share this post


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

There's a problem with the current CKAN install of USI LS (v 0.9.0.0, Max KSP version 1.4.9). When I install it and its dependencies manually it all works. When I let CKAN install USI LS doesn't work - the green box doesn't appear in the toolbar in the space center view nor in VAB/SPH.

I've tried this multiple times with no success using completely new installs of KSP to avoid any conflicts. 

Please take a look if you have time.

The metadata for that mod and all of its dependencies is maintained by the mod author; the CKAN team can't change it. Sounds like there's some difference between the bundled dependencies and the corresponding standalone releases.

Share this post


Link to post
Share on other sites

CKAN Release v1.25.0 "Wallops" is released!

File:NASA Wallops Flight Facility, 2010.jpg

Changes since 1.24.0

 

Spoiler

 

Features

  • [Core] Detect DLC and allow as a dependency (#2326 by: dbent; reviewed: politas)
  • [GUI] Install old mod versions by version list double-click (#2364 by: HebaruSan; reviewed: politas)
  • [Core] Allow installations to the Missions folder (#2371 by: Olympic1; reviewed: politas)
  • [GUI] Sort by "update"-column on clicking "add available updates"-button (#2392 by: DasSkellet; reviewed: politas)

Bugfixes

  • [Multiple] Fix crash when trying to view empty auth token list (#2301 by: HebaruSan; reviewed: politas)
  • [GUI] Handle mod not found in versions tab (#2303 by: HebaruSan; reviewed: politas)
  • [GUI] Better resizing for Select KSP Install window (#2306 by: HebaruSan; reviewed: politas)
  • [GUI] Fix GUI sort by size (#2311 by: HebaruSan; reviewed: politas)
  • [Core] Don't crash if download_hash isn't set (#2313 by: HebaruSan; reviewed: politas)
  • [GUI] Fix GUI instance name checking (#2316 by: HebaruSan; reviewed: politas)
  • [Core] Fix ArgumentOutOfRangeException when removing files from game root (#2332 by: HebaruSan; reviewed: politas)
  • [Core] Obey version properties of conflicts and depends relationships in sanity checks (#2339 by: HebaruSan; reviewed: politas)
  • [Netkan] Invalidate stale cached files from GitHub in Netkan (#2337 by: HebaruSan; reviewed: politas)
  • [Build] Allow building CKAN.app on macOS (#2356 by: phardy; reviewed: HebaruSan)
  • [GUI] Always switch to progress tab when starting a [re/un]install (#2351 by: HebaruSan; reviewed: Olympic1)
  • [Core] Support CC-BY-ND licences in code (#2369 by: HebaruSan; no review)
  • [GUI] Improve response to checkbox changes (#2354 by: HebaruSan; reviewed: politas)
  • [Core] Allow downloader to be used multiple times (#2365 by: HebaruSan; reviewed: politas)
  • [GUI] Clean up URL Handler registration (#2366 by: HebaruSan; reviewed: politas)
  • [Multiple] Deal with threading and download errors (#2374 by: HebaruSan; reviewed: politas)
  • [GUI] More verbose and accurate version displays (#2382 by: HebaruSan; reviewed: politas)
  • [Core] Encode spaces in URL output (#2386 by: HebaruSan; reviewed: politas)
  • [Multiple] Clean-up and debuggability (#2399 by: HebaruSan; reviewed: politas)
  • [Netkan] Don't double encode GitHub download URLs (#2402 by: HebaruSan; reviewed: politas)
  • [Netkan] Option to override SpaceDock version with AVC version (#2406 by: HebaruSan; reviewed: politas)
  • [GUI] Move AutoUpdate.CanUpdate check to resolve VisualStudio Designer Error (#2407 by: DasSkellet; reviewed: Olympic1, politas)
  • [GUI] Better AutoUpdate.CanUpdate Error Message (#2408 by: DasSkellet; reviewed: politas)

Internal

  • [Build] Improve CKAN.app launch script (#2329 by: HebaruSan; reviewed: politas)
  • [Build] Fix building on macOS (#2341 by: phardy; reviewed: HebaruSan, politas)
  • [Build] Fix autoupdater tests on TLS-fragile platforms (#2344 by: HebaruSan; reviewed: politas)
  • [Build] Remove extra copies of various files (#2363 by: HebaruSan; reviewed: Olympic1)

 

Notes

  • The auto-update function in previous releases may fail trying to upgrade to this version. In that case, you will need to download it manually and replace your previous copy.
  • You don't need to download AutoUpdate.exe. This is used internally by CKAN when a new version is released.
  • Windows users must have .NET 4.5 installed. SImply download the ckan.exe file and either store it in your game directory or somewhere in your filesystem that you have non-admin write access. Never run the CKAN client as Administrator!
  • libcurl is no longer used by CKAN for Linux or Mac. If you experience problems downloading, please contact us
  • Mac/Linux/Mono users: please use the new cert-sync tool, to update mono's certificate store.
  • Mac Users: You should only need to download and install the CKAN.dmg
  • The .deb file is for automated installation on Debian-based Linux distributions - Use dpkg-install/apt-get/apt to install the .deb file and you will then be able to run CKAN with just ckan instead of mono ckan.exe. All required libraries should be pulled in as dependencies.
  • This release of the CKAN has not been tested on Mono releases prior to 5.0.1. We highly recommend upgrading to the latest stable release of Mono from mono-project.com You will need the equivalent of the mono-complete package for your OS.

News and appreciations

  • With this release we're adding support for the Making History DLC, mostly thanks to @Olympic1. Mods can include Making History as a dependency or any other relationship type, and we allow files to be installed in the Missions folder, so mods can include custom missions.
  • @HebaruSancontinues to be a powerhouse of coding talent as well as a very active metadata editor. You've all seen his regular contributions in the thread here, I'm sure!
  • New contributor DasSkelett has been doing some great work with small improvements to the GUI!
  • huge thanks to everyone who has posted an issue at https://github.com/KSP-CKAN/CKAN/issues, they really do help us to make the CKAN better for everyone!

Share this post


Link to post
Share on other sites

@HebaruSan, due to multiple requests for a KSP 1.3.1 specific version of PlanetShine, I  have distributed a version specific release.

Of course this throws off the latest release tag in GitHub, so I wanted to give you a heads up on the specific GitHub release tags and version files for each version.

KSP 1.3.1 version release tag:  https://github.com/PapaJoesSoup/ksp-planetshine/releases/tag/0.2.5.3
KSP 1.4.x version release tag: https://github.com/PapaJoesSoup/ksp-planetshine/releases/tag/0.2.6.1

KSP-AVC Version files:
KSP 1.3.1:  https://github.com/PapaJoesSoup/ksp-planetshine/blob/ksp131recompile/PlanetShine/Distribution/GameData/PlanetShine/Plugins/PlanetShine.version
KSP 1.4.1:  https://github.com/PapaJoesSoup/ksp-planetshine/blob/master/PlanetShine/Distribution/GameData/PlanetShine/Plugins/PlanetShine.version

Note that the KSP 1.3.1 version is built against a different branch in the version file links above

Thanks!  Hope this helps!

Share this post


Link to post
Share on other sites

On installing CKAN I recieved a message saying it needs permission to create a new url handler. I pressed yes, but could someone explain what this means and whether I should have pressed yes or no? Thanks for your help.

Edited by Captainfisher

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.