gtk-redshift: "No module named glib"

Bug #508239 reported by drfloob
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Redshift
Fix Released
Undecided
Jon Lund Steffensen

Bug Description

I'm running debian stable (lenny) with python 2.5.2, and I've installed redshift from source. I didn't find any dependencies listed, so I installed what I had to for ./configure to work. (FYI, I installed the `libxxf86vm-dev` package).

Anyhow, when running gtk-redshift, it does not start, and the error output is:

Traceback (most recent call last):
  File "./gtk-redshift", line 27, in <module>
    import gtk, glib
ImportError: No module named glib

redshift works fine, otherwise!

Revision history for this message
Jon Lund Steffensen (jonls) wrote :

I guess you need pygtk. The package is called python-gtk2 in debian (and ubuntu). I'll add some information on dependencies in the README. I'm not sure whether there should be a check in the configure script for pygtk since it is not required to build the package, it is only required later.

Changed in redshift:
status: New → In Progress
Changed in redshift:
assignee: nobody → Jon Lund Steffensen (jonls)
status: In Progress → Fix Committed
Changed in redshift:
milestone: none → 1.2
Changed in redshift:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.