Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
bluetooth_adapter error
#1
I'm using Pythion v3.9.1 in Windows 10 64-bit. When I run the sript that I'm developing, I get an error mesage like this:

PS D:\XPS_8700 Extended Files\Users\RowanB\Documents\My_Scripts NEW> [7008:1668:0304/131504.908:ERROR:device_event_log_impl.cc(211)] [13:15:04.907] Bluetooth: bluetooth_adapter_winrt.cc:1072 Getting Default Adapter failed.

As far as I know, I'm not using Bluetooth at all. Why am I getting this error? How can I suppress it? It's messing up the output that my program produces.

Thanks - Rowan
Reply
#2
Can we see the script?
How are you running it?
Reply
#3
You can see the script (redacted) but it is rather long. I'm running it from a command line like this:
>python .\put_exam.py

Thank you - Rowan
nilamo write Mar-19-2021, 06:14 PM:
Removing link due to sensitive info. See the next post for details.
Reply
#4
That file has a user/password in it, so I've copied it, removed those values, and also edited your post to remove the link. It's too large to include in a post here, so I've put it in a temporary github repo:

https://github.com/nilamo/scratch/blob/m...r-error.py

As to the actual issue, I don't have the time right now to take too deep of a look. Is it successfully doing what you want? There's just extra warnings? Or does it not work properly?
Reply
#5
It is more or less a tidyness issue. The script is doing what I want (or if it isn't, it's not because of this problem, but other issues that I am still working on). This error message just messes up the output on the console. So there's not too much urgency to fixing it.

Thanks - Rowan
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020