Bug 1136327

Summary: [abrt] pitivi: ruler.py:244:setProjectFrameRate:TypeError: unsupported operand type(s) for /: 'int' and 'NoneType'
Product: [Fedora] Fedora Reporter: Carlos Morel-Riquelme <morel.riquelme>
Component: pitiviAssignee: Gwyn Ciesla <gwync>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: a.j.delaney, eagleton, elad, gwync, hicham.haouari, nekohayo, otte, paulojmlopes, rorgoroth, samtygier
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/5da27d7705ddcab85037406115a379a1b40bcd27
Whiteboard: abrt_hash:9e19a10d8ecdafd07a571355d8eb712c97e78a6b
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-02 03:40:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Carlos Morel-Riquelme 2014-09-02 11:03:34 UTC
Description of problem:
pitivi don't start, if i run in terminal this is part of output
Missing soft dependency:
- libav not found on the system
    -> additional multimedia codecs through the Libav library

but i have installed libva
[root@localhost n0oir]# yum -y install libva
Loaded plugins: langpacks, remove-with-leaves
Package libva-1.3.1-4.fc21.x86_64 already installed and latest version
Nothing to do
[root@localhost n0oir]# 


regards

Version-Release number of selected component:
pitivi-0.93-7.fc21

Additional info:
reporter:       libreport-2.2.3
cmdline:        python2 /usr/bin/pitivi
executable:     /usr/bin/pitivi
kernel:         3.16.1-300.fc21.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
ruler.py:244:setProjectFrameRate:TypeError: unsupported operand type(s) for /: 'int' and 'NoneType'

Traceback (most recent call last):
  File "/usr/bin/pitivi", line 137, in <module>
    _run_pitivi()
  File "/usr/bin/pitivi", line 124, in _run_pitivi
    sys.exit(ptv.main(sys.argv))
  File "/usr/share/pitivi/python/pitivi/application.py", line 416, in main
    ptv = StartupWizardGuiPitivi(debug=options.debug)
  File "/usr/share/pitivi/python/pitivi/application.py", line 362, in __init__
    self.projectManager.newBlankProject(emission=False)
  File "/usr/share/pitivi/python/pitivi/project.py", line 429, in newBlankProject
    self.emit("new-project-loaded", self.current_project, emission)
  File "/usr/share/pitivi/python/pitivi/utils/signal.py", line 212, in emit
    *args, **kwargs)
  File "/usr/share/pitivi/python/pitivi/utils/signal.py", line 187, in emit
    res = cb(*ar, **kw)
  File "/usr/share/pitivi/python/pitivi/timeline/timeline.py", line 1391, in _projectChangedCb
    self.ruler.setProjectFrameRate(self._project.videorate)
  File "/usr/share/pitivi/python/pitivi/timeline/ruler.py", line 244, in setProjectFrameRate
    self.ns_per_frame = float(1 / self.frame_rate) * Gst.SECOND
TypeError: unsupported operand type(s) for /: 'int' and 'NoneType'

Local variables in innermost frame:
rate: None
self: <ScaleRuler object at 0x7f8bb8083af0 (pitivi+timeline+ruler+ScaleRuler at 0x212a280)>

Comment 1 Carlos Morel-Riquelme 2014-09-02 11:03:37 UTC
Created attachment 933709 [details]
File: backtrace

Comment 2 Carlos Morel-Riquelme 2014-09-02 11:03:38 UTC
Created attachment 933710 [details]
File: environ

Comment 3 Jean-François Fortin Tam 2014-10-06 17:13:19 UTC
Reportedly fixed upstream for the next release (0.94):
https://bugzilla.gnome.org/show_bug.cgi?id=735529

Comment 4 Fedora End Of Life 2015-11-04 14:50:23 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Fedora End Of Life 2015-12-02 03:41:01 UTC
Fedora 21 changed to end-of-life (EOL) status on 2015-12-01. Fedora 21 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.