Skip to content
This repository has been archived by the owner on Jul 2, 2019. It is now read-only.

Doesn't work on macOS 10.12 Sierra #10

Open
ZevEisenberg opened this issue Oct 19, 2016 · 5 comments
Open

Doesn't work on macOS 10.12 Sierra #10

ZevEisenberg opened this issue Oct 19, 2016 · 5 comments

Comments

@ZevEisenberg
Copy link

ZevEisenberg commented Oct 19, 2016

PianoKeys was working fine under 10.11, but I've updated two machines to 10.12, and now PianoKeys doesn't stay running, or doesn't start at all. I'm not sure which, but when I look in Activity Monitor after running pianokeys && pianobar, I just see pianobar, and hitting the media control keys just opens iTunes.

I looked in Console.app, and I see this when I search for piano keys:

default 13:47:51.826720 -0400   pianokeys   subsystem: com.apple.SkyLight, category: default, enable_level: 0, persist_level: 0, default_ttl: 7, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0, enable_private_data: 0
default 13:47:51.873992 -0400   kernel  AMFI: allowing exception handler for 'pianokeys' (27975) because the process is unsigned.
default 13:47:51.876290 -0400   kernel  AMFI: allowing exception handler for 'pianokeys' (27975) because the process is unsigned.
@tassels
Copy link

tassels commented Oct 19, 2016

Literally came across this same issue just now. Trying to figure it out but haven't found anything yet.

@muammar
Copy link

muammar commented Jan 29, 2017

Sorry for the noise in this report, but have you found any solution for this yet?. I am experiencing the same problem.

@cjdaniel
Copy link

The problem appears to be with daemonizing. When I enable debug (by setting #define DEBUG 1 in PianoKeys/PianoKeys-Prefix.pch), thereby un-defining DAEMONIZE and some other things, pianokeys works. Just re-defining DAEMONIZE causes it to break again. I have no idea what I'm doing, so not sure where to go from here :-)

@ronilaukkarinen
Copy link

Just noticed the same, was wondering this for a long time but I see the problem is Sierra. Thanks @cjdaniel from the tip, it works now with #define DEBUG 1 for time being in separate terminal window.

@ronilaukkarinen
Copy link

Here's an alias to make it efficient to use pianokeys && pianobar with debug on:

alias pianobar='osascript -e '"'"'tell application "Terminal" to do script "pianokeys"'"'"' && pianobar'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants