-
Notifications
You must be signed in to change notification settings - Fork 217
Open
Description
This issue is for documentation purposes and for others running into this same error.
When running ntfy -b telegram send "test message" I get the following error:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/ntfy/__init__.py", line 61, in notify
notify_ret = notifier.notify(
AttributeError: module 'telegram' has no attribute 'notify'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/ntfy", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.10/site-packages/ntfy/cli.py", line 362, in main
return notify(
File "/usr/local/lib/python3.10/site-packages/ntfy/__init__.py", line 76, in notify
args, _, _, defaults = getargspec(notifier.notify)
AttributeError: module 'telegram' has no attribute 'notify'
This doesn't have anything to do with ntfy but is actually due to a bug in the telegram-send repo for version 20.0.
The issue can be found here: rahiel/telegram-send#115
A workaround for this issue can be found here.
rolisz
Metadata
Metadata
Assignees
Labels
No labels