I just emerged quodlibet to my freshly installed funtoo. But when I try to start quodlibet or exfalso I get error messages that I don't understand.
~ $ quodlibet
Traceback (most recent call last):
File "/usr/bin/quodlibet", line 438, in <module>
main()
File "/usr/bin/quodlibet", line 44, in main
from quodlibet import browsers
File "/usr/lib64/python2.7/site-packages/quodlibet/browsers/__init__.py", line 13, in <module>
from quodlibet.browsers._base import Browser
File "/usr/lib64/python2.7/site-packages/quodlibet/browsers/_base.py", line 15, in <module>
from quodlibet.qltk.songsmenu import SongsMenu
File "/usr/lib64/python2.7/site-packages/quodlibet/qltk/__init__.py", line 11, in <module>
from gi.repository import Gtk
ImportError: cannot import name Gtk
When I try exfalso I receive a different error:
~ $ exfalso
Traceback (most recent call last):
File "/usr/bin/exfalso", line 62, in <module>
main()
File "/usr/bin/exfalso", line 41, in main
title=const.PROCESS_TITLE_EF)
File "/usr/lib64/python2.7/site-packages/quodlibet/__init__.py", line 295, in init
_gtk_init(icon)
File "/usr/lib64/python2.7/site-packages/quodlibet/__init__.py", line 101, in _gtk_init
gi.require_version("Gtk", "3.0")
File "/usr/lib64/python2.7/site-packages/gi/__init__.py", line 100, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gtk not available
And operon the cmdline tool gives me this:
~ $ operon
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 39, in load_dir_modules
mod = load_module(name, package, path)
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 109, in load_module
mod = imp.load_module(fullname, fp, path, desc)
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/vgm.py", line 11, in <module>
from ._audio import AudioFile
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/_audio.py", line 31, in <module>
from quodlibet.util.cover.manager import cover_plugins
File "/usr/lib64/python2.7/site-packages/quodlibet/util/cover/manager.py", line 11, in <module>
from quodlibet.plugins import PluginManager, PluginHandler
File "/usr/lib64/python2.7/site-packages/quodlibet/plugins/__init__.py", line 12, in <module>
from quodlibet.qltk.ccb import ConfigCheckButton
File "/usr/lib64/python2.7/site-packages/quodlibet/qltk/__init__.py", line 11, in <module>
from gi.repository import Gtk
ImportError: cannot import name Gtk
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 39, in load_dir_modules
mod = load_module(name, package, path)
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 109, in load_module
mod = imp.load_module(fullname, fp, path, desc)
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/monkeysaudio.py", line 7, in <module>
from quodlibet.formats._apev2 import APEv2File
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/_apev2.py", line 7, in <module>
from quodlibet.formats._audio import AudioFile
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/_audio.py", line 31, in <module>
from quodlibet.util.cover.manager import cover_plugins
File "/usr/lib64/python2.7/site-packages/quodlibet/util/cover/manager.py", line 11, in <module>
from quodlibet.plugins import PluginManager, PluginHandler
File "/usr/lib64/python2.7/site-packages/quodlibet/plugins/__init__.py", line 12, in <module>
from quodlibet.qltk.ccb import ConfigCheckButton
File "/usr/lib64/python2.7/site-packages/quodlibet/qltk/__init__.py", line 11, in <module>
from gi.repository import Gtk
ImportError: cannot import name Gtk
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 39, in load_dir_modules
mod = load_module(name, package, path)
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 109, in load_module
mod = imp.load_module(fullname, fp, path, desc)
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/mpc.py", line 7, in <module>
from quodlibet.formats._apev2 import APEv2File
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/_apev2.py", line 7, in <module>
from quodlibet.formats._audio import AudioFile
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/_audio.py", line 31, in <module>
from quodlibet.util.cover.manager import cover_plugins
File "/usr/lib64/python2.7/site-packages/quodlibet/util/cover/manager.py", line 11, in <module>
from quodlibet.plugins import PluginManager, PluginHandler
File "/usr/lib64/python2.7/site-packages/quodlibet/plugins/__init__.py", line 12, in <module>
from quodlibet.qltk.ccb import ConfigCheckButton
File "/usr/lib64/python2.7/site-packages/quodlibet/qltk/__init__.py", line 11, in <module>
from gi.repository import Gtk
ImportError: cannot import name Gtk
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 39, in load_dir_modules
mod = load_module(name, package, path)
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 109, in load_module
mod = imp.load_module(fullname, fp, path, desc)
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/midi.py", line 9, in <module>
from quodlibet.formats._audio import AudioFile
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/_audio.py", line 31, in <module>
from quodlibet.util.cover.manager import cover_plugins
File "/usr/lib64/python2.7/site-packages/quodlibet/util/cover/manager.py", line 11, in <module>
from quodlibet.plugins import PluginManager, PluginHandler
File "/usr/lib64/python2.7/site-packages/quodlibet/plugins/__init__.py", line 12, in <module>
from quodlibet.qltk.ccb import ConfigCheckButton
File "/usr/lib64/python2.7/site-packages/quodlibet/qltk/__init__.py", line 11, in <module>
from gi.repository import Gtk
ImportError: cannot import name Gtk
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 39, in load_dir_modules
mod = load_module(name, package, path)
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 109, in load_module
mod = imp.load_module(fullname, fp, path, desc)
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/wavpack.py", line 7, in <module>
from quodlibet.formats._apev2 import APEv2File
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/_apev2.py", line 7, in <module>
from quodlibet.formats._audio import AudioFile
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/_audio.py", line 31, in <module>
from quodlibet.util.cover.manager import cover_plugins
File "/usr/lib64/python2.7/site-packages/quodlibet/util/cover/manager.py", line 11, in <module>
from quodlibet.plugins import PluginManager, PluginHandler
File "/usr/lib64/python2.7/site-packages/quodlibet/plugins/__init__.py", line 12, in <module>
from quodlibet.qltk.ccb import ConfigCheckButton
File "/usr/lib64/python2.7/site-packages/quodlibet/qltk/__init__.py", line 11, in <module>
from gi.repository import Gtk
ImportError: cannot import name Gtk
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 39, in load_dir_modules
mod = load_module(name, package, path)
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 109, in load_module
mod = imp.load_module(fullname, fp, path, desc)
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/trueaudio.py", line 14, in <module>
from quodlibet.formats._id3 import ID3File
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/_id3.py", line 13, in <module>
from quodlibet.formats._audio import AudioFile
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/_audio.py", line 31, in <module>
from quodlibet.util.cover.manager import cover_plugins
File "/usr/lib64/python2.7/site-packages/quodlibet/util/cover/manager.py", line 11, in <module>
from quodlibet.plugins import PluginManager, PluginHandler
File "/usr/lib64/python2.7/site-packages/quodlibet/plugins/__init__.py", line 12, in <module>
from quodlibet.qltk.ccb import ConfigCheckButton
File "/usr/lib64/python2.7/site-packages/quodlibet/qltk/__init__.py", line 11, in <module>
from gi.repository import Gtk
ImportError: cannot import name Gtk
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 39, in load_dir_modules
mod = load_module(name, package, path)
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 109, in load_module
mod = imp.load_module(fullname, fp, path, desc)
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/mp4.py", line 8, in <module>
from quodlibet.formats._audio import AudioFile
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/_audio.py", line 31, in <module>
from quodlibet.util.cover.manager import cover_plugins
File "/usr/lib64/python2.7/site-packages/quodlibet/util/cover/manager.py", line 11, in <module>
from quodlibet.plugins import PluginManager, PluginHandler
File "/usr/lib64/python2.7/site-packages/quodlibet/plugins/__init__.py", line 12, in <module>
from quodlibet.qltk.ccb import ConfigCheckButton
File "/usr/lib64/python2.7/site-packages/quodlibet/qltk/__init__.py", line 11, in <module>
from gi.repository import Gtk
ImportError: cannot import name Gtk
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 39, in load_dir_modules
mod = load_module(name, package, path)
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 109, in load_module
mod = imp.load_module(fullname, fp, path, desc)
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/xiph.py", line 18, in <module>
from quodlibet.formats._audio import AudioFile
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/_audio.py", line 31, in <module>
from quodlibet.util.cover.manager import cover_plugins
File "/usr/lib64/python2.7/site-packages/quodlibet/util/cover/manager.py", line 11, in <module>
from quodlibet.plugins import PluginManager, PluginHandler
File "/usr/lib64/python2.7/site-packages/quodlibet/plugins/__init__.py", line 12, in <module>
from quodlibet.qltk.ccb import ConfigCheckButton
File "/usr/lib64/python2.7/site-packages/quodlibet/qltk/__init__.py", line 11, in <module>
from gi.repository import Gtk
ImportError: cannot import name Gtk
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 39, in load_dir_modules
mod = load_module(name, package, path)
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 109, in load_module
mod = imp.load_module(fullname, fp, path, desc)
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/wav.py", line 10, in <module>
from quodlibet.formats._audio import AudioFile
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/_audio.py", line 31, in <module>
from quodlibet.util.cover.manager import cover_plugins
File "/usr/lib64/python2.7/site-packages/quodlibet/util/cover/manager.py", line 11, in <module>
from quodlibet.plugins import PluginManager, PluginHandler
File "/usr/lib64/python2.7/site-packages/quodlibet/plugins/__init__.py", line 12, in <module>
from quodlibet.qltk.ccb import ConfigCheckButton
File "/usr/lib64/python2.7/site-packages/quodlibet/qltk/__init__.py", line 11, in <module>
from gi.repository import Gtk
ImportError: cannot import name Gtk
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 39, in load_dir_modules
mod = load_module(name, package, path)
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 109, in load_module
mod = imp.load_module(fullname, fp, path, desc)
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/wma.py", line 10, in <module>
from quodlibet.formats._audio import AudioFile
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/_audio.py", line 31, in <module>
from quodlibet.util.cover.manager import cover_plugins
File "/usr/lib64/python2.7/site-packages/quodlibet/util/cover/manager.py", line 11, in <module>
from quodlibet.plugins import PluginManager, PluginHandler
File "/usr/lib64/python2.7/site-packages/quodlibet/plugins/__init__.py", line 12, in <module>
from quodlibet.qltk.ccb import ConfigCheckButton
File "/usr/lib64/python2.7/site-packages/quodlibet/qltk/__init__.py", line 11, in <module>
from gi.repository import Gtk
ImportError: cannot import name Gtk
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 39, in load_dir_modules
mod = load_module(name, package, path)
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 109, in load_module
mod = imp.load_module(fullname, fp, path, desc)
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/spc.py", line 9, in <module>
from quodlibet.formats._audio import AudioFile
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/_audio.py", line 31, in <module>
from quodlibet.util.cover.manager import cover_plugins
File "/usr/lib64/python2.7/site-packages/quodlibet/util/cover/manager.py", line 11, in <module>
from quodlibet.plugins import PluginManager, PluginHandler
File "/usr/lib64/python2.7/site-packages/quodlibet/plugins/__init__.py", line 12, in <module>
from quodlibet.qltk.ccb import ConfigCheckButton
File "/usr/lib64/python2.7/site-packages/quodlibet/qltk/__init__.py", line 11, in <module>
from gi.repository import Gtk
ImportError: cannot import name Gtk
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 39, in load_dir_modules
mod = load_module(name, package, path)
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 109, in load_module
mod = imp.load_module(fullname, fp, path, desc)
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/mp3.py", line 8, in <module>
from quodlibet.formats._id3 import ID3File
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/_id3.py", line 13, in <module>
from quodlibet.formats._audio import AudioFile
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/_audio.py", line 31, in <module>
from quodlibet.util.cover.manager import cover_plugins
File "/usr/lib64/python2.7/site-packages/quodlibet/util/cover/manager.py", line 11, in <module>
from quodlibet.plugins import PluginManager, PluginHandler
File "/usr/lib64/python2.7/site-packages/quodlibet/plugins/__init__.py", line 12, in <module>
from quodlibet.qltk.ccb import ConfigCheckButton
File "/usr/lib64/python2.7/site-packages/quodlibet/qltk/__init__.py", line 11, in <module>
from gi.repository import Gtk
ImportError: cannot import name Gtk
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 39, in load_dir_modules
mod = load_module(name, package, path)
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 109, in load_module
mod = imp.load_module(fullname, fp, path, desc)
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/remote.py", line 7, in <module>
from quodlibet.formats._audio import AudioFile
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/_audio.py", line 31, in <module>
from quodlibet.util.cover.manager import cover_plugins
File "/usr/lib64/python2.7/site-packages/quodlibet/util/cover/manager.py", line 11, in <module>
from quodlibet.plugins import PluginManager, PluginHandler
File "/usr/lib64/python2.7/site-packages/quodlibet/plugins/__init__.py", line 12, in <module>
from quodlibet.qltk.ccb import ConfigCheckButton
File "/usr/lib64/python2.7/site-packages/quodlibet/qltk/__init__.py", line 11, in <module>
from gi.repository import Gtk
ImportError: cannot import name Gtk
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 39, in load_dir_modules
mod = load_module(name, package, path)
File "/usr/lib64/python2.7/site-packages/quodlibet/util/importhelper.py", line 109, in load_module
mod = imp.load_module(fullname, fp, path, desc)
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/mod.py", line 10, in <module>
from quodlibet.formats._audio import AudioFile
File "/usr/lib64/python2.7/site-packages/quodlibet/formats/_audio.py", line 31, in <module>
from quodlibet.util.cover.manager import cover_plugins
File "/usr/lib64/python2.7/site-packages/quodlibet/util/cover/manager.py", line 11, in <module>
from quodlibet.plugins import PluginManager, PluginHandler
File "/usr/lib64/python2.7/site-packages/quodlibet/plugins/__init__.py", line 12, in <module>
from quodlibet.qltk.ccb import ConfigCheckButton
File "/usr/lib64/python2.7/site-packages/quodlibet/qltk/__init__.py", line 11, in <module>
from gi.repository import Gtk
ImportError: cannot import name Gtk
No formats found!
Python and gtk+ are installed. Also all of the dependencies given from the quodlibet homepage.
~ $ eselect python list
Available Python interpreters:
[1] python2.7
[2] python3.3 *
~ $ emerge -s gtk+
Searching...
[ Results for search key : gtk+ ]
[ Applications found : 2 ]
* x11-libs/gtk+
Latest version available: 3.14.10
Latest version installed: 3.14.10
Size of files: 15,413 kB
Homepage: http://www.gtk.org/
Description: Gimp ToolKit +
License: LGPL-2+
It also does not help to switch python to 2.7 by using:
eselect python set 1
Could somebody please help me understand what is going on here?
Question
lvdd
Hi,
I just emerged quodlibet to my freshly installed funtoo. But when I try to start quodlibet or exfalso I get error messages that I don't understand.
When I try exfalso I receive a different error:
And operon the cmdline tool gives me this:
Python and gtk+ are installed. Also all of the dependencies given from the quodlibet homepage.
It also does not help to switch python to 2.7 by using:
Could somebody please help me understand what is going on here?
Thanks
lvdd
Link to comment
Share on other sites
3 answers to this question
Recommended Posts