After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 597830 - Hanging when rendering if I open and save settings dialog
Hanging when rendering if I open and save settings dialog
Status: RESOLVED DUPLICATE of bug 584135
Product: pitivi
Classification: Other
Component: Rendering
0.13.3
Other Linux
: Normal major
: Git
Assigned To: Pitivi maintainers
Pitivi maintainers
Depends on:
Blocks:
 
 
Reported: 2009-10-08 16:48 UTC by Adam Plumb
Modified: 2010-02-10 14:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Debug log and test mpg (688.95 KB, application/x-gzip)
2010-02-09 19:38 UTC, Adam Plumb
Details

Description Adam Plumb 2009-10-08 16:48:06 UTC
I've just installed pitivi v0.13.3 from the PPA (I'm running Jaunty 64bit).  I've set up a simple project with a jpg image and an ogv video put together (no audio).

Symptom:
When I try to render the project, it will sometimes hang without doing anything.  The progress bar will say "Rendering" but nothing happens even if I wait.  This seems to only occur after I open the Settings: Modify dialog and click OK (if I press Cancel, it's fine).

I opened the project from the commandline and I get the following traceback...

Traceback (most recent call last):
  • File "/usr/lib/pitivi/python/pitivi/ui/mainwindow.py", line 494 in _deleteCb
    if not self.app.shutdown():
  • File "/usr/lib/pitivi/python/pitivi/application.py", line 274 in shutdown
    if Pitivi.shutdown(self):
  • File "/usr/lib/pitivi/python/pitivi/application.py", line 159 in shutdown
    if self.projectManager.current and not self.projectManager.closeRunningProject():
  • File "/usr/lib/pitivi/python/pitivi/projectmanager.py", line 123 in closeRunningProject
    self.current.release()
  • File "/usr/lib/pitivi/python/pitivi/project.py", line 96 in release
    self.pipeline.release()
  • File "/usr/lib/pitivi/python/pitivi/pipeline.py", line 172 in release
    i.deactivate()
  • File "/usr/lib/pitivi/python/pitivi/action.py", line 146 in deactivate
    self._releasePipelineObjects()
  • File "/usr/lib/pitivi/python/pitivi/action.py", line 650 in _releasePipelineObjects
    self.pipeline.releaseQueueForFactoryStream(consumer, consstream)
  • File "/usr/lib/pitivi/python/pitivi/pipeline.py", line 745 in releaseQueueForFactoryStream
    stream_entry = self._getStreamEntryForFactoryStream(factory, stream)
  • File "/usr/lib/pitivi/python/pitivi/pipeline.py", line 451 in _getStreamEntryForFactoryStream
    factory_entry = self._getFactoryEntryForStream(factory, stream, create)
  • File "/usr/lib/pitivi/python/pitivi/pipeline.py", line 434 in _getFactoryEntryForStream
    raise PipelineError() pitivi.pipeline.PipelineError

Comment 1 Adam Plumb 2009-10-08 16:50:53 UTC
On further inspection, the Pipeline error only occurs when I try to click the Cancel button when rendering hangs.  It doesn't occur at the point of hanging, only at the point of clicking the cancel button.  Unfortunately, nothing is outputted when it hangs.
Comment 2 Adam Plumb 2009-10-08 18:13:45 UTC
The uploader is currently broken, so I'm putting a link here to my debug.log output.

http://cobradragon.com/~adam/debug.log
Comment 3 Jean-François Fortin Tam 2009-10-09 11:27:40 UTC
I wonder if this may be related to bug #596134 or bug #597252
Comment 4 Adam Plumb 2009-10-09 12:01:46 UTC
FYI In my project, I have a jpg file at the very beginning of the timeline, followed by a clip.
Comment 5 Adam Plumb 2009-10-09 12:49:38 UTC
I just created a new project with only an ogv clip (no jpg) and rendered that (after opening and closing the options window).  I had the same hanging issue as before.
Comment 6 Adam Plumb 2009-10-09 12:51:52 UTC
One more comment ;)  My original post didn't mention it, but the clip I'm importing does not contain an audio stream.  I'm not sure if that makes a difference though.
Comment 7 Jean-François Fortin Tam 2010-02-09 05:03:37 UTC
There is a still image in your timeline, and I recall that causing problems, blocking renders in 0.13.3. It has recently been fixed in pitivi git, among other things (such as the infamous "doesn't render if not seeked beforehand" bug). Can you test with pitivi git?
Comment 8 Adam Plumb 2010-02-09 19:37:51 UTC
I can still reproduce the issue in the version from git.

Here is what I do:

1. Start pitivi (empty project)
2. Import a clip to the library
3. Drag the clip to the timeline
4. Click Render project.
  a. Output file is test.mpg
  b. Click "Modify" to open the dialog then click "OK" to close it.
5. Click the Render button

FYI, This occurs without an image in the timeline.  If I click "Cancel" when closing the Modify Render Options dialog, then the rendering works fine.
Comment 9 Adam Plumb 2010-02-09 19:38:38 UTC
Created attachment 153360 [details]
Debug log and test mpg
Comment 10 Jean-François Fortin Tam 2010-02-09 22:33:51 UTC
Interesting. I cannot reproduce with ogg theora footage on my end if I simply follow your 5 steps in comment #8, however, I can reproduce if I use the mpeg file you provided in comment #9.

Confirming, so others can take a look.
Comment 11 Jean-François Fortin Tam 2010-02-10 14:14:08 UTC
I'm now thinking that this is the same problem as bug #584136, bug #584135 and bug #590639 (which are all the same thing to me).
Comment 12 Jean-François Fortin Tam 2010-02-10 14:27:06 UTC
Demonstration of the problem: http://jeff.ecchi.ca/public/pitivi-597830.ogv
Comment 13 Adam Plumb 2010-02-10 14:30:46 UTC
Yeah that is an exact reproduction of the issue.
Comment 14 Edward Hervey 2010-02-10 14:44:33 UTC
It's due to lack of audio track :( If you hit 'CANCEL' instead of 'OK' when opening those settings... it works fine.
Comment 15 Edward Hervey 2010-02-10 14:45:19 UTC
it's a duplicate of #584135

*** This bug has been marked as a duplicate of bug 584135 ***