Exception: <type 'exceptions.OSError'>
freedreamer82 opened this issue · 5 comments
Hi , I tried to start the daemon manually and i get thi stuff ( raspberry 3 ).
I see the device on my phone and it tries to connect to it but suddenly the connection drops..
any idea ?
thanks
Marco
Device connected. device=/org/bluez/hci0/dev_B4_9C_DF_3C_D9_26
Hiding adapter from all devices.
- ogg123 /usr/share/sounds/freedesktop/stereo/service-login.oga
Audio Device: Advanced Linux Sound Architecture (ALSA) output
Playing: /usr/share/sounds/freedesktop/stereo/service-login.oga
Ogg Vorbis stream: 2 channel, 22050 Hz
Done.
Exception: <type 'exceptions.OSError'>
Device disconnected. device=/org/bluez/hci0/dev_B4_9C_DF_3C_D9_26
Showing adapter to all devices.
- o
I am getting the same error after reinstalling.
Did you find out the root of the problem? Maybe it is related to an updated bluetooth package in rasbian?
I think my problem was ralated to another app already having the alsa device open.
yes could be. I had another app using alsa as well, stopping that , now it works.
Check that you are executing the app from it's source directory. That message is printed when librtpsbc.so
can't be found. This code belongs to bt_manager/codecs.py
:
def __init__(self, config):
import sys
try:
self.codec = ffi.dlopen('./librtpsbc.so')
except:
print 'Exception:', sys.exc_info()[0]
self.config = ffi.new('sbc_t *')
self.ts = ffi.new('unsigned int *', 0)
self.seq_num = ffi.new('unsigned int *', 0)
self._init_sbc_config(config)
self.codec.sbc_init(self.config, 0)
yes could be. I had another app using alsa as well, stopping that , now it works.
@freedreamer82 In that case you might want to close this issue, please.