GNOME Bugzilla – Bug 630470
Traceback with y4mtrans filter in gst-entrans plugins : AttributeError: 'NoneType' object has no attribute 'pad_id'
Last modified: 2013-10-01 02:39:45 UTC
guido@ubuntu-laptop:~/pitivi/bin$ ./pitivi Traceback (most recent call last):
+ Trace 223869
_run_pitivi()
sys.exit(ptv.main(sys.argv))
ptv = InteractivePitivi()
Pitivi.__init__(self)
self.effects = EffectsHandler()
self._setAllEffects()
added = self.addStreams(element_factory, effect)
stream = get_stream_for_pad(pad)
stream.pad_id = pad_id
I reveive ths error on my one of my pc, but pitivi works fine on the other pc. The major difference is that the first has a nvidia card. I purged gst-fluendo-mp3 and other incompatible codecs.
Can you provide the following log: GST_DEBUG=2,*ERR*:5 PITIVI_DEBUG=5 bin/pitivi > log 2>&1 bzip2 log
Created attachment 171018 [details] pitivi log
Seems to be due to the y4mtrans plugin. Could you put the output of "gst-inspect-0.10 y4mtrans" here ?
guido@ubuntu-laptop:~$ gst-inspect-0.10 y4mtrans Factory Details: Long name: y4m runtime wrapper Class: Filter/Effect/Video Description: yuv/y4m mjpegtools runtime wrapper Author(s): Mark Nauwelaerts <mnauw@users.sourceforge.net> Rank: none (0) Plugin Details: Name: y4m Description: YUV4MPEG and mjpegtools related elements Filename: /usr/lib/gstreamer-0.10/libgstyuv4mpeg.so Version: 0.10.2 License: LGPL Source module: gst-entrans Binary package: gst-entrans Origin URL: GObject +----GstObject +----GstElement +----GstProcTrans +----GstY4mTrans Pad Templates: SRC template: 'src' Availability: Always Capabilities: application/x-yuv4mpeg y4mversion: 2 SINK template: 'sink' Availability: Always Capabilities: application/x-yuv4mpeg y4mversion: 2 Element Flags: no flags set Element Implementation: Has change_state() function: gst_y4m_trans_change_state Has custom save_thyself() function: gst_element_save_thyself Has custom restore_thyself() function: gst_element_restore_thyself Element has no clocking capabilities. Element has no indexing capabilities. Element has no URI handling capabilities. Pads: SRC: 'src' Implementation: Has custom eventfunc(): gst_pad_event_default Has custom queryfunc(): gst_pad_query_default Provides query types: Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default Pad Template: 'src' SINK: 'sink' Implementation: Has chainfunc(): gst_proc_trans_chain Has custom eventfunc(): gst_proc_trans_sink_event Has custom queryfunc(): gst_pad_query_default Provides query types: Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default Pad Template: 'sink' Element Properties: name : The name of the object flags: leggibile, scrivibile String. Default: null Current: "y4mtrans0" command : Shell Command into which to send output flags: leggibile, scrivibile String. Default: null Current: null blocksize : Size in bytes to read from process per buffer flags: leggibile, scrivibile Unsigned Integer. Range: 1 - 4294967295 Default: 16384 Current: 16384 args : Command arguments flags: leggibile, scrivibile String. Default: null Current: null guido@ubuntu-laptop:~$
yes, I removed gst-entrans and now pitivi starts.
Leaving the bug open so we can figure out what went wrong and avoid this issue.
Ok weird, in my case, gst-entrans wasn't installed, but /usr/lib/gstreamer-0.10/libgstyuv4mpeg.so did exist. Anyways, I installed gst-entrans, removed gst-entrans, and pitivi is working now :) That's on Ubuntu Natty 11.04.
Just compiled pitivi-0.14.1 on ubuntu 9.10, get same error message. I do not have libgstyuv4mpeg.so or gst-entrans anywhere on my system. Is that my problem?
Can you capture a log like in comment 1 and post it?
Created attachment 191471 [details] Pitivi debug log for this error As per your request.
Hi there, I'm pretty sure this is obsolete/fixed by now with the new version based on GES...