yselkowitz / caja-terminal

caja-terminal is a embedded terminal in caja
GNU General Public License v3.0
4 stars 5 forks source link

warning in terminal #1

Closed raveit65 closed 8 years ago

raveit65 commented 8 years ago

running caja from terminal produce this warnings about caja-terminal

[rave@mother ~]$ sudo caja
/usr/lib64/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)
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.
Initializing caja-open-terminal extension
Initializing caja-image-converter extension

forget the first one

yselkowitz commented 8 years ago

Thanks for reporting; fixed in commit 6043098.

raveit65 commented 8 years ago

Thank you for fixing the issue ;)

raveit65 commented 8 years ago

weird, the warning isn't gone.

[rave@f23-test ~]$ sudo caja
Initializing caja-image-converter 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/lib64/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)
Initializing caja-open-terminal extension

here is the rpm https://dl.dropboxusercontent.com/u/49862637/Mate-desktop/SOURCE/caja-terminal.tar.xz