brunophilipe / Cakebrew

Manage your Homebrew formulas with style using Cakebrew.
http://www.cakebrew.com
GNU General Public License v3.0
4.8k stars 253 forks source link

Cakebrew crash on macos 11.4 #237

Open wb7700 opened 3 years ago

wb7700 commented 3 years ago

Process: Cakebrew [3857] Path: /Applications/Cakebrew.app/Contents/MacOS/Cakebrew Identifier: com.brunophilipe.Cakebrew Version: 1.3 (594) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Cakebrew [3857] User ID: 502

Date/Time: 2021-05-26 10:14:28.047 +0800 OS Version: macOS 11.4 (20F71) Report Version: 12 Bridge OS Version: 5.4 (18P4663) Anonymous UUID: 46C23A21-9344-4A60-8DE1-8F35F50C40C0

Time Awake Since Boot: 950 seconds

System Integrity Protection: enabled

Crashed Thread: 3 Dispatch queue: com.apple.root.background-qos

Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!' terminating with uncaught exception of type NSException abort() called

wb7700 commented 3 years ago

add /usr/local/bin/zsh to /etc/shells to fix this problem.

JimmyDeemo commented 2 years ago

add /usr/local/bin/zsh to /etc/shells to fix this problem.

I have this same error (MacOS 11.6) could you please elaborate on this fix. Is it just copying files over? I'm not a MacOS expert so any help would be much appreciated.

SebastianGrans commented 2 years ago

@JimmyDeemo

In a Terminal:

sudo nano /etc/shells 

This opens up the file /etc/shells in the terminal based text editor nano.

At the bottom of the file, add /usr/local/bin/zsh, then press Ctrl+o (write to file) followed by Ctrl+x (close).

JimmyDeemo commented 2 years ago

Done and it worked. Thank you very much @SebastianGrans.

SebastianGrans commented 2 years ago

@JimmyDeemo: Glad I could help :)

DKroot commented 2 years ago

Well, it's not necessarily /usr/local/bin/zsh. It's your user's shell. In my case, it was /usr/local/bin/bash.