$ ipython
Python 2.7.9 (default, Mar 9 2015, 23:17:55)
Type "copyright", "credits" or "license" for more information.
IPython 2.3.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import gi
In [2]: gi.require_version("Vte", "2.90")
In [3]: from gi.repository import Vte
In [4]: term = Vte.Terminal.new()
In [5]: term.spawn_sync()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-5-a26cb7d7520c> in <module>()
----> 1 term.spawn_sync()
AttributeError: 'Terminal' object has no attribute 'spawn_sync'
I think I was able to recreate this:
$ ipython
Python 2.7.9 (default, Mar 9 2015, 23:17:55)
Type "copyright", "credits" or "license" for more information.
IPython 2.3.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import gi
In [2]: gi.require_ version( "Vte", "2.90")
In [3]: from gi.repository import Vte
In [4]: term = Vte.Terminal.new()
In [5]: term.spawn_sync() ------- ------- ------- ------- ------- ------- ------- ------- ------- ----- input-5- a26cb7d7520c> in <module>()
-------
AttributeError Traceback (most recent call last)
<ipython-
----> 1 term.spawn_sync()
AttributeError: 'Terminal' object has no attribute 'spawn_sync'