← Back to team overview

openshot.developers team mailing list archive

[Bug 480005] Re: SimpleGladeApp.py:340: GtkWarning: gtk_toolbar_set_icon_size: assertion `icon_size != GTK_ICON_SIZE_INVALID' failed return gtk.glade.XML(self.glade_path, root, domain)

 

This is a reposted comment from related bug (or duplicate)
https://bugs.launchpad.net/openshot/+bug/519726

I have the same issue. Here's my terminal output:
user@user-desktop:~$ openshot
Added /usr/share/openshot to system path
--------------------------------
   OpenShot (version 1.0.0)
--------------------------------
/usr/share/openshot/windows/SimpleGladeApp.py:340: GtkWarning: gtk_toolbar_set_icon_size: assertion `icon_size != GTK_ICON_SIZE_INVALID' failed
  return gtk.glade.XML(self.glade_path, root, domain)
A new frmMain has been created
Traceback (most recent call last):
  File "/usr/bin/openshot", line 50, in <module>
    main()
  File "/usr/share/openshot/openshot.py", line 57, in main
    form1 = MainGTK.frmMain(project=current_project, version=info.SETUP['version'])
  File "/usr/share/openshot/windows/MainGTK.py", line 161, in __init__
    self.settings.load_settings_from_xml()
  File "/usr/share/openshot/windows/preferences.py", line 208, in load_settings_from_xml
    xmldoc = xml.parse(settings_path)
  File "/usr/lib/python2.6/xml/dom/minidom.py", line 1918, in parse
    return expatbuilder.parse(file)
  File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 924, in parse
    result = builder.parseFile(fp)
  File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 211, in parseFile
    parser.Parse("", True)
xml.parsers.expat.ExpatError: no element found: line 1, column 0

Let me add that I have a weird computer that was assembled privately in
China. I have system clock issues when the power cuts out or after the
computer is unplugged. After a power outage, I restarted the computer
and could barely boot into Ubuntu. I had to reset a bios setting (boot
order) and after finally getting into Karmic I had to reset my clock.
It's possible that the above bug is related to some missing or corrupted
configuration file. My other programs work and start just fine. I've
already tried the fixes here
https://bugs.launchpad.net/openshot/+bug/480894 (purging openshot and
mlt, plus the files listed there, then reinstalling).

I'm running Ubuntu Karmic 9.10 and OpenShot was installed through the
PPA.

-- 
SimpleGladeApp.py:340: GtkWarning: gtk_toolbar_set_icon_size: assertion `icon_size != GTK_ICON_SIZE_INVALID' failed   return gtk.glade.XML(self.glade_path, root, domain)
https://bugs.launchpad.net/bugs/480005
You received this bug notification because you are a member of OpenShot
Developers, which is subscribed to OpenShot Video Editor.

Status in OpenShot Video Editor: Incomplete

Bug description:
openshot
Added /usr/share/openshot to system path
Xlib:  extension "Generic Event Extension" missing on display ":1055.0".
Xlib:  extension "Generic Event Extension" missing on display ":1055.0".
Xlib:  extension "Generic Event Extension" missing on display ":1055.0".
Xlib:  extension "Generic Event Extension" missing on display ":1055.0".
Xlib:  extension "Generic Event Extension" missing on display ":1055.0".
--------------------------------
   OpenShot (version 0.9.53)
--------------------------------
/usr/share/openshot/windows/SimpleGladeApp.py:340: GtkWarning: gtk_toolbar_set_icon_size: assertion `icon_size != GTK_ICON_SIZE_INVALID' failed
  return gtk.glade.XML(self.glade_path, root, domain)
A new frmMain has been created
Erreur de segmentation (core dumped)
~$ openshot
Added /usr/share/openshot to system path
Xlib:  extension "Generic Event Extension" missing on display ":1055.0".
Xlib:  extension "Generic Event Extension" missing on display ":1055.0".
Xlib:  extension "Generic Event Extension" missing on display ":1055.0".
Xlib:  extension "Generic Event Extension" missing on display ":1055.0".
Xlib:  extension "Generic Event Extension" missing on display ":1055.0".
--------------------------------
   OpenShot (version 0.9.53)
--------------------------------
/usr/share/openshot/windows/SimpleGladeApp.py:340: GtkWarning: gtk_toolbar_set_icon_size: assertion `icon_size != GTK_ICON_SIZE_INVALID' failed
  return gtk.glade.XML(self.glade_path, root, domain)
A new frmMain has been created
Erreur de segmentation (core dumped)

on a system :
Linux media 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux

With librsvg2-common and pulseaudio librairy for MLT installed

Openshot installed via ppa





References