I tried to follow webhook example instruction. However, I got following message:
```18:00:32 listener.1 | Exception: pync is only supported on Mac OS X 10.8, or higher.```
This prevents me trying out the example. I am using Fedora 28 and successfully installed ngrok.
Here is full log:
```
$ honcho start
18:00:32 system | listener.1 started (pid=10796)
18:00:32 system | tunnel.1 started (pid=10797)
18:00:32 tunnel.1 | t=2018-10-15T18:00:32+0100 lvl=info msg="no configuration paths supplied"
18:00:32 tunnel.1 | t=2018-10-15T18:00:32+0100 lvl=info msg="using configuration at default config path" path=/home/amilenovic/.ngrok2/ngrok.yml
18:00:32 tunnel.1 | t=2018-10-15T18:00:32+0100 lvl=info msg="open config file" path=/home/amilenovic/.ngrok2/ngrok.yml err=nil
18:00:32 tunnel.1 | t=2018-10-15T18:00:32+0100 lvl=info msg="run component" obj=controller comp="signal handler"
18:00:32 tunnel.1 | t=2018-10-15T18:00:32+0100 lvl=info msg="run component" obj=controller comp="memory storage"
18:00:32 tunnel.1 | t=2018-10-15T18:00:32+0100 lvl=info msg="run component" obj=controller comp="Tunnel session"
18:00:32 tunnel.1 | t=2018-10-15T18:00:32+0100 lvl=info msg="run component" obj=controller comp=updater
18:00:32 tunnel.1 | t=2018-10-15T18:00:32+0100 lvl=info msg="run component" obj=controller comp=web
18:00:32 tunnel.1 | t=2018-10-15T18:00:32+0100 lvl=info msg="starting web service" obj=web addr=127.0.0.1:4040
18:00:32 listener.1 | which: no terminal-notifier in (/usr/share/Modules/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/amilenovic/.local/bin:/home/amilenovic/bin)
18:00:32 listener.1 | Traceback (most recent call last):
18:00:32 listener.1 | File "listener.py", line 5, in <module>
18:00:32 listener.1 | from pync import Notifier
18:00:32 listener.1 | File "/usr/lib/python2.7/site-packages/pync/__init__.py", line 3, in <module>
18:00:32 listener.1 | from .TerminalNotifier import Notifier
18:00:32 listener.1 | File "/usr/lib/python2.7/site-packages/pync/TerminalNotifier.py", line 130, in <module>
18:00:32 listener.1 | Notifier = TerminalNotifier()
18:00:32 listener.1 | File "/usr/lib/python2.7/site-packages/pync/TerminalNotifier.py", line 34, in __init__
18:00:32 listener.1 | raise Exception("pync is only supported on Mac OS X 10.8, or higher.")
18:00:32 listener.1 | Exception: pync is only supported on Mac OS X 10.8, or higher.
18:00:32 system | listener.1 stopped (rc=1)
18:00:32 system | sending SIGTERM to tunnel.1 (pid 10797)
18:00:32 system | tunnel.1 stopped (rc=-15)
```
Please advise on how to solve this problem?
Thanks!
I faced the same error on debian. A temporary work around for me was to comment the line "from pync import Notifier" in the "listener.py" python file in the directory "~/webhook-listener".
This is caused because pync is only for Mac OS X 10.10, or higher. https://pypi.org/project/pync/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.