GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Mon Sep 22, 2014 2:11 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Glade3 Button and gtk-builder-convert
PostPosted: Sun Feb 03, 2008 5:30 pm 
Offline

Joined: Sun Feb 03, 2008 5:26 pm
Posts: 2
I can convert my .glade files into .xml easily when I don't add a button. The second I add a button I Get these errors

Code:
Traceback (most recent call last):
  File "/usr/bin/gtk-builder-convert", line 690, in <module>
    sys.exit(main(sys.argv))
  File "/usr/bin/gtk-builder-convert", line 678, in main
    conv.parse_file(input_filename)
  File "/usr/bin/gtk-builder-convert", line 147, in parse_file
    self._parse()
  File "/usr/bin/gtk-builder-convert", line 223, in _parse
    self._convert(node.getAttribute("class"), node)
  File "/usr/bin/gtk-builder-convert", line 249, in _convert
    self._default_widget_converter(node)
  File "/usr/bin/gtk-builder-convert", line 266, in _default_widget_converter
    self._convert_dialog_response(node, object_id, response)
  File "/usr/bin/gtk-builder-convert", line 470, in _convert_dialog_response
    if (node.tagName == 'object' and
AttributeError: Document instance has no attribute 'tagName'


Any Ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 04, 2008 2:16 pm 
Offline
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 12:07 am
Posts: 563
Location: Portland, OR USA
Remove the "response-id" from the .glade file. See this bug: http://bugzilla.gnome.org/show_bug.cgi?id=496344

_________________
Micah Carrick - Forum Administrator
http://www.micahcarrick.com


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 04, 2008 2:50 pm 
Offline

Joined: Sun Feb 03, 2008 5:26 pm
Posts: 2
Yah I found that out last night. Posted that on the ubuntu forums where I found it.

Thanks again Micah. Now get working on that Part 2 of the tutorial ;)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 04, 2008 3:39 pm 
Offline
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 12:07 am
Posts: 563
Location: Portland, OR USA
It's very close... honestly. :)

_________________
Micah Carrick - Forum Administrator
http://www.micahcarrick.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group