BirdNET-Pi icon indicating copy to clipboard operation
BirdNET-Pi copied to clipboard

Notification Exception with Apprise when sending a flickrimage to Discord.

Open MABeatty1978 opened this issue 1 year ago • 1 comments

PLEASE READ THE DOCUMENTATION BEFORE SUBMITTING AN ISSUE

When sending an Apprise notification of a flickrimage to discord, I'm getting a Notification Exception when sending notifications to more than one service. The notification works, including the image, but there is an error showing up in the log. This only happens when I send the notification using both PushBullet and Discord. If I do Discord on it's own without PushBullet, the issue doesn't happen

To Reproduce Steps to reproduce the behavior:

  1. Go to Tools->Settings
  2. Scroll down to Notifications
  3. Add a notification on one line to PushBullet
  4. Add a notification on the next line for Discord
  5. Click Test Notification
  6. An error shows up in the logs

Expected behavior No errors in the log

Screenshots Screenshot 2024-03-22 at 3 28 34 PM

Additional context Add any other context about the problem or your installation here.

Your build The hardware on which BirdNET-Pi is running goes here.

Code or log snippets

Paste your 
log output 
or 
code here

MABeatty1978 avatar Mar 22 '24 19:03 MABeatty1978

I find most bugs in Apprise by reviewing other peoples issue tracker :wink:

This has been fixed in Apprise (it's a racing condition where the attachment only needs to be fetched once and shared to the 1+ services it's to be sent too. For some reason it was fetching it 'per' notification and they were clobbering each other. It's working as intended now. I'll push the release this weekend i hope (Apprise v1.7.5). Thanks for reporting this (even indirectly as it was) :rocket: :pray:

Edit: v1.7.5 Published

caronc avatar Mar 30 '24 01:03 caronc