Bug 1520592

Summary: dbus python
Product: [Fedora] Fedora Reporter: Steven Walter <stwalter>
Component: autokeyAssignee: Raghu Udiyar <raghusiddarth>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 27CC: anilsson, raghusiddarth
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: autokey-0.90.4-14.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-09 13:25:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Steven Walter 2017-12-04 19:40:09 UTC
Description of problem:
dbus-python should be a prerequisite for autokey-gtk to be working, but it is not listed as a prerequisite and thus is not installed as part of atuokey-gtk.

Version-Release number of selected component (if applicable):
Name         : autokey-gtk
Version      : 0.90.4
Release      : 11.fc27
Arch         : noarch
Size         : 438 k
Source       : autokey-0.90.4-11.fc27.src.rpm
Repo         : @System
From repo    : fedora
Summary      : AutoKey GTK+ front end
URL          : http://autokey.googlecode.com
License      : GPLv3
Description  : This package contains the GTK+ front end for autokey

Name         : dbus-python
Version      : 1.2.4
Release      : 8.fc27
Arch         : x86_64
Size         : 482 k
Source       : dbus-python-1.2.4-8.fc27.src.rpm
Repo         : @System
From repo    : fedora
Summary      : D-Bus Python Bindings
URL          : http://www.freedesktop.org/wiki/Software/DBusBindings/
License      : MIT
Description  : D-Bus python bindings for use with python programs.


How reproducible:
Confirmed

Steps to Reproduce:
$ sudo dnf install autokey-gtk
$ sudo autokey-gtk

Actual results:
Running autokey in gnome results in a silent failure. Trying running it from the terminal:

$ sudo autokey-gtk
Traceback (most recent call last):
  File "/usr/bin/autokey-gtk", line 20, in <module>
    from autokey.gtkapp import Application
  File "/usr/lib/python2.7/site-packages/autokey/gtkapp.py", line 18, in <module>
    import common
  File "/usr/lib/python2.7/site-packages/autokey/common.py", line 18, in <module>
    import os.path, dbus.service
ImportError: No module named dbus.service


Expected results:
autokey-gtk should run

Additional info:
$ sudo dnf install dbus-python

This allows autokey to run properly.

Comment 1 Andreas Nilsson 2018-03-27 10:39:32 UTC
I ran into this as well on a fresh install of F27.
Installing dbus-python and python2-gobject-base did the trick.

Comment 2 Fedora Update System 2018-04-04 20:16:30 UTC
autokey-0.90.4-14.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b86928f3e8

Comment 3 Fedora Update System 2018-04-06 02:31:51 UTC
autokey-0.90.4-14.fc28 has been pushed to the Fedora 28 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-2018-b86928f3e8

Comment 4 Fedora Update System 2018-04-09 13:25:56 UTC
autokey-0.90.4-14.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.