GNOME Bugzilla – Bug 658303
Stacktrace when clicking the Close button in the Render dialog with certain project files
Last modified: 2013-08-05 12:04:31 UTC
Steps to reproduce: 1. Click the render button to render a project 2. Click the "DVD" render preset, or any other render preset except "HTML5 video". 3. Click the Close button, notice it does not work and a stacktrace is printed in the console. (Clicking once more the Close button closes the dialog, as expected.) $ bin/pitivi ../tmp/Untitled2.xptv Traceback (most recent call last):
+ Trace 228343
self.destroy()
self._updateProjectSettings()
self.project.setSettings(settings)
self._projectSettingsChanged()
fact.setFilterCaps(self._videocaps)
caps_copy = gst.Caps(caps)
This might be related with the fact that in the Video tab, the Codec combobox shows a value only for the "HTML5 video" render preset, and it shows no value for the others, probably because the codecs they require are not available.
*** Bug 658307 has been marked as a duplicate of this bug. ***
After some testing, this has nothing to do with presets. The way to trigger this bug on Fedora 15 is simply to have mpeg2enc as the video codec, even with "No preset". Now, the tricky part is that... it doesn't happen on Thibault's machine, so it might be a version-specific gstreamer bug.
Jean, I think Thibault can reproduce the bug I described in Comment 1, which is caused by the recent render presets change.
commit 07daa6417a325e8680cdde48b9b5268d4e8ad9a4 Author: Thibault Saunier <thibault.saunier@collabora.com> Date: Sat Sep 10 16:49:20 2011 -0300 ui: Do not show preset when some gst elements are missing
I don't see how this is fixed, with current master trying to use the DVD preset you get a crash on render and the following being printed: **ERROR: [python] vertical_size must be a even (4:2:0) Now, from what Thomas told me at OVC, we would need to guard against caps == None, "it can happen". If that's the case, "it's a bug because not having caps means we really cannot render". Tip: use import code; code.interact(local=locals()) ...to check what happens in the code
Ok turns out that what I mentionned in the last comment is actually bug 659965. However, the initial bug reported by alex in the description here still stands... if you use existing xptv files.
Created attachment 197368 [details] sample project file
Created attachment 197375 [details] screencast
This is so old, I have the feeling that this is is fixed nowadays...