Bug 766951

Summary: [abrt] pitivi-0.14.0-2.fc14: stream.py:335:get_stream_for_caps:AttributeError: 'NoneType' object has no attribute 'to_string'
Product: [Fedora] Fedora Reporter: Pavel <100megabit>
Component: pitiviAssignee: Gwyn Ciesla <gwync>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: gwync, hicham.haouari, otte
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:8ca0a14f
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-02 14:45:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace none

Description Pavel 2011-12-12 20:45:31 UTC
abrt version: 1.1.18
architecture: x86_64
cmdline: python /usr/bin/pitivi
component: pitivi
executable: /usr/bin/pitivi
kernel: 2.6.35.14-106.fc14.x86_64
package: pitivi-0.14.0-2.fc14
reason: stream.py:335:get_stream_for_caps:AttributeError: 'NoneType' object has no attribute 'to_string'
release: Fedora release 14 (Laughlin)
time: 1323722719
uid: 500

backtrace
-----
stream.py:335: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 293, in _renderButtonClickedCb
    self.startAction()
  File "/usr/share/pitivi/python/pitivi/actioner.py", line 146, in startAction
    self.addAction()
  File "/usr/share/pitivi/python/pitivi/actioner.py", line 97, in addAction
    self.action = self._createAction(sources)
  File "/usr/share/pitivi/python/pitivi/actioner.py", line 221, in _createAction
    self.have_video, self.have_audio)
  File "/usr/share/pitivi/python/pitivi/settings.py", line 644, in export_settings_to_render_settings
    vstream = get_stream_for_caps(export.getVideoCaps(render=True))
  File "/usr/share/pitivi/python/pitivi/stream.py", line 335, 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

How to reproduce
-----
1.convert
2.
3.

Comment 1 Pavel 2011-12-12 20:45:34 UTC
Created attachment 545927 [details]
File: backtrace

Comment 2 Pavel 2011-12-12 20:54:00 UTC
Package: pitivi-0.14.0-2.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1.export
2.
3.

Comment 3 Pavel 2011-12-12 21:18:32 UTC
Package: pitivi-0.14.0-2.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1.264enc
2.
3.

Comment 4 Gwyn Ciesla 2012-02-02 14:45:16 UTC
Fedora 14 is End-of-Life, please reopen against a current release if this bug is still occurring.  Thank you!