Bug 768053

Summary: [abrt] oggconvert-0.3.3-3.fc15: ocv_media_checker.py:48:__init__:TypeError: argument must be a GstElement
Product: [Fedora] Fedora Reporter: Lee Dan <DNDLinuxer>
Component: oggconvertAssignee: Neal Gompa <ngompa13>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: nathanael, ngompa13, otte
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:649f4359f0903fd1fd698541690480c069450c64
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-28 17:25:15 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: smolt_data none

Description Lee Dan 2011-12-15 16:22:02 UTC
libreport version: 2.0.7
abrt_version:   2.0.6
cmdline:        /usr/bin/python /usr/bin/oggconvert
executable:     /usr/bin/oggconvert
kernel:         3.1.5-1.fc16.x86_64
reason:         ocv_media_checker.py:48:__init__:TypeError: argument must be a GstElement
time:           2011-12-16T00:13:05 CST
uid:            500
username:       simsilver

smolt_data:     Text file, 3263 bytes

backtrace:
:ocv_media_checker.py:48:__init__:TypeError: argument must be a GstElement
:
:Traceback (most recent call last):
:  File "/usr/lib/python2.7/site-packages/OggConvert/ocv_main.py", line 208, in _check_media
:    self.mc = MediaChecker(filename)
:  File "/usr/lib/python2.7/site-packages/OggConvert/ocv_media_checker.py", line 48, in __init__
:    self.pipeline.add(self.src, self.decodebin)
:TypeError: argument must be a GstElement
:
:Local variables in innermost frame:
:path: 'file:///home/simsilver/a02_p01.mp3'
:self: <MediaChecker object at 0xfeaaa0 (OggConvert+ocv_media_checker+MediaChecker at 0x10d7240)>

comment:
:gstreamer can't handle local files. totem, rhythmbox and gst123 all can't work.
:gst123 shows 
:
:Playing file:///home/simsilver/a02_p01.mp3
:Error: No URI handler implemented for "file".                                                                                                        
:=> file cannot be played and will be removed from playlist
:
:when exec gst123 a02_p01.mp3.
:and mplayer works well

Comment 1 Lee Dan 2011-12-15 16:22:04 UTC
Created attachment 547327 [details]
File: smolt_data

Comment 2 Benjamin Otte 2011-12-15 16:44:03 UTC
This is an oggconvert bug and happens when the "decodebin" element is not present. So oggconvert should either depend on gstreamer-plugins-base or upstream oggconvert would need to support automatic plugin installs.

Comment 3 Lee Dan 2011-12-28 17:25:15 UTC
after some try, I found out libgstcoreelements.so handle the URI handler "file" using gst-inspector, and the so file is correctly installed. Then I found .gstreamer-0.10 dirctory under my home folder, every player based gstreamer goes well after I remove this directory.