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



Description Thijs Vermeir 2007-07-12 16:40:48 UTC
Please describe the problem:
When rendering a project you get a ZeroDivisionError.

Steps to reproduce:
1. Start a new project
2. Add a new video to the timeline
3. Start rendering the project


Actual results:
Traceback (most recent call last):
  • File "pitivi/ui/mainwindow.py", line 404 in _positionCb
    totaltime = (timediff * float(self.bin.length) / float(position)) - timediff
ZeroDivisionError: float division

Expected results:



Does this happen every time?
yes

Other information:
Comment 1 Edward Hervey 2007-07-13 10:49:16 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.