Bug 1599462 - [abrt] pitivi: __emitProgress(): proxy.py:359:__emitProgress:ZeroDivisionError: float division by zero
Summary: [abrt] pitivi: __emitProgress(): proxy.py:359:__emitProgress:ZeroDivisionErro...
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: pitivi
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:70b54c4061edb8bf75436c6d7c9...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-09 23:02 UTC by Kaj Forney
Modified: 2018-08-02 15:33 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-02 15:33:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (810 bytes, text/plain)
2018-07-09 23:02 UTC, Kaj Forney
no flags Details
File: cgroup (331 bytes, text/plain)
2018-07-09 23:02 UTC, Kaj Forney
no flags Details
File: cpuinfo (1.27 KB, text/plain)
2018-07-09 23:02 UTC, Kaj Forney
no flags Details
File: environ (2.19 KB, text/plain)
2018-07-09 23:02 UTC, Kaj Forney
no flags Details
File: mountinfo (4.85 KB, text/plain)
2018-07-09 23:02 UTC, Kaj Forney
no flags Details
File: namespaces (129 bytes, text/plain)
2018-07-09 23:02 UTC, Kaj Forney
no flags Details
File: open_fds (3.71 KB, text/plain)
2018-07-09 23:02 UTC, Kaj Forney
no flags Details

Description Kaj Forney 2018-07-09 23:02:25 UTC
Description of problem:
1. Import one .ogg and three .m4v files into a brand-new project.
2. Pitivi "crashes" according to ABRT, but continues running.

Version-Release number of selected component:
pitivi-0.99-3.fc28

Additional info:
reporter:       libreport-2.9.5
cmdline:        /usr/bin/python3 /usr/bin/pitivi
crash_function: __emitProgress
exception_type: ZeroDivisionError
executable:     /usr/bin/pitivi
interpreter:    python3-3.6.5-1.fc28.x86_64
kernel:         4.17.3-200.fc28.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
proxy.py:359:__emitProgress:ZeroDivisionError: float division by zero

Traceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/pitivi/utils/proxy.py", line 381, in __proxyingPositionChangedCb
    self.__emitProgress(asset, asset.creation_progress)
  File "/usr/lib64/python3.6/site-packages/pitivi/utils/proxy.py", line 359, in __emitProgress
    estimated_time = remaining_seconds * time_spent / transcoded_seconds
ZeroDivisionError: float division by zero

Local variables in innermost frame:
remaining_seconds: 421.704
transcoded_seconds: 0.0
time_spent: 9.765987157821655
creation_progress: 0
asset: <GES.UriClipAsset object at 0x7f804d103d80 (GESUriClipAsset at 0x55ed82622d10)>
self: <proxy.ProxyManager object at 0x7f8051f77a68 (pitivi+utils+proxy+ProxyManager at 0x55ed831e1a60)>

Comment 1 Kaj Forney 2018-07-09 23:02:31 UTC
Created attachment 1457613 [details]
File: backtrace

Comment 2 Kaj Forney 2018-07-09 23:02:32 UTC
Created attachment 1457614 [details]
File: cgroup

Comment 3 Kaj Forney 2018-07-09 23:02:33 UTC
Created attachment 1457615 [details]
File: cpuinfo

Comment 4 Kaj Forney 2018-07-09 23:02:33 UTC
Created attachment 1457616 [details]
File: environ

Comment 5 Kaj Forney 2018-07-09 23:02:34 UTC
Created attachment 1457617 [details]
File: mountinfo

Comment 6 Kaj Forney 2018-07-09 23:02:35 UTC
Created attachment 1457618 [details]
File: namespaces

Comment 7 Kaj Forney 2018-07-09 23:02:36 UTC
Created attachment 1457619 [details]
File: open_fds

Comment 8 Igor Raits 2018-08-02 15:33:48 UTC
Please test with latest updates and reopen if still reproducible.


Note You need to log in before you can comment on or make changes to this bug.