You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I figured this is due to the dockerfile where the CMD defines the arguments of the ENTRYPOINT. And the options didn't made it to the CMD. Guess there are other ways , but I solved the issue by changing the ENTRYPOINT and removing the CMD. (Probably only a bugfix for me, who only wants to run analyze.py) ENTRYPOINT [ "python3", "-m", "birdnet_analyzer.analyze" ]
Also when just running the image - if I got it corretly, analyze.py should start and analyse the example audiofile - sudo docker run birdnet
I get the an error OSError: [Errno 25] Inappropriate ioctl for device related to line 685 in analyze.py . I commented out that line and the docker image worked. May someone can fix that issue related to that ASCII-Logo? (I am not experienced enough :))
Hope this helps someone, who struggles like me (who is not experienced in docker and python). Thanks again for your work!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there,
first of all, thanks a lot for your work and effort.
7 weeks ago following the documentation I could easily run the analysis using docker. However, now when running
sudo docker run -v example:/audio birdnet --i audio --o audio --slist audio
currently I get errors like
unknown option --i
I figured this is due to the dockerfile where the CMD defines the arguments of the ENTRYPOINT. And the options didn't made it to the CMD. Guess there are other ways , but I solved the issue by changing the ENTRYPOINT and removing the CMD. (Probably only a bugfix for me, who only wants to run analyze.py)
ENTRYPOINT [ "python3", "-m", "birdnet_analyzer.analyze" ]
Also when just running the image - if I got it corretly, analyze.py should start and analyse the example audiofile -
sudo docker run birdnet
I get the an error
OSError: [Errno 25] Inappropriate ioctl for device
related to line 685 in analyze.py . I commented out that line and the docker image worked. May someone can fix that issue related to that ASCII-Logo? (I am not experienced enough :))Hope this helps someone, who struggles like me (who is not experienced in docker and python). Thanks again for your work!
Beta Was this translation helpful? Give feedback.
All reactions