Bug 31461

Summary: ругань при запуске caja
Product: [Development] Sisyphus Reporter: Michael Shigorin <mike@altlinux.org>
Component: mate-file-manager-terminalAssignee: Anton V. Boyarshinov <boyarsh@altlinux.org>
Status: NEW QA Contact: qa-sisyphus@altlinux.org
Severity: minor    
Priority: P3 CC: boyarsh@altlinux.org, rt@altlinux.org, viy@altlinux.org, vseleznv@altlinux.org
Version: unstable   
Hardware: all   
OS: Linux   

Description From 2015-11-09 16:37:17
Обнаружил следующее при тестировании regular-mate-20151104-x86_64.iso в
~/.xsession-errors:0 (видимых изъянов не наблюдаю, но на всякий повешу):

Initializing caja-image-converter extension
Initializing caja-open-terminal extension
sys:1: PyGIWarning: Caja was imported without specifying a version first. Use
gi.require_version('Caja', '2.0') before import to ensure that the right
version gets loaded.
/usr/lib/python2.7/site-packages/gi/overrides/Gtk.py:50: RuntimeWarning: You
have imported the Gtk 2.0 module.  Because Gtk 2.0 was not designed for use
with introspection some of the interfaces and API will fail.  As such this is
not supported by the pygobject development team and we encourage you to port
your app to Gtk 3 or greater. PyGTK is the recomended python module to use with
Gtk 2.0
  warnings.warn(warn_msg, RuntimeWarning)
Traceback (most recent call last):
  File "/usr/share/caja-python/extensions/caja-terminal.py", line 61, in
<module>
    gi.require_version('Vte', '0.0')
  File "/usr/lib/python2.7/site-packages/gi/__init__.py", line 102, in
require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Vte not available
/usr/lib/python3.3/importlib/_bootstrap.py:869: PyGIWarning: Gtk was imported
without specifying a version first. Use gi.require_version('Gtk', '3.0') before
import to ensure that the right version gets loaded.
  _call_with_frames_removed(exec, code_object, module.__dict__)
Traceback (most recent call last):
  File "/usr/lib/python3.3/site-packages/blueman/plugins/BasePlugin.py", line
54, in _load
    self.on_load(parent)
  File "/usr/lib/python3.3/site-packages/blueman/plugins/applet/KillSwitch.py",
line 63, in on_load
    self._iom = GObject.io_add_watch(self._fd, GObject.IO_IN | GObject.IO_ERR |
GObject.IO_HUP,
NameError: global name 'GObject' is not defined

Там, кстати, мелкий зоопарк этих pygobject'ов:

# rpm -qa | grep '^python.*module.*pygobj'
python3-module-pygobject3-3.18.2-alt1
python-module-pygobject3-3.18.2-alt1
python-module-pygobject-2.28.6-alt3

Каждый из них в итоге требуется mate-mini или mate-default.
------- Comment #1 From 2015-11-09 16:39:23 -------
PS: в процессе поиска наткнулся на:
http://stackoverflow.com/a/8112128/561921
https://bugzilla.redhat.com/show_bug.cgi?id=1259747
https://github.com/lwindolf/liferea/commit/ee738f1c2da3c8333bf4b14d728ca13bafdfccff