Closed cpcallen closed 5 years ago
Homebrew's mono doesn't work. Install the package from mono-project.com:
https://github.com/KSP-CKAN/CKAN/wiki/Installing-CKAN-on-OSX
Also the workaround that you referenced specifically stated "ckan is functional with ckan consoleui and other text-only commands". You tried to run the GUI.
Also the workaround that you referenced specifically stated "ckan is functional with ckan consoleui and other text-only commands". You tried to run the GUI.
That is useful and non-obvious information—thanks!
Please reopen.
I have removed the mono and mono-mdk homebrew packages, and installed the official package from mono-project.com, and more or less exactly the same crash occurs, so the problem does not relate to homebrew.
Oh right, just running "ckan" from the command line will run into #2272, the GUI can only run in 32-bit mode. Try:
mono --arch=32 ckan.exe
The .dmg download does that automatically.
mono --arch=32 ckan.exe
That does indeed solve the problem. I wonder if it would be worth updating the script created by the ckan.rb
Homebrew formula to more closely resemble the one provided in the .app
bundle (and also remove the misleading reference to the non-existent ckan-app
cask).
That does indeed solve the problem. I wonder if it would be worth updating the script created by the
ckan.rb
Homebrew formula to more closely resemble the one provided in the.app
bundle (and also remove the misleading reference to the non-existentckan-app
cask).
I don't know the package update policy of Homebrew, but if you are going to create a PR, you could try to update the version of CKAN they distribute, especially because there were some bugs leading to crashes on macOS fixed since v1.25.4.
CKAN v1.26.2 is the most recent version.
But again, I don't know how Homebrew works, so that might be nonsense.
As I understand it, the homebrew team welcomes (in fact depends on) changes from its users, so you might as well try. The CKAN team has no involvement with that cask.
Background
CKAN Version: 1.25.4
KSP Version: 1.7.0
Operating System: macOS High Sierra 10.13.6
Have you made any manual changes to your GameData folder (i.e., not via CKAN)? Yes.
Problem
What steps did you take in CKAN?
Installed CKAN using homebrew. Installation succeeded, but running
$ ckan
encountered issue #2630, so I applied the suggested fix of installing themono-mdk
cask instead of themono
formula:After restarting bash to pick up the new path for
mono
, I startedckan
with no arguments.What did you expect to happen?
Something useful, like a usage message.
What happened instead?
It promptly crashed:
Full crash dump output.
CKAN error codes (if applicable): Not sure. Dump output ends with "Abort trap: 6".