cmacrae / spacebar

A minimal status bar for macOS. Ideal for use with tiling window managers like yabai
MIT License
1.22k stars 52 forks source link

Socket connection #117

Open chraibi opened 1 year ago

chraibi commented 1 year ago

I recently get this error

spacebar-msg: failed to connect to socket..                                  │

Not sure how to debug it. Maybe someone here has an idea?

tubbo commented 1 year ago

is spacebar running? this is what i would assume would happen if you try to run spacebar -m ... without the daemon actually running, since it's connecting over a socket

chraibi commented 1 year ago

I guess so. This is how it looks. Notice left the numbers for workspaces are missing:

Screen Shot 2022-10-11 at 07 50 59

Trying to explicitly run spacebar gives the following:

spacebar: could not acquire lock-file! abort.. Often, I solve the problem with source $HOME/.config/spacebar/.spacebarrc but, that is not a nice workaround. Probably the problem is trivial, but I did not figure it out yet!

Screen Shot 2022-10-11 at 07 53 25

My err.log shows a bunch of the following line: ""*ERROR*: Wrong type argument: listp,. Some process is constantly writing this line in the log. It seems this process is Emacs.

I stopped Emacs, just to check and voila:

Screen Shot 2022-10-11 at 08 03 48

Do you think, Emacs spamming spacebar with these error-messages, is the reason for loosing connection?