mcguirepr89 / BirdNET-Pi

A realtime acoustic bird classification system for the Raspberry Pi 4B, 3B+, and 0W2 built on the TFLite version of BirdNET.
Other
1.3k stars 139 forks source link

No detections and error when going to "view log" #991

Open trophyguy opened 1 year ago

trophyguy commented 1 year ago

Yesterday I noticed my BirdNet-PI was behind on analysing recorded sounds. I did reboot it and seemed to be going good.

This afternoon I noticed it reported no detections for the day which is unusual. I went to "view log" and this is what I found:

16:38:06--- sig, rate = librosa.load(path, sr=sample_rate, mono=True, res_type='kaiser_fast') 16:38:06--- File "BirdNET-Pi/birdnet/lib/python3.9/site-packages/librosa/util/decorators.py", line 88, in inner_f 16:38:06--- return f(*args, **kwargs) 16:38:06--- File "BirdNET-Pi/birdnet/lib/python3.9/site-packages/librosa/core/audio.py", line 170, in load 16:38:06--- y, sr_native = __audioread_load(path, offset, duration, dtype) 16:38:06--- File "BirdNET-Pi/birdnet/lib/python3.9/site-packages/librosa/core/audio.py", line 226, in audioread_load 16:38:06--- reader = audioread.audio_open(path) 16:38:06--- File "BirdNET-Pi/birdnet/lib/python3.9/site-packages/audioread/init__.py", line 116, in audio_open 16:38:06--- raise NoBackendError() 16:38:06---audioread.exceptions.NoBackendError

Noticed that suddenly my SD card only had around 3GB left free space out of the 64GB on it. It has had upwards of half the space left if I remember correctly. Swap file usage was also at 100%. I've shut it down in the meantime.

Thanks.

joberreiter commented 1 year ago

Check if the cleanup script has run (it is a cron job). Check if ~/BirdSongs/Extracted have some old recording files that BirdNET-Pi could not analyze. Check 'journalctl -e' on errors.