Bug 906520

Summary: [abrt] pitivi-0.15.2-2.fc18: stream.py:345:get_stream_for_caps:AttributeError: 'NoneType' object has no attribute 'to_string'
Product: [Fedora] Fedora Reporter: Eric Modo <mdceric2003>
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: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:f929400c015322db7c6cb720b1a5c5604611a08a
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-28 17:32:23 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 Eric Modo 2013-01-31 18:59:37 UTC
Description of problem:
cd

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.7.4-204.fc18.x86_64
uid:            1000

Truncated backtrace:
stream.py:345:get_stream_for_caps:AttributeError: 'NoneType' object has no attribute 'to_string'

Traceback (most recent call last):
  File "/usr/share/pitivi/python/pitivi/ui/encodingdialog.py", line 692, in _renderButtonClickedCb
    self.startAction()
  File "/usr/share/pitivi/python/pitivi/actioner.py", line 151, in startAction
    self.addAction()
  File "/usr/share/pitivi/python/pitivi/actioner.py", line 102, in addAction
    self.action = self._createAction(sources)
  File "/usr/share/pitivi/python/pitivi/actioner.py", line 230, in _createAction
    self.have_video, self.have_audio)
  File "/usr/share/pitivi/python/pitivi/settings.py", line 605, in export_settings_to_render_settings
    astream = get_stream_for_caps(export.getAudioCaps())
  File "/usr/share/pitivi/python/pitivi/stream.py", line 345, in get_stream_for_caps
    log.debug("stream", "caps:%s, pad:%r" % (caps.to_string(), pad))
AttributeError: 'NoneType' object has no attribute 'to_string'

Local variables in innermost frame:
pad: None
caps: None

Potential duplicate: bug 815090

Comment 1 Eric Modo 2013-01-31 18:59:43 UTC
Created attachment 691156 [details]
File: backtrace

Comment 2 Eric Modo 2013-01-31 18:59:47 UTC
Created attachment 691157 [details]
File: core_backtrace

Comment 3 Eric Modo 2013-01-31 18:59:50 UTC
Created attachment 691158 [details]
File: environ

Comment 4 Fedora End Of Life 2013-12-21 11:02:52 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:23 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!