-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ffdec hangs on wait #130
Comments
Ah, this is a really good catch. While In short, the problem with I think we should use your change! Any chance you could submit a very small PR to this effect? |
Fixes beetbox#130 by changing `wait()` to `communicate()` to avoid deadlock See https://docs.python.org/3/library/subprocess.html#subprocess.Popen.wait for context.
@sampsyo Thanks, let me know if there are any problems! |
I am using Librosa-0.9.2 on a project and encountered this issue with audioread-3.0.0.
Librosa calls
available_backends()
, which callsffdec.available()
available()
seems to hang indefinitely. But changingproc.wait()
toproc.communicate()
seems to fix the issue for my use case.I saw in #113 that
communicate()
wasn't ideal, so maybe there's something else worth looking into?The text was updated successfully, but these errors were encountered: