Description of problem: The "gwakeonlan" utility fails to start because the "xdg" python module is not installed by default. Error message below: /usr/lib/python2.7/site-packages/gwakeonlan/functions.py:24: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded. from gi.repository import Gtk Traceback (most recent call last): File "/bin/gwakeonlan", line 24, in <module> from gwakeonlan.settings import Settings File "/usr/lib/python2.7/site-packages/gwakeonlan/settings.py", line 26, in <module> from gwakeonlan.functions import * File "/usr/lib/python2.7/site-packages/gwakeonlan/functions.py", line 25, in <module> from gwakeonlan.constants import * File "/usr/lib/python2.7/site-packages/gwakeonlan/constants.py", line 23, in <module> from xdg import BaseDirectory ImportError: No module named xdg Version-Release number of selected component (if applicable): gwakeonlan-0.6.3-2.mga6.src.rpm How reproducible: Run gwakeonlan without having 'python-pyxdg' installed. Steps to Reproduce: 1. urpme python-pyxdg 2. urpmi gwakeonlan 3. gwakeonlan Proposed solution: add package dependency on"gwakeonlan" package. It must require "python-pyxdg" package.
Severity: minor => majorAssignee: bugsquad => geiger.david68210Summary: gwakeonlan-0.6.3-2.mga6.src.rpm => gwakeonlan lacks requires on python-pyxdg
Assigning to QA, Advisory: ======================== It's missing a require on the gwakeonlan package of Mageia 6. If no other package pulling 'python-pyxdg' are installed on the computer, gwakeonlan can't start and run. This update adds this missing require. ======================== Packages in 6/core/updates_testing: ======================== gwakeonlan-0.6.3-2.1.mga6.noarch.rpm Source RPM: ======================== gwakeonlan-0.6.3-2.1.mga6.src.rpm How to test this update request: ======================== - Install a system and and make sure you don't have 'python-pyxdg' installed. - Install 'gwakeonlan' from core/release and see if it starts and runs normally you must have the message: ImportError: No module named xdg - Install 'gwakeonlan' from core/updates_testing and check if it will install 'python-pyxdg' and if it will start and run now
Assignee: geiger.david68210 => qa-bugsWhiteboard: (none) => has_procedureSource RPM: (none) => gwakeonlan-0.6.3-2.mga6.src.rpm
Tested on Mageia 6 x86_64, I could reproduce the bug (installing gwakeonlan from Cauldron did not pull python-pyxdg, and failed to start), and the update candidate fixes it.
Whiteboard: has_procedure => has_procedure MGA6-64-OK
Advisory uploaded, validating.
Whiteboard: has_procedure MGA6-64-OK => advisory has_procedure MGA6-64-OKKeywords: (none) => validated_updateCC: (none) => sysadmin-bugs
An update for this issue has been pushed to the Mageia Updates repository. http://advisories.mageia.org/MGAA-2017-0046.html
Resolution: (none) => FIXEDStatus: NEW => RESOLVED
CC: (none) => akkaran046