-
-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CKAN will not launch on MacOSX installed from Homebrew #2630
Comments
What was updated by the "brew upgrade" command? |
To clarify, on the Mac, ckan (and its dependency mono) is typically installed via brew (also known as Homebrew, a Mac package management system). The 'brew upgrade' command simultaneously updates the homebrew installation and any outdated packages. |
Right. Can you report what changed when you ran that command this time? That appears to be key to the problem you're having. |
It appears that the |
Okay, I have a (temporary) fix. Warning: it's not pretty. Please do not follow these instructions unless you understand what each one does or you're willing to deal with a broken CKAN/Mono/Homebrew install if something goes wrong.
As far as I can tell, these changes to the |
Thanks, that's good to know. This error is saying that Mono can't find some code in the OS that it expects to be there, which isn't something CKAN could cause or fix. It's possible that brew messed up the packaging somehow, or it's possible there's a bug in Mono 5.16. You might try installing Mono 5.16 without brew, but I know that might be inconvenient. |
This is the specific call in Mono that's failing, for future reference. |
mono/mono#8712 |
Check out mono/mono#9576 though. Same exception and call stack. @grahamj1978, does brew have a |
The easiest and quickest way might be uninstall the brew one and install the one from the official homepage: https://www.mono-project.com/download/stable/ This worked for me. |
I might just give the package install a try. Brew now has mono 5.18.0.225, but it doesn't seem to resolve the issue (same error). @HebaruSan, I don't see a libmono package using the 'brew info' command, so I so assume not. The only 'mono' package it can fine in the mono install itself. |
@grahamj1978 or @CraigCottingham or @gullevek , would one of you be willing to volunteer to please report this to Homebrew? I don't have a Mac and would not be able to answer clarifying questions or test their fixes. |
Hey there! I'm a fun-loving automated bot who's responsible for making sure old support tickets get closed out. As we haven't seen any activity on this ticket for a while, we're hoping the problem has been resolved and I'm closing out the ticket automaically. If I'm doing this in error, please add a comment to this ticket to let us know, and we'll re-open it! |
I was able to do a |
If anyone does decide to take this to the Homebrew team, it looks like the cause may be that |
Quoth the Homebrew folks:
Conclusion, Homebrew isn't a reliable way to install software. They don't investigate or fix problems; users are expected to do that for themselves. I've hidden the Homebrew instructions on the CKAN wiki's OSX page, and any further CKAN issues mentioning Homebrew will be summarily closed. |
Update, the Homebrew devs have closed the issue without fixing or even investigating it. They apparently do not care about problems in their distribution system that result in broken software for users. Frankly I'd see that as a reason to never use Homebrew for anything, not just CKAN. |
In defense of the Homebrew maintainers, this wasn't an issue with Homebrew as much as it was with the Mono formula for Homebrew, and the maintainer(s) for that aren't necessarily the same as the Homebrew maintainers. Whether or not this issue was passed on to the Mono maintainers, I don't know. That might have been our (read "my") responsibility. I don't want to get into a debate over the merits and demerits of Homebrew. If it works for you, great; if it doesn't, that's fine too. If the official position of CKAN is that Homebrew should not be used to install CKAN, I won't object. |
I'm not sure CKAN can (or should) have an official position, but we ought to avoid steering users toward a solution that we know in advance won't work in our documentation, at least. And I thought they said that formulas don't have specific maintainers to whom such issues could be passed on. So if/when issues like this do arise, we're depending on Joe Random User to donate the hours and expertise to figure it out. Agreed that folks should use what works for them and not what doesn't, but I wonder how many of the users who think that Homebrew works for them are aware that packages can break and stay broken with no process for getting a fix (or even continuing to track the fact that they are broken!). I wonder what they'll do if another user reports this. Close it as a duplicate of a closed and unfixed issue? |
@HebaruSan I've only just started with CKAN today (been away from KSP for a few years), but is there a reason using homebrew-cask wouldn't work for folks? I'm a big fan of |
@Amorymeltzer, your timing is impeccable, @alebcay fixed the mono formula just days ago in Homebrew/homebrew-core#41728. So it works for now (probably). |
Background
CKAN Version:
1.25.4
Mono Version:
5.16.0.220
KSP Version:
1.6.0
Operating System:
OS X 10.13.6 (High Sierra)
Have you made any manual changes to your GameData folder (i.e., not via CKAN)?
No, just ran 'brew upgrade,' as I planned to check for updated KSP add-ons for the 1.6 update.
Problem
What steps did you take in CKAN?
None, tried starting it from the command line via 'ckan consoleui'
What did you expect to happen?
The ckan console UI would start
What happened instead?
received an unhandled exception error
Screenshots:
CKAN error codes (if applicable):
(and so on)
The text was updated successfully, but these errors were encountered: