← Back to team overview

linux-traipu team mailing list archive

[Bug 878502] Re: Hang/crash when saving preferences on Quit after first run

 

** Changed in: openshot (Debian)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/878502

Title:
  Hang/crash when saving preferences on Quit after first run

Status in OpenShot Video Editor:
  Fix Released
Status in “openshot” package in Debian:
  Fix Released

Bug description:
  When running openshot for the first time, preferences are not saved and openshot
  either hangs or crashes when trying.

  How to reproduce:

  Start openshot for the first time (i.e. remove any existing ~/.openshot/ directory).
  Output is this:

  == =
  on_mnuQuit1_activate called with self.GtkImageMenuItem
  on_frmMain_destroy
  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.7/openshot/windows/MainGTK.py", line 1569, in on_frmMain_destroy
      self.settings.save_settings_to_xml()
    File "/usr/lib/pymodules/python2.7/openshot/windows/preferences.py", line 506, in save_settings_to_xml
      self.write_to_settings_file(xmldoc)
    File "/usr/lib/pymodules/python2.7/openshot/windows/preferences.py", line 518, in write_to_settings_file
      file.write(xmldoc.toxml("UTF-8"))
    File "/usr/lib/python2.7/xml/dom/minidom.py", line 45, in toxml
      return self.toprettyxml("", "", encoding)
    File "/usr/lib/python2.7/xml/dom/minidom.py", line 57, in toprettyxml
      self.writexml(writer, "", indent, newl, encoding)
    File "/usr/lib/python2.7/xml/dom/minidom.py", line 1747, in writexml
      node.writexml(writer, indent, addindent, newl)
    File "/usr/lib/python2.7/xml/dom/minidom.py", line 813, in writexml
      node.writexml(writer,indent+addindent,addindent,newl)
    File "/usr/lib/python2.7/xml/dom/minidom.py", line 813, in writexml
      node.writexml(writer,indent+addindent,addindent,newl)
    File "/usr/lib/python2.7/xml/dom/minidom.py", line 813, in writexml
      node.writexml(writer,indent+addindent,addindent,newl)
    File "/usr/lib/python2.7/xml/dom/minidom.py", line 1036, in writexml
      _write_data(writer, self.data)
    File "/usr/lib/python2.7/xml/dom/minidom.py", line 295, in _write_data
      data = data.replace("&", "&amp;").replace("<", "&lt;"). \
  AttributeError: 'int' object has no attribute 'replace'
  41      ../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
  == =

  It looks like there is a problem with an integer being passed to something
  that expects a string.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openshot/+bug/878502/+subscriptions


References