Bug 886800

Summary: gtk-redshift needs to depend on pyxdg package
Product: [Fedora] Fedora EPEL Reporter: mertensb.mazda
Component: redshiftAssignee: Miloš Komarčević <kmilos>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: el6CC: kmilos
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-29 21:29:39 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 mertensb.mazda 2012-12-13 08:40:54 UTC
Description of problem:
The package gtk-redshift should depend on the pyxdg package.

Without the xdg library the tool cannot start.


Version-Release number of selected component (if applicable):
1.5-1.el6 of redshift and gtk-redshift

How reproducible:
always

Steps to Reproduce:
on a minimal system install gtk-redshift and redshift.
make sure pyxdg is not installed.
start gtk-redshift the following error is shown:

Actual results:
$ gtk-redshift
Traceback (most recent call last):
  File "/usr/bin/gtk-redshift", line 22, in <module>
    from gtk_redshift.statusicon import run
  File "/usr/lib/python2.6/site-packages/gtk_redshift/statusicon.py", line 40,
in <module>
    import utils
  File "/usr/lib/python2.6/site-packages/gtk_redshift/utils.py", line 20, in
<module>
    from xdg import BaseDirectory as base
ImportError: No module named xdg



Expected results:
gtk-redshift starts without error

Additional info:
Install pyxdg
now gtk-redshift can be started without error.

Comment 1 Miloš Komarčević 2012-12-17 17:22:27 UTC
This was fixed in Fedora some time ago, see bug #675804

I never updated the EL6 package - IIRC I wasn't sure the version bump won't break configuration files back then, but it should be safe from 1.5 to 1.6.

Will request a 1.6 build for EL6 soon.

Comment 2 Fedora Update System 2013-03-13 21:33:22 UTC
redshift-1.6-3.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/redshift-1.6-3.el6

Comment 3 Fedora Update System 2013-03-14 19:08:43 UTC
Package redshift-1.6-3.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing redshift-1.6-3.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2013-0662/redshift-1.6-3.el6
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-03-29 21:29:40 UTC
redshift-1.6-3.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.