Bug 927220

Summary: [abrt] pitivi-0.15.2-2.fc18: preset.py:209:restorePreset:KeyError: 'No preset'
Product: [Fedora] Fedora Reporter: joachim.berthoud
Component: pitiviAssignee: Gwyn Ciesla <gwync>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: gwync, hicham.haouari, otte
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:2237106a74cb1cfbbe35f328528a778745548056
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-28 17:32:21 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: core_backtrace
none
File: environ none

Description joachim.berthoud 2013-03-25 12:28:30 UTC
Description of problem:
Lors de la lecture d'une vidéo dans le logiciel Pitivi.

Version-Release number of selected component:
pitivi-0.15.2-2.fc18

Additional info:
cmdline:        python /usr/bin/pitivi
executable:     /usr/bin/pitivi
kernel:         3.8.3-203.fc18.i686
uid:            1000

Truncated backtrace:
preset.py:209:restorePreset:KeyError: 'No preset'

Traceback (most recent call last):
  File "/usr/share/pitivi/python/pitivi/ui/encodingdialog.py", line 436, in _addRenderPresetButtonClickedCb
    self.render_presets.restorePreset(preset_name)
  File "/usr/share/pitivi/python/pitivi/ui/preset.py", line 209, in restorePreset
    setter(self.presets['No preset'][field])
KeyError: 'No preset'

Local variables in innermost frame:
self: <pitivi.ui.preset.RenderPresetManager object at 0xb43f82c>
field: 'height'
getter: <function <lambda> at 0xb448304>
values: {'channels': 2, 'width': 0, 'depth': 16, 'container': 'oggmux', 'vcodec': 'schroenc', 'height': 0, 'frame-rate': <gst.Fraction 25/1>, 'sample-rate': 44100, 'acodec': 'flacenc'}
preset: 'Nouveau pr\xc3\xa9-r\xc3\xa9glage'
setter: <function <lambda> at 0xb4482cc>

Potential duplicate: bug 787488

Comment 1 joachim.berthoud 2013-03-25 12:28:34 UTC
Created attachment 715969 [details]
File: backtrace

Comment 2 joachim.berthoud 2013-03-25 12:28:37 UTC
Created attachment 715970 [details]
File: core_backtrace

Comment 3 joachim.berthoud 2013-03-25 12:28:40 UTC
Created attachment 715971 [details]
File: environ

Comment 4 Fedora End Of Life 2013-12-21 12:27:49 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. 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 WONTFIX if it remains open with a Fedora 
'version' of '18'.

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 prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 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 to Fedora 18's end of life.

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 Jean-François Fortin Tam 2014-01-28 17:32:21 UTC
Hi there,

As an upstream maintainer, I expect this issue to be fixed in the new Pitivi.
Version 0.92 is now available as an update for Fedora 20
and we would like to encourage you to test it.

If you can reproduce this bug against 0.92 or newer, please update this
bug report accordingly with detailed instructions to reproduce the bug,
sample files/projects in xges format, etc.

Thanks!