Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275470 - net-wireless/blueman-1.10 unable to start blueman-manager in default dbus configuration
Summary: net-wireless/blueman-1.10 unable to start blueman-manager in default dbus co...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 288847
  Show dependency tree
 
Reported: 2009-06-26 10:56 UTC by SATtva
Modified: 2014-12-07 19:12 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Working configuration for /etc/dbus-1/system.d/bluetooth.conf (bluetooth.conf,830 bytes, text/plain)
2009-06-27 14:34 UTC, SATtva
Details
Output of blueman-applet (blueman-applet.error.txt,12.80 KB, text/plain)
2010-01-25 18:47 UTC, Damian Nadales
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SATtva 2009-06-26 10:56:01 UTC
Installing net-wireless/bluez-4.39 and net-wireless/blueman-1.10, and starting blueman-manager leads only to the following output:

on_bluez_name_owner_changed (/usr/bin/blueman-manager:99)
org.bluez owner changed to  :1.38 
Deprecated use of dbus signaltracker
  File "/usr/bin/blueman-manager", line 282, in <module>
    Blueman()
  File "/usr/bin/blueman-manager", line 174, in __init__
    gtk.main()
  File "//usr/lib64/python2.5/site-packages/dbus/connection.py", line 563, in msg_reply_handler
    reply_handler(*message.get_args_list(**get_args_opts))
  File "/usr/bin/blueman-manager", line 120, in on_bluez_name_owner_changed
    self.Config = Config()
  File "//usr/lib64/python2.5/site-packages/blueman/main/Config.py", line 52, in __new__
    inst = cls(section)
  File "//usr/lib64/python2.5/site-packages/blueman/plugins/ConfigPlugin.py", line 48, in __init__
    self.on_load(section)
  File "//usr/lib64/python2.5/site-packages/blueman/plugins/config/File.py", line 121, in on_load
    self.Monitor = Monitor(weakref.ref(self))
  File "//usr/lib64/python2.5/site-packages/blueman/plugins/config/File.py", line 54, in __init__
    self.sigs.Handle("dbus", self, self.on_value_changed, "ValueChanged", "org.blueman.Config")
  File "//usr/lib64/python2.5/site-packages/blueman/main/SignalTracker.py", line 61, in Handle
    traceback.print_stack()
Using file config backend
ERROR:dbus.proxies:Introspect error on :1.11:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
Traceback (most recent call last):
  File "//usr/lib64/python2.5/site-packages/dbus/connection.py", line 563, in msg_reply_handler
    reply_handler(*message.get_args_list(**get_args_opts))
  File "/usr/bin/blueman-manager", line 127, in on_bluez_name_owner_changed
    if not self.Applet.GetBluetoothStatus():
  File "//usr/lib64/python2.5/site-packages/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "//usr/lib64/python2.5/site-packages/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "//usr/lib64/python2.5/site-packages/dbus/connection.py", line 607, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.11 was not provided by any .service files

Default dbus configuration for bluez (/etc/dbus-1/system.d/bluetooth.conf) and blueman (/etc/dbus-1/system.d/org.blueman.Mechanism.conf) was not modified.

Reproducible: Always

Steps to Reproduce:

Actual Results:  
net-wireless/blueman doesn't work in the default configuration.

Expected Results:  
net-wireless/blueman should work in the default configuration.

