-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[tip] Problem with linux notifications - solved #105
Comments
Thanks, I managed the first part :) |
I'll look into adding |
After downloading the python-dbus it fixed the "ntfy test" problems on my end. Thank you @MattPorto for this tip. Really appreciate it and I recommend adding this to the Quick Start guide for newbies like me. EDIT. The problem I'm having is that after running the other tests it seems that I'm getting new errors and ntfy send test has stopped working |
What're your new errors @Hirmuli? |
ntfy send test ntfy test worked until I started to try out the "Quick start guide" Even the test stopped working after I ran ntfy -e "backends", also pushover didnt work or the other notifications. Only ntfy test and ntfy custom title worked. |
I had a similar problem in Ubuntu 16.04. What solved the issue for me was installing the following dbus dev packages: sudo apt install libdbus-1-dev libdbus-glib-1-dev and then installing the python dbus module: sudo pip install dbus-python |
I get the same error as @Hirmuli when i am trying to call p = Popen("ntfy -b pushbullet -o access_token token send 'test'", shell=True) from a python program. I tried what @mccarthyryanc suggested but no luck. Do you have any other suggestions? |
@DinosL did you follow @mccarthyryanc's directions regarding Once that works, you also have the option in python since
|
Hi guys,
Trying to run a
$ntfy send test
command after installing ntfy usingsudo pip install ntfy
and i get the following exception:I searched something like this in the closed issues and i found the issue #95, where the SteveEdson had the same problem and he said that he ran the command
$ cat ~/.config/ntfy/ntfy.yml
to check if the config file is ok, and there i noticed that this path doesn't exist on my.config
folder. So I created the ntfy folder usingmkdir ntfy
and then i used a text editor to create thentfy.yml
and put the following code inside it:so, when i ran
$ ntfy send test
again, it resulted in the follow message:ImportError: No module named dbus
So i realized that i don't had the dbus package installed on my machine, then i ran
sudo apt-get install python-dbus
to install this and when i ran again$ntfy send test
it works pretty nice!Maybe it is too obvious or a newbie question, but i decide to post it here because it stucked me when i try to run the script for the first time, and i wasted some time to discover how to fix that. I hope that issue can help someone that have the same trouble when try to install the app, so i think that can be usefull.
se ya! :)
The text was updated successfully, but these errors were encountered: