{"action":"created","issue":{"url":"https://api.github.com/repos/alex2108/syncthing-tray/issues/20","repository_url":"https://api.github.com/repos/alex2108/syncthing-tray","labels_url":"https://api.github.com/repos/alex2108/syncthing-tray/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/alex2108/syncthing-tray/issues/20/comments","events_url":"https://api.github.com/repos/alex2108/syncthing-tray/issues/20/events","html_url":"https://github.com/alex2108/syncthing-tray/issues/20","id":156352111,"number":20,"title":"v.4 Won't run on Mac","user":{"login":"SenorLoco","id":7086131,"avatar_url":"https://avatars.githubusercontent.com/u/7086131?v=3","gravatar_id":"","url":"https://api.github.com/users/SenorLoco","html_url":"https://github.com/SenorLoco","followers_url":"https://api.github.com/users/SenorLoco/followers","following_url":"https://api.github.com/users/SenorLoco/following{/other_user}","gists_url":"https://api.github.com/users/SenorLoco/gists{/gist_id}","starred_url":"https://api.github.com/users/SenorLoco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SenorLoco/subscriptions","organizations_url":"https://api.github.com/users/SenorLoco/orgs","repos_url":"https://api.github.com/users/SenorLoco/repos","events_url":"https://api.github.com/users/SenorLoco/events{/privacy}","received_events_url":"https://api.github.com/users/SenorLoco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2016-05-23T19:50:21Z","updated_at":"2016-06-04T18:24:32Z","closed_at":null,"body":"I know Mac support wasn't ever officially mentioned but prior to syncthing v0.13.2 I was using syncthing-tray v.3 without any issue, but since upgrading to syncthing v.0.13.2 and syncthing-tray v.4 I've been having issues.  Everything is working great on my debian box and would love to use the new version on my Mac.  Unfortunately my Go knowledge is very minimal so I'm not sure where the issue is or if it's an easy fix, but I appreciate your time and I'm willing to test anything.  Thanks.\r\n\r\n`Adams-MacBook-Pro:bin adam$ ./syncthing-tray -target http://127.0.0.1:8080 -api F0d3D34whU4NpBIGx0tINyIuEWantkp3\r\n2016/05/23 14:38:12 main.go:274: Starting Syncthing-Tray\r\n2016/05/23 14:38:12 main.go:275: Connecting to syncthing at http://127.0.0.1:8080\r\n2016/05/23 14:38:12 initialize.go:148: wating for lock\r\n2016/05/23 14:38:12 initialize.go:150: wating for event lock\r\n2016/05/23 14:38:12 initialize.go:162: syncthing restarted at 2016-05-23T07:01:26.238330068-05:00\r\n2016/05/23 14:38:12 initialize.go:205: reading config from syncthing\r\n2016/05/23 14:38:12 initialize.go:257: getting version\r\n2016/05/23 14:38:12 initialize.go:267: displaying version\r\n2016-05-23 14:38:13.022 syncthing-tray[15095:285104] *** Assertion failure in +[NSUndoManager _endTopLevelGroupings], /Library/Caches/com.apple.xbs/Sources/Foundation/Foundation-1259/Misc.subproj/NSUndoManager.m:359\r\n2016-05-23 14:38:13.023 syncthing-tray[15095:285104] +[NSUndoManager(NSInternal) _endTopLevelGroupings] is only safe to invoke on the main thread.\r\n2016-05-23 14:38:13.024 syncthing-tray[15095:285104] (\r\n\t0   CoreFoundation                      0x00007fff9a46b4f2 __exceptionPreprocess + 178\r\n\t1   libobjc.A.dylib                     0x00007fff9839673c objc_exception_throw + 48\r\n\t2   CoreFoundation                      0x00007fff9a4701ca +[NSException raise:format:arguments:] + 106\r\n\t3   Foundation                          0x00007fff8b400856 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 198\r\n\t4   Foundation                          0x00007fff8b385af1 +[NSUndoManager(NSPrivate) _endTopLevelGroupings] + 170\r\n\t5   AppKit                              0x00007fff9453be22 -[NSApplication run] + 844\r\n\t6   syncthing-tray                      0x00000000042d9330 nativeLoop + 128\r\n\t7   syncthing-tray                      0x00000000042d8cea _cgo_46c98963705b_Cfunc_nativeLoop + 26\r\n\t8   syncthing-tray                      0x0000000004065f00 runtime.asmcgocall + 112\r\n)\r\n2016-05-23 14:38:13.024 syncthing-tray[15095:285104] *** Assertion failure in +[NSUndoManager _endTopLevelGroupings], /Library/Caches/com.apple.xbs/Sources/Foundation/Foundation-1259/Misc.subproj/NSUndoManager.m:359\r\n2016-05-23 14:38:13.025 syncthing-tray[15095:285104] An uncaught exception was raised\r\n2016-05-23 14:38:13.025 syncthing-tray[15095:285104] +[NSUndoManager(NSInternal) _endTopLevelGroupings] is only safe to invoke on the main thread.\r\n2016-05-23 14:38:13.025 syncthing-tray[15095:285104] (\r\n\t0   CoreFoundation                      0x00007fff9a46b4f2 __exceptionPreprocess + 178\r\n\t1   libobjc.A.dylib                     0x00007fff9839673c objc_exception_throw + 48\r\n\t2   CoreFoundation                      0x00007fff9a4701ca +[NSException raise:format:arguments:] + 106\r\n\t3   Foundation                          0x00007fff8b400856 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 198\r\n\t4   Foundation                          0x00007fff8b385af1 +[NSUndoManager(NSPrivate) _endTopLevelGroupings] + 170\r\n\t5   AppKit                              0x00007fff9453bebe -[NSApplication run] + 1000\r\n\t6   syncthing-tray                      0x00000000042d9330 nativeLoop + 128\r\n\t7   syncthing-tray                      0x00000000042d8cea _cgo_46c98963705b_Cfunc_nativeLoop + 26\r\n\t8   syncthing-tray                      0x0000000004065f00 runtime.asmcgocall + 112\r\n)\r\n2016-05-23 14:38:13.025 syncthing-tray[15095:285104] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '+[NSUndoManager(NSInternal) _endTopLevelGroupings] is only safe to invoke on the main thread.'\r\n*** First throw call stack:\r\n(\r\n\t0   CoreFoundation                      0x00007fff9a46b4f2 __exceptionPreprocess + 178\r\n\t1   libobjc.A.dylib                     0x00007fff9839673c objc_exception_throw + 48\r\n\t2   CoreFoundation                      0x00007fff9a4701ca +[NSException raise:format:arguments:] + 106\r\n\t3   Foundation                          0x00007fff8b400856 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 198\r\n\t4   Foundation                          0x00007fff8b385af1 +[NSUndoManager(NSPrivate) _endTopLevelGroupings] + 170\r\n\t5   AppKit                              0x00007fff9453bebe -[NSApplication run] + 1000\r\n\t6   syncthing-tray                      0x00000000042d9330 nativeLoop + 128\r\n\t7   syncthing-tray                      0x00000000042d8cea _cgo_46c98963705b_Cfunc_nativeLoop + 26\r\n\t8   syncthing-tray                      0x0000000004065f00 runtime.asmcgocall + 112\r\n)\r\nlibc++abi.dylib: terminating with uncaught exception of type NSException\r\nSIGABRT: abort\r\nPC=0x7fff8d75bf06 m=5\r\nsignal arrived during cgo execution\r\n\r\ngoroutine 1 [syscall, locked to thread]:\r\nruntime.cgocall(0x42d8cd0, 0xc82004fdf0, 0xc800000000)\r\n\t/usr/local/go/src/runtime/cgocall.go:123 +0x11b fp=0xc82004fdc8 sp=0xc82004fd98\r\ngithub.com/thomasf/systray._Cfunc_nativeLoop(0x0)\r\n\tgithub.com/thomasf/systray/_obj/_cgo_gotypes.go:76 +0x45 fp=0xc82004fdf0 sp=0xc82004fdc8\r\ngithub.com/thomasf/systray.nativeLoop()\r\n\t/Volumes/Storage/Users/adam/GoWork/src/github.com/thomasf/systray/cgo.go:20 +0x18 fp=0xc82004fe00 sp=0xc82004fdf0\r\ngithub.com/thomasf/systray.Run(0x44c3ee8)\r\n\t/Volumes/Storage/Users/adam/GoWork/src/github.com/thomasf/systray/systray.go:56 +0xa0 fp=0xc82004fe28 sp=0xc82004fe00\r\nmain.main()\r\n\t/Volumes/Storage/Users/adam/GoWork/src/github.com/alex2108/syncthing-tray/main.go:285 +0x64c fp=0xc82004ff50 sp=0xc82004fe28\r\nruntime.main()\r\n\t/usr/local/go/src/runtime/proc.go:188 +0x2b0 fp=0xc82004ffa0 sp=0xc82004ff50\r\nruntime.goexit()\r\n\t/usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc82004ffa8 sp=0xc82004ffa0\r\n\r\ngoroutine 17 [syscall, locked to thread]:\r\nruntime.goexit()\r\n\t/usr/local/go/src/runtime/asm_amd64.s:1998 +0x1\r\n\r\ngoroutine 5 [syscall]:\r\nos/signal.signal_recv(0x0)\r\n\t/usr/local/go/src/runtime/sigqueue.go:116 +0x132\r\nos/signal.loop()\r\n\t/usr/local/go/src/os/signal/signal_unix.go:22 +0x18\r\ncreated by os/signal.init.1\r\n\t/usr/local/go/src/os/signal/signal_unix.go:28 +0x37\r\n\r\ngoroutine 6 [select, locked to thread]:\r\nruntime.gopark(0x44c4698, 0xc820024728, 0x4419e90, 0x6, 0x18, 0x2)\r\n\t/usr/local/go/src/runtime/proc.go:262 +0x163\r\nruntime.selectgoImpl(0xc820024728, 0x0, 0x18)\r\n\t/usr/local/go/src/runtime/select.go:392 +0xa67\r\nruntime.selectgo(0xc820024728)\r\n\t/usr/local/go/src/runtime/select.go:215 +0x12\r\nruntime.ensureSigM.func1()\r\n\t/usr/local/go/src/runtime/signal1_unix.go:279 +0x32c\r\nruntime.goexit()\r\n\t/usr/local/go/src/runtime/asm_amd64.s:1998 +0x1\r\n\r\ngoroutine 7 [chan receive]:\r\nmain.main.func1(0xc82005c420)\r\n\t/Volumes/Storage/Users/adam/GoWork/src/github.com/alex2108/syncthing-tray/main.go:266 +0x36\r\ncreated by main.main\r\n\t/Volumes/Storage/Users/adam/GoWork/src/github.com/alex2108/syncthing-tray/main.go:269 +0x383\r\n\r\ngoroutine 8 [chan receive]:\r\nmain.rate_reader()\r\n\t/Volumes/Storage/Users/adam/GoWork/src/github.com/alex2108/syncthing-tray/rate_reader.go:15 +0xc3\r\ncreated by main.main\r\n\t/Volumes/Storage/Users/adam/GoWork/src/github.com/alex2108/syncthing-tray/main.go:277 +0x624\r\n\r\ngoroutine 9 [semacquire]:\r\nsync.runtime_Semacquire(0x4628c2c)\r\n\t/usr/local/go/src/runtime/sema.go:47 +0x26\r\nsync.(*Mutex).Lock(0x4628c28)\r\n\t/usr/local/go/src/sync/mutex.go:83 +0x1c4\r\nmain.main_loop()\r\n\t/Volumes/Storage/Users/adam/GoWork/src/github.com/alex2108/syncthing-tray/main.go:154 +0x23\r\nmain.main.func2()\r\n\t/Volumes/Storage/Users/adam/GoWork/src/github.com/alex2108/syncthing-tray/main.go:280 +0x19\r\ncreated by main.main\r\n\t/Volumes/Storage/Users/adam/GoWork/src/github.com/alex2108/syncthing-tray/main.go:282 +0x63c\r\n\r\ngoroutine 10 [chan receive]:\r\ngithub.com/thomasf/systray.Run.func1(0x44c3ee8)\r\n\t/Volumes/Storage/Users/adam/GoWork/src/github.com/thomasf/systray/systray.go:52 +0x38\r\ncreated by github.com/thomasf/systray.Run\r\n\t/Volumes/Storage/Users/adam/GoWork/src/github.com/thomasf/systray/systray.go:54 +0x9b\r\n\r\ngoroutine 34 [semacquire]:\r\nsync.runtime_Semacquire(0x4628c3c)\r\n\t/usr/local/go/src/runtime/sema.go:47 +0x26\r\nsync.(*Mutex).Lock(0x4628c38)\r\n\t/usr/local/go/src/sync/mutex.go:83 +0x1c4\r\nmain.get_config(0x0, 0x0)\r\n\t/Volumes/Storage/Users/adam/GoWork/src/github.com/alex2108/syncthing-tray/initialize.go:268 +0xc9d\r\nmain.initializeLocked()\r\n\t/Volumes/Storage/Users/adam/GoWork/src/github.com/alex2108/syncthing-tray/initialize.go:166 +0xba\r\ncreated by main.initialize\r\n\t/Volumes/Storage/Users/adam/GoWork/src/github.com/alex2108/syncthing-tray/initialize.go:152 +0x1c0\r\n\r\ngoroutine 36 [IO wait]:\r\nnet.runtime_pollWait(0x4ea1000, 0x72, 0xc82026c000)\r\n\t/usr/local/go/src/runtime/netpoll.go:160 +0x60\r\nnet.(*pollDesc).Wait(0xc8202620d0, 0x72, 0x0, 0x0)\r\n\t/usr/local/go/src/net/fd_poll_runtime.go:73 +0x3a\r\nnet.(*pollDesc).WaitRead(0xc8202620d0, 0x0, 0x0)\r\n\t/usr/local/go/src/net/fd_poll_runtime.go:78 +0x36\r\nnet.(*netFD).Read(0xc820262070, 0xc82026c000, 0x1000, 0x1000, 0x0, 0x4d00050, 0xc820010170)\r\n\t/usr/local/go/src/net/fd_unix.go:250 +0x23a\r\nnet.(*conn).Read(0xc82026a000, 0xc82026c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\r\n\t/usr/local/go/src/net/net.go:172 +0xe4\r\nnet/http.noteEOFReader.Read(0x4ea10c0, 0xc82026a000, 0xc820246138, 0xc82026c000, 0x1000, 0x1000, 0x400fa33, 0x0, 0x0)\r\n\t/usr/local/go/src/net/http/transport.go:1687 +0x67\r\nnet/http.(*noteEOFReader).Read(0xc820252100, 0xc82026c000, 0x1000, 0x1000, 0xc820274d1d, 0x0, 0x0)\r\n\t<autogenerated>:284 +0xd0\r\nbufio.(*Reader).fill(0xc820264300)\r\n\t/usr/local/go/src/bufio/bufio.go:97 +0x1e9\r\nbufio.(*Reader).Peek(0xc820264300, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n\t/usr/local/go/src/bufio/bufio.go:132 +0xcc\r\nnet/http.(*persistConn).readLoop(0xc8202460d0)\r\n\t/usr/local/go/src/net/http/transport.go:1073 +0x177\r\ncreated by net/http.(*Transport).dialConn\r\n\t/usr/local/go/src/net/http/transport.go:857 +0x10a6\r\n\r\ngoroutine 37 [select]:\r\nnet/http.(*persistConn).writeLoop(0xc8202460d0)\r\n\t/usr/local/go/src/net/http/transport.go:1277 +0x472\r\ncreated by net/http.(*Transport).dialConn\r\n\t/usr/local/go/src/net/http/transport.go:858 +0x10cb\r\n\r\ngoroutine 51 [IO wait]:\r\nnet.runtime_pollWait(0x4ea0f40, 0x72, 0xc8202aa000)\r\n\t/usr/local/go/src/runtime/netpoll.go:160 +0x60\r\nnet.(*pollDesc).Wait(0xc8202861b0, 0x72, 0x0, 0x0)\r\n\t/usr/local/go/src/net/fd_poll_runtime.go:73 +0x3a\r\nnet.(*pollDesc).WaitRead(0xc8202861b0, 0x0, 0x0)\r\n\t/usr/local/go/src/net/fd_poll_runtime.go:78 +0x36\r\nnet.(*netFD).Read(0xc820286150, 0xc8202aa000, 0x1000, 0x1000, 0x0, 0x4d00050, 0xc820010170)\r\n\t/usr/local/go/src/net/fd_unix.go:250 +0x23a\r\nnet.(*conn).Read(0xc82028c008, 0xc8202aa000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\r\n\t/usr/local/go/src/net/net.go:172 +0xe4\r\nnet/http.noteEOFReader.Read(0x4ea10c0, 0xc82028c008, 0xc820294138, 0xc8202aa000, 0x1000, 0x1000, 0x400fa33, 0x0, 0x0)\r\n\t/usr/local/go/src/net/http/transport.go:1687 +0x67\r\nnet/http.(*noteEOFReader).Read(0xc8202823c0, 0xc8202aa000, 0x1000, 0x1000, 0xc820275d1d, 0x0, 0x0)\r\n\t<autogenerated>:284 +0xd0\r\nbufio.(*Reader).fill(0xc82026e360)\r\n\t/usr/local/go/src/bufio/bufio.go:97 +0x1e9\r\nbufio.(*Reader).Peek(0xc82026e360, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n\t/usr/local/go/src/bufio/bufio.go:132 +0xcc\r\nnet/http.(*persistConn).readLoop(0xc8202940d0)\r\n\t/usr/local/go/src/net/http/transport.go:1073 +0x177\r\ncreated by net/http.(*Transport).dialConn\r\n\t/usr/local/go/src/net/http/transport.go:857 +0x10a6\r\n\r\ngoroutine 52 [select]:\r\nnet/http.(*persistConn).writeLoop(0xc8202940d0)\r\n\t/usr/local/go/src/net/http/transport.go:1277 +0x472\r\ncreated by net/http.(*Transport).dialConn\r\n\t/usr/local/go/src/net/http/transport.go:858 +0x10cb\r\n\r\ngoroutine 39 [IO wait]:\r\nnet.runtime_pollWait(0x4ea0e80, 0x72, 0xc8202bb000)\r\n\t/usr/local/go/src/runtime/netpoll.go:160 +0x60\r\nnet.(*pollDesc).Wait(0xc820262450, 0x72, 0x0, 0x0)\r\n\t/usr/local/go/src/net/fd_poll_runtime.go:73 +0x3a\r\nnet.(*pollDesc).WaitRead(0xc820262450, 0x0, 0x0)\r\n\t/usr/local/go/src/net/fd_poll_runtime.go:78 +0x36\r\nnet.(*netFD).Read(0xc8202623f0, 0xc8202bb000, 0x1000, 0x1000, 0x0, 0x4d00050, 0xc820010170)\r\n\t/usr/local/go/src/net/fd_unix.go:250 +0x23a\r\nnet.(*conn).Read(0xc82026a010, 0xc8202bb000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\r\n\t/usr/local/go/src/net/net.go:172 +0xe4\r\nnet/http.noteEOFReader.Read(0x4ea10c0, 0xc82026a010, 0xc820246888, 0xc8202bb000, 0x1000, 0x1000, 0x400fa33, 0x0, 0x0)\r\n\t/usr/local/go/src/net/http/transport.go:1687 +0x67\r\nnet/http.(*noteEOFReader).Read(0xc820253380, 0xc8202bb000, 0x1000, 0x1000, 0xc820277d1d, 0x0, 0x0)\r\n\t<autogenerated>:284 +0xd0\r\nbufio.(*Reader).fill(0xc820264780)\r\n\t/usr/local/go/src/bufio/bufio.go:97 +0x1e9\r\nbufio.(*Reader).Peek(0xc820264780, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n\t/usr/local/go/src/bufio/bufio.go:132 +0xcc\r\nnet/http.(*persistConn).readLoop(0xc820246820)\r\n\t/usr/local/go/src/net/http/transport.go:1073 +0x177\r\ncreated by net/http.(*Transport).dialConn\r\n\t/usr/local/go/src/net/http/transport.go:857 +0x10a6\r\n\r\ngoroutine 40 [select]:\r\nnet/http.(*persistConn).writeLoop(0xc820246820)\r\n\t/usr/local/go/src/net/http/transport.go:1277 +0x472\r\ncreated by net/http.(*Transport).dialConn\r\n\t/usr/local/go/src/net/http/transport.go:858 +0x10cb\r\n\r\nrax    0x0\r\nrbx    0x6\r\nrcx    0x700000208518\r\nrdx    0x0\r\nrdi    0x1603\r\nrsi    0x6\r\nrbp    0x700000208540\r\nrsp    0x700000208518\r\nr8     0x3\r\nr9     0x7fff893bfa7c\r\nr10    0x8000000\r\nr11    0x206\r\nr12    0x7000002086a0\r\nr13    0x58076d0\r\nr14    0x70000020a000\r\nr15    0x700000208580\r\nrip    0x7fff8d75bf06\r\nrflags 0x206\r\ncs     0x7\r\nfs     0x0\r\ngs     0x0\r\n`"},"comment":{"url":"https://api.github.com/repos/alex2108/syncthing-tray/issues/comments/223770496","html_url":"https://github.com/alex2108/syncthing-tray/issues/20#issuecomment-223770496","issue_url":"https://api.github.com/repos/alex2108/syncthing-tray/issues/20","id":223770496,"user":{"login":"xor-gate","id":1050166,"avatar_url":"https://avatars.githubusercontent.com/u/1050166?v=3","gravatar_id":"","url":"https://api.github.com/users/xor-gate","html_url":"https://github.com/xor-gate","followers_url":"https://api.github.com/users/xor-gate/followers","following_url":"https://api.github.com/users/xor-gate/following{/other_user}","gists_url":"https://api.github.com/users/xor-gate/gists{/gist_id}","starred_url":"https://api.github.com/users/xor-gate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xor-gate/subscriptions","organizations_url":"https://api.github.com/users/xor-gate/orgs","repos_url":"https://api.github.com/users/xor-gate/repos","events_url":"https://api.github.com/users/xor-gate/events{/privacy}","received_events_url":"https://api.github.com/users/xor-gate/received_events","type":"User","site_admin":false},"created_at":"2016-06-04T18:24:32Z","updated_at":"2016-06-04T18:24:32Z","body":"Will there be any progress soon for a new version? I would like to create a new version for distribution on OS X (which supports syncthing 0.13.x)."}}
{"actor":{"display_login":"xor-gate"}}