GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Thu Aug 25, 2016 4:27 am

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: gi._glib.GError: Invalid object type `VteTerminal'
PostPosted: Mon Aug 13, 2012 5:26 am 

Joined: Mon Aug 13, 2012 5:17 am
Posts: 1
Hey forum,

I've created a window through Glade 3.12.1 which contains a VTE widget within one of its sizers. It looks fine in Glade, but when I attempt to call the builder's add_from_file(""), I get the following error:

$ ./
Traceback (most recent call last):
  File "./", line 194, in <module>
    navigator = NavigatorApp()
  File "./", line 48, in __init__
  File "/usr/lib/python3/dist-packages/gi/", line 43, in function
    return info.invoke(*args, **kwargs)
gi._glib.GError: Invalid object type `VteTerminal'

I am using Python 3.2.3 with binding for Gtk+ version 3.4.2. This is strange because I am pretty sure I am importing the necessary modules prior to loading with builder via the following:

from gi.repository import Gtk, Gdk, GObject
from gi.repository import Vte, GLib

Any help is appreciated. I'm finding the documentation on programming Gtk+ 3 via Python 3 scant. Not to mention distros compounding the difficulty frequently with old packages / bindings. Something that might help would be a simple minimal that instantiates a Glade defined VTE widget using Python 3 / Gtk+ 3.

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group