{"action":"created","issue":{"url":"https://api.github.com/repos/AnimationMentor/systray/issues/1","repository_url":"https://api.github.com/repos/AnimationMentor/systray","labels_url":"https://api.github.com/repos/AnimationMentor/systray/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/AnimationMentor/systray/issues/1/comments","events_url":"https://api.github.com/repos/AnimationMentor/systray/issues/1/events","html_url":"https://github.com/AnimationMentor/systray/issues/1","id":194425570,"number":1,"title":"upgrading to golang > 1.5.4 breaks lifecycler/systray operation on all versions of macOS","user":{"login":"dkujawski","id":515959,"avatar_url":"https://avatars.githubusercontent.com/u/515959?v=3","gravatar_id":"","url":"https://api.github.com/users/dkujawski","html_url":"https://github.com/dkujawski","followers_url":"https://api.github.com/users/dkujawski/followers","following_url":"https://api.github.com/users/dkujawski/following{/other_user}","gists_url":"https://api.github.com/users/dkujawski/gists{/gist_id}","starred_url":"https://api.github.com/users/dkujawski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkujawski/subscriptions","organizations_url":"https://api.github.com/users/dkujawski/orgs","repos_url":"https://api.github.com/users/dkujawski/repos","events_url":"https://api.github.com/users/dkujawski/events{/privacy}","received_events_url":"https://api.github.com/users/dkujawski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-08T19:40:56Z","updated_at":"2016-12-09T01:05:58Z","closed_at":null,"body":"Trying to use newer versions of golang to support latest macOS version 10.12.\r\nWhen compiling with a version of golang larger than 1.5.4 the cgo code paths fail at runtime.\r\n\r\nSeems that it could be related to this: \r\nhttps://golang.org/doc/go1.6#cgo\r\n\r\nI have tried using go versions: \r\n\r\n- 1.6.3\r\n- 1.6.4\r\n- 1.7.3\r\n- 1.7.4\r\n\r\nAs mentioned in the release notes, I did try turning off the checks with: `GODEBUG=cgocheck=0` \r\n\r\nCompile time warnings are present when compiling with 1.5.4 but does not seem to have a negative impact on operation when running on macOS versions older than 10.12.\r\n```\r\nsrc/github.com/AnimationMentor/systray/tray_darwin.c:200:23: warning: instance method '-showIcon:hint:' not found (return type defaults to 'id') [-Wobjc-method-access]\r\nsrc/github.com/AnimationMentor/systray/tray_darwin.c:207:23: warning: instance method '-showIcon:hint:' not found (return type defaults to 'id') [-Wobjc-method-access]\r\nsrc/github.com/AnimationMentor/systray/tray_darwin.c:214:23: warning: instance method '-addMenuItem:manager:index:enabled:checked:callback:' not found (return type defaults to 'id') [-Wobjc-method-access]\r\nsrc/github.com/AnimationMentor/systray/tray_darwin.c:22\r\n```\r\nRunning from the commandline with verbose logging returns:\r\n```\r\n$> ./lifecycler\r\nI1208 11:43:29.149971   25013 main.go:164] Starting tray...\r\nI1208 11:43:29.150077   25013 tray.go:103] Starting tray\r\nI1208 11:43:29.150080   25013 launcher.go:40] Starting child process\r\nI1208 11:43:29.150102   25013 tray.go:129] Setting tray icon: artella.ok.png ARTELLA\r\nRunning main loop on systray 0xc42008e1c0\r\nI1208 11:43:29.152664   25013 tray.go:106] Exiting tray\r\nI1208 11:43:29.152775   25013 main.go:115] launcherMsg: AppState:Starting\r\nI1208 11:43:29.152783   25013 main.go:122] IS IDLE: false\r\nI1208 11:43:29.149994   25013 updater.go:45] Starting updater\r\nI1208 11:43:29.152941   25013 updater.go:54] Waiting for new versions to hit the release server...\r\n```\r\nNote the \"Setting tray icon: artella.ok.png \" and \"Exiting tray\" log lines which indicate that the tray_darwin.c code paths seem to be having trouble.\r\n"},"comment":{"url":"https://api.github.com/repos/AnimationMentor/systray/issues/comments/265903970","html_url":"https://github.com/AnimationMentor/systray/issues/1#issuecomment-265903970","issue_url":"https://api.github.com/repos/AnimationMentor/systray/issues/1","id":265903970,"user":{"login":"reedwade","id":63285,"avatar_url":"https://avatars.githubusercontent.com/u/63285?v=3","gravatar_id":"","url":"https://api.github.com/users/reedwade","html_url":"https://github.com/reedwade","followers_url":"https://api.github.com/users/reedwade/followers","following_url":"https://api.github.com/users/reedwade/following{/other_user}","gists_url":"https://api.github.com/users/reedwade/gists{/gist_id}","starred_url":"https://api.github.com/users/reedwade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reedwade/subscriptions","organizations_url":"https://api.github.com/users/reedwade/orgs","repos_url":"https://api.github.com/users/reedwade/repos","events_url":"https://api.github.com/users/reedwade/events{/privacy}","received_events_url":"https://api.github.com/users/reedwade/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T01:05:58Z","updated_at":"2016-12-09T01:05:58Z","body":"I wish I had any helpful ideas.\r\n\r\nHave you tried out the systray tests and examples to confirm they work in that environment?\r\n"}}
{"actor":{"display_login":"reedwade"}}