Bug 768053 - [abrt] oggconvert-0.3.3-3.fc15: ocv_media_checker.py:48:__init__:TypeError: argument must be a GstElement
Summary: [abrt] oggconvert-0.3.3-3.fc15: ocv_media_checker.py:48:__init__:TypeError: a...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: oggconvert
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:649f4359f0903fd1fd698541690...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-15 16:22 UTC by Lee Dan
Modified: 2011-12-28 17:25 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-28 17:25:15 UTC
Type: ---


Attachments (Terms of Use)
File: smolt_data (3.19 KB, text/plain)
2011-12-15 16:22 UTC, Lee Dan
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.