Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 408007 - x11-terms/guake should call python2 in wrapper script shebang
Summary: x11-terms/guake should call python2 in wrapper script shebang
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-13 10:07 UTC by gentoo@danielquinn.org
Modified: 2012-03-31 15:41 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gentoo@danielquinn.org 2012-03-13 10:07:14 UTC
So I build this brand new system and everything compiles just fine, including guake.  However when I try to run it, this happens:

    $ guake
    Traceback (most recent call last):
      File "/usr/lib64/guake/guake.py", line 21, in <module>
        import pygtk
    ImportError: No module named pygtk

    $ emerge -p guake

    These are the packages that would be merged, in order:

    Calculating dependencies... done!
    [ebuild   R    ] x11-terms/guake-0.4.2  USE="nls" 0 kB

So I'm thinking, guake needs to require pygtk no?
Comment 1 Richard Grenville 2012-03-13 13:23:12 UTC
dev-python/pygtk is listed in RDEPEND variable of x11-terms/guake-0.4.2's ebuild, so PyGTK should already be installed. Maybe you just changed the active Python version without running python-updater, or chose Python 3 as the default Python version?
Comment 2 Mike Gilbert gentoo-dev 2012-03-14 03:20:57 UTC
The /usr/bin/guake script needs to call /usr/bin/python2 instead of /usr/bin/python.
Comment 3 Mike Gilbert gentoo-dev 2012-03-14 03:31:32 UTC
+*guake-0.4.2-r1 (14 Mar 2012)
+
+  14 Mar 2012; Mike Gilbert <floppym@gentoo.org> +guake-0.4.2-r1.ebuild:
+  Call python2 from wrapper scripts.
+
Comment 4 Moritz Schlarb 2012-03-31 12:04:17 UTC
Just ran into the same problem!
What's hindering stabilization of the package?