-
Notifications
You must be signed in to change notification settings - Fork 132
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
Exception: ('Error while executing command pactl set-card-profile bluez_card.60_AB_D2_3B_29_70 headset-head-unit-msbc', '') #1
Comments
It happened to me too. You need to run the command manually after the error:
I explained and demonstrated it in my blog post. |
Thanks for the report. We have just merged a change that allows you to run BlueSpy with the Could you please download the latest version and execute the program with the Thank you |
This comment was marked as off-topic.
This comment was marked as off-topic.
I suspect this may be multiple issues mixed. I am only going to deal with @LeeKoTo in this issue. I am going to move the rest of the comments to other threads/issues to deal with them separately. |
@LeeKoTo could you please post the execution logs with the |
@antoniovazquezblanco thanks,I am now running this script with three Bluetooth headsets. The code runs normally twice, and this error is reported once.
|
thank u , u are right |
Executing the commands manually seems to solve the issue. I am thinking this may be a "timing issue". In #8 a delay is added to see if this is enough... Whenever the PR is merged, let me know if this fixes it for you :) |
Merged #8 . Can you test again? |
Unfortunately, the problem still exists,error info as same as before |
I am also still receiving the same command exec error
|
the way it worked for me is by checking the following: |
That's not working for me when I'm trying manually, it return "Failure : No such entity" or "Connection Refused" when I use pactl command |
Hey guys, so I was running into the same issue, but it solved it for me by not running the commands as root (I am not completely sure why but somehow pulseaudio shouldn't be run as root). You need to check your user's permissions, it needs to have audio, pulse and pulse-access permissions. Afterwards I ran into the issue that parecord refused the permission to open the audio file, so you also have to make sure that your user has write permissions for the directory where the audio gets recorded. In the case of BlueSpy I added write-permission to the whole BlueSpy directory. Then everything should work :) |
When I enter orders that are written I get a mistake |
hi i resolved this error by changing headset-head-unit-msbc profile to audio-gateway but i am still getting erroe in parecord raise CommandValidationException(cmdline, out) |
when i run bluespy.py,i got this error
Exception: ('Error while executing command pactl set-card-profile bluez_card.60_AB_D2_3B_29_70 headset-head-unit-msbc', '')
The text was updated successfully, but these errors were encountered: