← Back to team overview

touch-packages team mailing list archive

[Bug 1220378] Re: bluez-test-audio crashed with DBusException in call_blocking(): org.bluez.Error.NoSuchAdapter: No such adapter

 

To solve add this in your /etc/rc.local or in Boot Applications menu
rfkill unblock bluetooth

Tested and worked on my Ubuntu 14.04.1

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1220378

Title:
  bluez-test-audio crashed with DBusException in call_blocking():
  org.bluez.Error.NoSuchAdapter: No such adapter

Status in “bluez” package in Ubuntu:
  Confirmed

Bug description:
  Running bluez-test-audio from terminal without any parameters throws
  exception.

  $ bluez-test-audio
  Traceback (most recent call last):
    File "/usr/bin/bluez-test-audio", line 24, in <module>
      adapter_path = manager.DefaultAdapter()
    File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
      return self._proxy_method(*args, **keywords)
    File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
      **keywords)
    File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
      message, timeout)
  dbus.exceptions.DBusException: org.bluez.Error.NoSuchAdapter: No such adapter

  Expected behavior: User friendly message is shown, e.g. output of
  "bluez-test-audio -h"

  $ bluez-test-audio -h
  Usage: bluez-test-audio [options]

  Options:
    -i DEV_ID, --device=DEV_ID
    -h, --help            show this help message and exit

  
  Also, please note that the same happens for the following:
  bluez-test-adapter
  bluez-test-device
  bluez-test-input
  bluez-test-network
  bluez-test-service
  bluez-test-audio
  bluez-test-discovery
  bluez-test-serial
  bluez-test-telephony

  
  ProblemType: Crash
  DistroRelease: Ubuntu 13.10
  Package: bluez 4.101-0ubuntu8b1
  ProcVersionSignature: Ubuntu 3.11.0-4.9-generic 3.11.0-rc7
  Uname: Linux 3.11.0-4-generic x86_64
  ApportVersion: 2.12.1-0ubuntu3
  Architecture: amd64
  Date: Tue Sep  3 20:37:28 2013
  ExecutablePath: /usr/bin/bluez-test-audio
  InstallationDate: Installed on 2012-10-06 (332 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Beta amd64 (20120926)
  InterestingModules: rfcomm bnep bluetooth
  InterpreterPath: /usr/bin/python2.7
  Lsusb:
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 003 Device 003: ID 04b4:0033 Cypress Semiconductor Corp. Mouse
   Bus 003 Device 002: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor
   Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
   Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  MachineType: Hewlett-Packard HP Compaq nx6325 (EY349EA#AKD)
  MarkForUpload: True
  PccardctlIdent:
   Socket 0:
     no product info available
  PccardctlStatus:
   Socket 0:
     no card
  ProcCmdline: /usr/bin/python /usr/bin/bluez-test-audio
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-4-generic root=UUID=4f0c1391-e243-4e37-aaab-52625df3e3bd ro quiet splash vt.handoff=7
  PythonArgs: ['/usr/bin/bluez-test-audio']
  SourcePackage: bluez
  Title: bluez-test-audio crashed with DBusException in call_blocking(): org.bluez.Error.NoSuchAdapter: No such adapter
  UpgradeStatus: Upgraded to saucy on 2013-08-12 (22 days ago)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  dmi.bios.date: 05/08/2007
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: 68TT2 Ver. F.07
  dmi.board.name: 30B0
  dmi.board.vendor: Hewlett-Packard
  dmi.board.version: KBC Version 40.15
  dmi.chassis.asset.tag: CNU7110B09
  dmi.chassis.type: 10
  dmi.chassis.vendor: Hewlett-Packard
  dmi.modalias: dmi:bvnHewlett-Packard:bvr68TT2Ver.F.07:bd05/08/2007:svnHewlett-Packard:pnHPCompaqnx6325(EY349EA#AKD):pvrF.07:rvnHewlett-Packard:rn30B0:rvrKBCVersion40.15:cvnHewlett-Packard:ct10:cvr:
  dmi.product.name: HP Compaq nx6325 (EY349EA#AKD)
  dmi.product.version: F.07
  dmi.sys.vendor: Hewlett-Packard
  hciconfig:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1220378/+subscriptions