[РЕШЕНО] Не запускается Radiotray

Выхлоп yaourt-gui/
python2-gobject
==> COMMAND: yaourt python2-gobject
1 extra/python2-gobject 3.18.2-1 [installed]
    Python 2 bindings for GObject
2 extra/python2-gobject2 2.28.6-12 [installed]
    Python 2 bindings for GObject2
3 aur/python2-gobject-patched 3.18.2-1 (1)
    Python 2 bindings for GObject, with a patch for cairo
==> Введите номера пакетов для установки (например: 1 2 3 или 1-3)
==> --------------------------------------------------------------
==>
Стоят оба пакета. Удалил python2-gobject, результат тот же.
Удалять необязательно, а вот python2-gobject2 переустановите.
Переустановил. Перегрузился. Ничего не изменилось.
Чувствую запас нервов на исходе.
Создал в /usr/bin/ каталог src.
Новый выхлоп.
~ % radiotray                                                                                :(
Traceback (most recent call last):
  File "/usr/bin/radiotray", line 15, in <module>
    radiotray.main(sys.argv[1:])
AttributeError: 'module' object has no attribute 'main'
~ %
А вы поспокойней. Ошибка в python -c "from radiotray import radiotray" та же, неизвестный модуль gtk?
Новые новости.
~ % python -c "from radiotray import radiotray"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named 'radiotray'
Не подскажите - созданный в /usr/bin/ каталог src удалить или оставить?
Удалить, это неправильный путь решения. Вместо python надо набирать python2.
Удалил.
~ % python2 -c "from radiotray import radiotray"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/radiotray/radiotray.py", line 6, in <module>
    from RadioTray import RadioTray
  File "/usr/lib/python2.7/site-packages/radiotray/RadioTray.py", line 20, in <module>
    from XmlDataProvider import XmlDataProvider
  File "/usr/lib/python2.7/site-packages/radiotray/XmlDataProvider.py", line 23, in <module>
    import gtk
ImportError: No module named gtk
По ходу опять с gtk проблемы или с python.
Что-то меняет PYTHONPATH. Установите strace и покажите плиз
strace -eopen python2 -c 1 2>&1 | grep -ve '-1 E'
Началась магия.

~ % strace -eopen python2 -c 1 2>&1 | grep -ve '-1 E'
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libpython2.7.so.1.0", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libutil.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/python2.7/site.py", O_RDONLY) = 3
open("/usr/lib/python2.7/site.pyc", O_RDONLY) = 4
open("/usr/lib/python2.7/os.py", O_RDONLY) = 4
open("/usr/lib/python2.7/os.pyc", O_RDONLY) = 5
open("/proc/meminfo", O_RDONLY|O_CLOEXEC) = 5
open("/usr/lib/python2.7/posixpath.py", O_RDONLY) = 5
open("/usr/lib/python2.7/posixpath.pyc", O_RDONLY) = 6
open("/usr/lib/python2.7/stat.py", O_RDONLY) = 6
open("/usr/lib/python2.7/stat.pyc", O_RDONLY) = 7
open("/usr/lib/python2.7/genericpath.py", O_RDONLY) = 6
open("/usr/lib/python2.7/genericpath.pyc", O_RDONLY) = 7
open("/usr/lib/python2.7/warnings.py", O_RDONLY) = 6
open("/usr/lib/python2.7/warnings.pyc", O_RDONLY) = 7
open("/usr/lib/python2.7/linecache.py", O_RDONLY) = 7
open("/usr/lib/python2.7/linecache.pyc", O_RDONLY) = 8
open("/usr/lib/python2.7/types.py", O_RDONLY) = 7
open("/usr/lib/python2.7/types.pyc", O_RDONLY) = 8
open("/usr/lib/python2.7/UserDict.py", O_RDONLY) = 5
open("/usr/lib/python2.7/UserDict.pyc", O_RDONLY) = 6
open("/usr/lib/python2.7/_abcoll.py", O_RDONLY) = 6
open("/usr/lib/python2.7/_abcoll.pyc", O_RDONLY) = 7
open("/usr/lib/python2.7/abc.py", O_RDONLY) = 7
open("/usr/lib/python2.7/abc.pyc", O_RDONLY) = 8
open("/usr/lib/python2.7/_weakrefset.py", O_RDONLY) = 8
open("/usr/lib/python2.7/_weakrefset.pyc", O_RDONLY) = 9
open("/usr/lib/python2.7/copy_reg.py", O_RDONLY) = 5
open("/usr/lib/python2.7/copy_reg.pyc", O_RDONLY) = 6
open("/usr/lib/python2.7/traceback.py", O_RDONLY) = 4
open("/usr/lib/python2.7/traceback.pyc", O_RDONLY) = 5
open("/usr/lib/python2.7/sysconfig.py", O_RDONLY) = 4
open("/usr/lib/python2.7/sysconfig.pyc", O_RDONLY) = 5
open("/usr/lib/python2.7/re.py", O_RDONLY) = 4
open("/usr/lib/python2.7/re.pyc", O_RDONLY) = 5
open("/usr/lib/python2.7/sre_compile.py", O_RDONLY) = 5
open("/usr/lib/python2.7/sre_compile.pyc", O_RDONLY) = 6
open("/usr/lib/python2.7/sre_parse.py", O_RDONLY) = 6
open("/usr/lib/python2.7/sre_parse.pyc", O_RDONLY) = 7
open("/usr/lib/python2.7/sre_constants.py", O_RDONLY) = 7
open("/usr/lib/python2.7/sre_constants.pyc", O_RDONLY) = 8
open("/usr/lib/python2.7/lib-dynload/_locale.so", O_RDONLY) = 5
open("/usr/lib/python2.7/lib-dynload/_locale.so", O_RDONLY|O_CLOEXEC) = 6
open("/usr/lib/python2.7/_sysconfigdata.py", O_RDONLY) = 4
open("/usr/lib/python2.7/_sysconfigdata.pyc", O_RDONLY) = 5
open("/usr/lib/python2.7/site-packages", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
open("/usr/lib/python2.7/site-packages/pygst.pth", O_RDONLY) = 4
open("/usr/lib/python2.7/site-packages/pygtk.pth", O_RDONLY) = 4
open("/usr/lib/site-python", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/python2.7/encodings/__init__.py", O_RDONLY) = 3
open("/usr/lib/python2.7/encodings/__init__.pyc", O_RDONLY) = 4
open("/usr/lib/python2.7/codecs.py", O_RDONLY) = 4
open("/usr/lib/python2.7/codecs.pyc", O_RDONLY) = 5
open("/usr/lib/python2.7/encodings/aliases.py", O_RDONLY) = 4
open("/usr/lib/python2.7/encodings/aliases.pyc", O_RDONLY) = 5
open("/usr/lib/python2.7/encodings/utf_8.py", O_RDONLY) = 3
open("/usr/lib/python2.7/encodings/utf_8.pyc", O_RDONLY) = 4
+++ exited with 0 +++
~ %
Не понимаю. Вот же он, читает файл
open("/usr/lib/python2.7/site-packages/pygtk.pth", O_RDONLY) = 4
На всякий давайте убедимся, что он доступен и содержит то, что надо.
% ls -la /usr/lib/python2.7/site-packages/pygtk.pth
-rw-r--r-- 1 root root 8 Sep 19 23:06 /usr/lib/python2.7/site-packages/pygtk.pth

% cat /usr/lib/python2.7/site-packages/pygtk.pth
gtk-2.0
И переустановите pygtk.
 
Зарегистрироваться или войдите чтобы оставить сообщение.