Bug 205495

Summary: gnome-bluetooth crashs on startup when no bluetooth device is found
Product: [Fedora] Fedora Reporter: David Nielsen <gnomeuser>
Component: gnome-bluetoothAssignee: Harald Hoyer <harald>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 0.7.0-11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-01-31 11:10:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Nielsen 2006-09-06 18:51:29 UTC
Description of problem:
Running gnome-bluetooth on a machine without a bluetooth handler I get the
following:

/usr/lib64/python2.4/site-packages/gnomebt/manager.py:142: DeprecationWarning:
gnome.ui.AppBar constructor takes exactly 3 arguments, but calling old gtk.HBox
constructor for compatibility reasons.
  self.statusbar = gnome.ui.AppBar (True, True)
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/gnomebt/manager.py", line 274, in ?
    BTManager ().main ()
  File "/usr/lib64/python2.4/site-packages/gnomebt/manager.py", line 85, in __init__
    if not self.btctl.is_initialised():
gobject.GError: Can't get device id of hci0

Maybe a check would be nice and a clean abort if hciX is not found?

Version-Release number of selected component (if applicable):
gnome-bluetooth-0.7.0-10.1
gnome-bluetooth-libs-0.7.0-10.1
bluez-libs-3.0-3

How reproducible:
100%

Steps to Reproduce:
1. run gnome-bluetooth on any machine without bluetooth hardware
  
Actual results:
BOOM

Expected results:
Nice dialog kindly telling me that I don't have bluetooth support

Additional info:
AMD64 X2, da_DK.UTF-8