-
Notifications
You must be signed in to change notification settings - Fork 7
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
HCtl event callback gives "Fatal Python error: drop_gil: drop_gil: GIL is not locked" #11
Comments
Update on this, maybe not a solution but perhaps a clue on what to do?
|
Unfortunately, I cannot reproduce this with latest master:
The command on the other console:
|
Link: alsa-project#11 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Could you test code from PR #12 , if it solves something for you ? |
It works great!
Thanks for fixing! |
I'm running the hctltest2.py test.
Then change one of the controls, I tried the "Z Test Volume" that gets numid 4:
amixer -D hw:0 cset numid=4 5
This generates and event, which runs the callback function. That results in the test script crashing, with:
Tested on manjaro with python 3.11, and latest alsa-python.
Also tested on Python 3.8.19, using the latest alsa-python code directly from this repo, with the same result.
The text was updated successfully, but these errors were encountered: