Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

pync problem in webhook example

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!

 

1 answer

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/

I am also facing same issue, please suggest solution here.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

538 views 6 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you