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 456289 - Progressbar assertion failed when rendering project
Progressbar assertion failed when rendering project
Status: RESOLVED FIXED
Product: pitivi
Classification: Other
Component: General
Git
Other All
: Normal minor
: 0.11.0
Assigned To: Pitivi maintainers
Pitivi maintainers
Depends on:
Blocks:
 
 
Reported: 2007-07-12 16:15 UTC by Thijs Vermeir
Modified: 2007-10-14 16:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
prevent that the assertion failes (774 bytes, patch)
2007-07-12 16:16 UTC, Thijs Vermeir
committed Details | Review

Description Thijs Vermeir 2007-07-12 16:15:32 UTC
Please describe the problem:
When rendering a project an assertion failed for setting the percentage of the progressbar in the mainview.

Steps to reproduce:
1. Start a project
2. Import a video
3. Render this project


Actual results:
pitivi/ui/mainwindow.py:403: GtkWarning: gtk_progress_set_percentage: assertion `percentage >= 0 && percentage <= 1.0' failed
  self.progressbar.set_fraction(float(position) / float(self.bin.length))

Expected results:


Does this happen every time?
yes

Other information:
Comment 1 Thijs Vermeir 2007-07-12 16:16:04 UTC
Created attachment 91684 [details] [review]
prevent that the assertion failes

This patch should solve this problem
Comment 2 Edward Hervey 2007-07-13 10:49:01 UTC
2007-07-13  Edward Hervey  <bilboed@bilboed.com>

	Patch by: Thijs Vermeir <thijsvermeir@gmail.com>
	* pitivi/ui/mainwindow.py:
	Fix issues with rendering progress bar.