Bug 16854 - autokey-qt - autokey-gtk missing a requires package on python-dbus to work properly
Summary: autokey-qt - autokey-gtk missing a requires package on python-dbus to work pr...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: advisory MGA5-64-OK
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2015-09-29 19:12 CEST by David GEIGER
Modified: 2015-10-09 20:48 CEST (History)
2 users (show)

See Also:
Source RPM: autokey-0.90.4-5.mga5.src.rpm
CVE:
Status comment:


Attachments

Description David GEIGER 2015-09-29 19:12:22 CEST
I installed autokey-qt on my mga5_64 and it does not works due to a missing dbus.service module:


$ autokey-qt
Traceback (most recent call last):
File "/usr/bin/autokey-qt", line 20, in <module>
from autokey.qtapp import Application
File "/usr/lib/python2.7/site-packages/autokey/qtapp.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
$

Installing of python-dbus fixes this issue.

I think that is autokey-common that should have python-dbus as required package.

Reproducible: 

Steps to Reproduce:
David GEIGER 2015-09-29 19:12:38 CEST

Assignee: bugsquad => shlomif

Comment 1 Shlomi Fish 2015-09-29 19:42:33 CEST
Thanks for the report. I fixed it in Cauldron in "Release : %mkrel 7". Since it has an easy workaround for version 5 of Mageia, I'm not going to fix it there.

Status: NEW => RESOLVED
Version: 5 => Cauldron
Resolution: (none) => FIXED
Whiteboard: (none) => MGA5TOO

Comment 2 Samuel Verschelde 2015-09-29 20:11:00 CEST
(In reply to Shlomi Fish from comment #1)
> Thanks for the report. I fixed it in Cauldron in "Release : %mkrel 7". Since
> it has an easy workaround for version 5 of Mageia, I'm not going to fix it
> there.

This is not an easy workaround for all users, and it is an easy fix for Mageia 5. If you don't mind, I'm reopening this bug report. If you don't want to go through QA process maybe another packager will.

Resolution: FIXED => (none)
Status: RESOLVED => REOPENED

Comment 3 David GEIGER 2015-10-01 22:48:47 CEST
So autokey is now fixed for mga5 too.


Advisory:
========================

It's missing a require on the autokey package of Mageia 5.
If no other package pulling 'python-dbus' are installed on the computer, autokey
can't start and run.
This update adds this missing require.

========================

Packages in 5/core/updates_testing:
========================
autokey-common-0.90.4-5.1.mga5.noarch.rpm
autokey-gtk-0.90.4-5.1.mga5.noarch.rpm
autokey-qt-0.90.4-5.1.mga5.noarch.rpm

Source RPM: 
========================
autokey-0.90.4-5.1.mga5.src.rpm


How to test this update request:
========================
- Install a system and and make sure you don't have 'python-dbus' installed.
- Install 'autokey-qt' or 'autokey-gtk' from core/release and see if it starts and runs, normally you must have the message:

ImportError: No module named dbus.service

- Install 'autokey-qt' or 'autokey-gtk' from core/updates_testing and check if it will install 'python-dbus' and if it will start and run now.

Assignee: shlomif => qa-bugs

David Walser 2015-10-01 23:15:12 CEST

Version: Cauldron => 5
Whiteboard: MGA5TOO => (none)

Comment 4 Dave Hodgins 2015-10-09 01:35:35 CEST
$ urpmq --requires autokey-common 2>/dev/null|grep dbus 
autokey-common: python-dbus

Keywords: (none) => validated_update
Whiteboard: (none) => advisory MGA5-64-OK
CC: (none) => davidwhodgins, sysadmin-bugs

Comment 5 Mageia Robot 2015-10-09 20:48:42 CEST
An update for this issue has been pushed to Mageia Updates repository.

http://advisories.mageia.org/MGAA-2015-0147.html

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED


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