Bug 205495 - gnome-bluetooth crashs on startup when no bluetooth device is found
Summary: gnome-bluetooth crashs on startup when no bluetooth device is found
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-bluetooth
Version: rawhide
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-09-06 18:51 UTC by David Nielsen
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: 0.7.0-11
Clone Of:
Environment:
Last Closed: 2007-01-31 11:10:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.