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
Presumably, libsndfile is writing straight to STDERR. It seems a bit odd that redirect_stderr doesn't catch that, but perhaps it only operates on the python level?
Hi there, in #421 suppressing warnings from underlying libraries is discussed.
In my case I would like to capture the errors, in order to discard mp3s which trigger warnings.
I tried something like:
But the errors go straight to stderr and are not captured by the context manager. Presumably something going on in a subprocess or something.
Any ideas on picking up libmpg123 warnings?
The text was updated successfully, but these errors were encountered: