Error Accessing Bluetooth Device
Contents |
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business pybluez error accessing bluetooth device Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users
No Bluetooth Adapter Detected Pybluez
Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes device error accessing shared-storage a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Python Module PyBluez Error up vote 2 down vote favorite I'm running Ubuntu 13.04 Server on a Mac OS X (Maverick) and python 2.7.5. I installed PyBluez and Bluez-libs. When I type import bluetooth or from bluetooth import * it successfully imports but when I try to run a basic script using the discover_devices() method, I get this error Traceback (most recent call last): File "./fin.py", line 4, in
here for a quick overview of the site Help Center Detailed answers to any questions you http://stackoverflow.com/questions/33110992/python-code-for-bluetooth-throws-error-after-i-had-to-reset-the-adapter might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or https://sourceforge.net/p/bluez/mailman/message/20334560/ posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of error accessing 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Python code for Bluetooth throws error after I had to reset the adapter up vote 4 down vote favorite 2 I was trying out bluetooth programming in python. It was working fine till yesterday. This morning, there error accessing bluetooth was a power outage and for some reason, the bluetooth module got disabled and it could not be turned on. So, I did a sudo hciconfig hci0 reset and then turned it on. From that point onwards, the simplest of the programs are failing to execute. Take this one for example. It gets stuck at advertise_service in bluetooth module and throws the following error (FYI: virtualenv was not a problem here. The systemwide python also does the same thing). Traceback (most recent call last): File "bt.py", line 17, in