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 735529 - Pitivi doesn't start due to the project framerate being None on Fedora 21
Pitivi doesn't start due to the project framerate being None on Fedora 21
Status: RESOLVED FIXED
Product: pitivi
Classification: Other
Component: Build and packaging
0.93
Other Linux
: Normal blocker
: 0.94
Assigned To: Pitivi maintainers
Pitivi maintainers
Depends on: 736896
Blocks:
 
 
Reported: 2014-08-27 15:44 UTC by Jean-François Fortin Tam
Modified: 2014-10-04 09:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-François Fortin Tam 2014-08-27 15:44:21 UTC
Elad mentioned this occurring on F21 on startup:

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'

Comment 1 Jean-François Fortin Tam 2014-08-27 15:45:35 UTC
And I doubt it's a Pitivi issue, probably something messed up either in the packaging or in the stack below (GstPython? GES?)
Comment 2 Lubosz Sarnecki 2014-09-24 15:36:07 UTC
*** Bug 736896 has been marked as a duplicate of this bug. ***
Comment 3 Lubosz Sarnecki 2014-09-25 12:37:42 UTC
This has been fixed in 

https://git.gnome.org/browse/pitivi/commit/?id=9e39466d93e6693edbb25fcf917a8e29d84712f3