[Glade-users] Glade2 -> Glade3 & GtkBuilder

Hi All,

I have designed an interface in Glade2.

I am able to create an xml file from the glade2-interface.glade file.

$ gtk-builder-convert interface.glade interface.xml
Wrote interface.xml

However, I have then opened it (interface.glade - created in Glade2)
in Glade3, made a change and resaved the file.

When I try to use gtk-builder-convert on this file, I get the following errors:

$ gtk-builder-convert glade3-interface.glade interface.xml

Traceback (most recent call last):
  File "/usr/bin/gtk-builder-convert", line 690, in <module>
  File "/usr/bin/gtk-builder-convert", line 678, in main
  File "/usr/bin/gtk-builder-convert", line 147, in parse_file
  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
  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'

Are the two versions of glade incompatible?

Should I redesign my interface in Glade3?

Thanks for any advice.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]