Bug 1429161 - [abrt] blueberry: connection.py:651:call_blocking:DBusException: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.obex.service not found.
Summary: [abrt] blueberry: connection.py:651:call_blocking:DBusException: org.freedesk...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: blueberry
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Björn 'besser82' Esser
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:9310e42512cac9c3b014f2a37c2...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-05 07:30 UTC by Jari Korva
Modified: 2017-05-11 09:39 UTC (History)
14 users (show)

Fixed In Version: blueberry-1.1.11-1.fc26 blueberry-1.1.11-1.fc24 blueberry-1.1.11-1.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-08 14:22:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.88 KB, text/plain)
2017-03-05 07:30 UTC, Jari Korva
no flags Details
File: environ (1.76 KB, text/plain)
2017-03-05 07:30 UTC, Jari Korva
no flags Details

Description Jari Korva 2017-03-05 07:30:02 UTC
Description of problem:
Happened when logging in to xfce.

Version-Release number of selected component:
blueberry-1.1.10-3.fc25

Additional info:
reporter:       libreport-2.8.0
cmdline:        blueberry-obex-agent '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' ''
dso_list:       dbus-python-1.2.4-2.fc25.x86_64
executable:     /usr/lib/blueberry/blueberry-obex-agent.py
kernel:         4.9.13-200.fc25.x86_64
pkg_fingerprint: 4089 D8F2 FDB1 9C98
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
connection.py:651:call_blocking:DBusException: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.obex.service not found.

Traceback (most recent call last):
  File "/usr/lib/blueberry/blueberry-obex-agent.py", line 720, in <module>
    service.load()
  File "/usr/lib/blueberry/blueberry-obex-agent.py", line 332, in load
    self._manager = Manager()
  File "/usr/lib/blueberry/blueberry-obex-agent.py", line 577, in __init__
    if self.__class__.get_interface_version()[0] < 5:
  File "/usr/lib/blueberry/blueberry-obex-agent.py", line 446, in get_interface_version
    obj = dbus.SessionBus().get_object('org.bluez.obex', '/')
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 241, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 248, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 180, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 278, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
DBusException: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.obex.service not found.

Local variables in innermost frame:
byte_arrays: False
self: <dbus._dbus.SessionBus (session) at 0x7f1892c6f9b0>
args: (u'org.bluez.obex', 0)
object_path: '/org/freedesktop/DBus'
signature: 'su'
bus_name: 'org.freedesktop.DBus'
get_args_opts: {'byte_arrays': False, 'utf8_strings': False}
timeout: -1.0
kwargs: {}
dbus_interface: 'org.freedesktop.DBus'
message: <dbus.lowlevel.MethodCallMessage path: /org/freedesktop/DBus, iface: org.freedesktop.DBus, member: StartServiceByName dest: org.freedesktop.DBus>
method: 'StartServiceByName'

Potential duplicate: bug 1429156

Comment 1 Jari Korva 2017-03-05 07:30:07 UTC
Created attachment 1260015 [details]
File: backtrace

Comment 2 Jari Korva 2017-03-05 07:30:08 UTC
Created attachment 1260016 [details]
File: environ

Comment 3 Wolfgang Rupprecht 2017-03-06 23:58:20 UTC
Similar problem has been detected:

I logged in without any explicit action that I know of.

reporter:       libreport-2.8.0
cmdline:        blueberry-obex-agent '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' ''
dso_list:       dbus-python-1.2.4-2.fc25.x86_64
event_log:      2017-03-06-15:54:35> ('report_uReport' completed successfully)
executable:     /usr/lib/blueberry/blueberry-obex-agent.py
kernel:         4.9.13-200.fc25.x86_64
package:        blueberry-1.1.10-3.fc25
pkg_fingerprint: 4089 D8F2 FDB1 9C98
pkg_vendor:     Fedora Project
reason:         connection.py:651:call_blocking:DBusException: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.obex.service not found.
runlevel:       N 5
type:           Python
uid:            1000

Comment 4 leigh scott 2017-04-21 05:00:15 UTC
dbus-org.bluez.obex.service is provided once you enable obex.service

systemctl --user enable obex.service

Comment 5 Clemens Eisserer 2017-04-21 08:46:13 UTC
I wonder is it really "NOTABUG"?

At least it caused the error reporter to appear on my system.
I guess instead of throwing Exceptions,  blueberry should gracefully shut down - instead of causing the error reporter to appear.

Comment 7 Clemens Eisserer 2017-04-21 12:02:41 UTC
Great, thanks a lot :)

Comment 8 Brian J. Murrell 2017-05-06 14:13:50 UTC
(In reply to leigh scott from comment #6)
> Fixed upstream!
> 
> https://github.com/linuxmint/blueberry/commit/
> c657c60efefd4d0a924550155c979c1b928803c6

Will this fix be backported into F25 or do we have to wait for F26 to see a fix?  Either way, shouldn't this ticket stay open until a fix is available for users?

Comment 9 Fedora Update System 2017-05-06 15:24:06 UTC
blueberry-1.1.11-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-b6eee261cd

Comment 10 Fedora Update System 2017-05-06 15:24:22 UTC
blueberry-1.1.11-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-2ce7319044

Comment 11 Fedora Update System 2017-05-06 15:24:43 UTC
blueberry-1.1.11-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-b49f247f0c

Comment 12 Fedora Update System 2017-05-07 02:01:29 UTC
blueberry-1.1.11-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-b49f247f0c

Comment 13 Fedora Update System 2017-05-07 03:30:31 UTC
blueberry-1.1.11-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-2ce7319044

Comment 14 Fedora Update System 2017-05-07 05:08:18 UTC
blueberry-1.1.11-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-b6eee261cd

Comment 15 Fedora Update System 2017-05-08 14:22:43 UTC
blueberry-1.1.11-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2017-05-08 22:23:21 UTC
blueberry-1.1.11-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2017-05-08 22:32:46 UTC
blueberry-1.1.11-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.


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