GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Sat Nov 29, 2014 8:36 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 
Offline

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("Gooey.glade"), I get the following error:

Code:
$ ./Main.py
Traceback (most recent call last):
  File "./Main.py", line 194, in <module>
    navigator = NavigatorApp()
  File "./Main.py", line 48, in __init__
    self.builder.add_from_file("../Gooey/Launcher.glade")
  File "/usr/lib/python3/dist-packages/gi/types.py", 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:

Code:
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.


Top
 Profile  
 
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: No registered users and 2 guests


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