Portage 2.1.6.13 (hardened/amd64/multilib, gcc-4.3.3, glibc-2.8_p20080602-r1, 2.6.28-hardened-r7 x86_64)
=================================================================
System uname: Linux-2.6.28-hardened-r7-x86_64-AMD_Turion-tm-_64_X2_Mobile_Technology_TL-50-with-glibc2.2.5
Timestamp of tree: Fri, 26 Jun 2009 01:45:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.6, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8-sse3 -mmmx -msse -msse2 -msse3 -m3dnow -O2 -pipe -fPIC"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/bin/startx /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/app-defaults /usr/share/X11/xkb /usr/share/config /usr/share/fluxbox/styles/zimek_darkblue"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8-sse3 -mmmx -msse -msse2 -msse3 -m3dnow -O2 -pipe -fPIC"
DISTDIR="/usr/portage-distfiles"
EMERGE_DEFAULT_OPTS="--ask --deep --with-bdeps=y --nospinner"
FEATURES="autoconfig collision-protect distlocks fakeroot fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.ggf.tsu.ru/ ftp://toto.tomsk.ru ftp://ftp-tsk-01.gentoo.tonet.ru ftp://ftp-svr-01.gentoo.tonet.ru ftp://mirror.yandex.ru/gentoo-distfiles"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS=""
LINGUAS="en ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage-packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac acpi alsa amd64 apache2 apm bash-completion bcmath berkdb bluetooth branding bzip2 cairo cracklib crypt css custom-cflags custom-optimization dbus directfb dri dvd dvdr dvdread encode expat extras fam ffmpeg flac fortran gd gdbm gif gimp gmp gnutls gpm gtk gtkhtml hal hardened hash hdri iconv icu ilbc imagemagick imlib jbig jpeg jpeg2k justify laptop lcms lm_sensors logrotate mad madwifi midi mjpeg mktemp mmx mmxext mng modplug mozsha1 mp3 mpeg mplayer multilib mysql ncurses nls nptl nptlonly ogg openexr opengl openmp otr pam pcre pdf perl php pic pmu png posix python qt3 qt3support qt4 readline rtc sdl sftp smp speex spell sse sse2 ssh ssl subversion svg tcpd threads tiff tordns truetype unicode urandom userlocales vorbis wifi wmf wxwindows xcb xcomposite xinerama xml xorg xv xvid zlib zrtp" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="radeonhd radeon vesa"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 SATtva 2009-06-27 14:34:10 UTC
Created attachment 195884 [details]
Working configuration for /etc/dbus-1/system.d/bluetooth.conf

This configuration made blueman working. Direct execution of blueman-manager still won't work, but blueman-applet starts correctly, and other components are accessible from it.

Still, this isn't a default config, and finding it out wasn't obvious.
Comment 2 A. Person 2010-01-25 16:00:41 UTC
I had the same problem until I copied the bluetooth.conf attached here.
Comment 3 Damian Nadales 2010-01-25 18:46:05 UTC
(In reply to comment #2)
> I had the same problem until I copied the bluetooth.conf attached here.
I've copied the file, but I'm still getting errors at startup, and I cannot use any of the blueman tools.

I've attached the output.

BTW, the new stable version of blueman is 1.21, but is not in portage.




Comment 4 Damian Nadales 2010-01-25 18:47:56 UTC
Created attachment 217407 [details]
Output of blueman-applet

Output that I've got when running:
    dbus-launch blueman-applet

I'm using xmonad as my window manager.
Comment 5 A. Person 2010-01-25 23:56:55 UTC
I was only able to get it to work by first running blueman-applet and then blueman-manager.  They work as a normal user for me, but you might want to try root too.
Comment 6 A. Person 2010-01-26 15:21:36 UTC
Damian, just use the 1.21 ebuild here:

http://bugs.gentoo.org/show_bug.cgi?id=289902

It works better in every way.
Comment 7 Damian Nadales 2010-02-01 18:42:57 UTC
(In reply to comment #6)
> Damian, just use the 1.21 ebuild here:
> 
> http://bugs.gentoo.org/show_bug.cgi?id=289902
> 
> It works better in every way.
> 
I'm using version 1.21, but I still have the same problem (using dbus-launch or without using it) :
"
org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program /usr/libexec/dbus-daemon-launch-helper: Success

You might not be able to connect to the Bluetooth network via this machine
"

I've also tried the configuration in this page but no luck so far.
Comment 8 Doktor Notor 2010-03-01 20:21:29 UTC
So, I guess noone solved this dbus mess? I actually ended up with DisablePlugins = network in /etc/bluetooth/main.conf to get rid of this enormously annoying message. 

(No, 1.21 from Bug 275470 didn't help in any way, though I was able to fix lots of other bugs. Oh, and just in case - please don't get me started with foobarkits, that doesn't count as a solution :P)
Comment 9 Vasily 2010-03-20 10:09:04 UTC
Is there any way to get bluetooth network working with blueman?
Comment 10 Jory A. Pratt gentoo-dev 2010-07-18 04:10:34 UTC
what is the status on this? I am using latest ~arch of blueman without any problem. Maybe we would should shoot for net-wireless/blueman-1.21-r1 for the stable marking.
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2010-10-07 18:34:20 UTC
(In reply to comment #10)
> what is the status on this? I am using latest ~arch of blueman without any
> problem. Maybe we would should shoot for net-wireless/blueman-1.21-r1 for the
> stable marking.
> 

yes, 1.21-r1 it must be. the ebuild needs fixing, to enable the polkit-1 backend first. it's harddisabled in the ebuild for no good apparent reason.

so fix blueman-1.21-r1 ebuild to be proper -> stabilize it next
Comment 12 Maxim Koltsov (RETIRED) gentoo-dev 2014-12-07 19:12:39 UTC
Please reopen it if error happens with current blueman in ~.