After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 630470 - Traceback with y4mtrans filter in gst-entrans plugins : AttributeError: 'NoneType' object has no attribute 'pad_id'
Traceback with y4mtrans filter in gst-entrans plugins : AttributeError: 'None...
Status: RESOLVED OBSOLETE
Product: pitivi
Classification: Other
Component: General
Git
Other Linux
: Normal normal
: 0.91
Assigned To: Pitivi maintainers
Pitivi maintainers
Depends on:
Blocks:
 
 
Reported: 2010-09-23 21:03 UTC by Guido
Modified: 2013-10-01 02:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
pitivi log (1.97 KB, application/x-bzip)
2010-09-24 10:44 UTC, Guido
Details
Pitivi debug log for this error (530 bytes, text/bzip2)
2011-07-07 15:33 UTC, hettmerj
Details

Description Guido 2010-09-23 21:03:33 UTC
guido@ubuntu-laptop:~/pitivi/bin$ ./pitivi
Traceback (most recent call last):
  • File "./pitivi", line 138 in <module>
    _run_pitivi()
  • File "./pitivi", line 133 in _run_pitivi
    sys.exit(ptv.main(sys.argv))
  • File "/home/guido/pitivi/pitivi/application.py", line 427 in main
    ptv = InteractivePitivi()
  • File "/home/guido/pitivi/pitivi/application.py", line 247 in __init__
    Pitivi.__init__(self)
  • File "/home/guido/pitivi/pitivi/application.py", line 139 in __init__
    self.effects = EffectsHandler()
  • File "/home/guido/pitivi/pitivi/effects.py", line 121 in __init__
    self._setAllEffects()
  • File "/home/guido/pitivi/pitivi/effects.py", line 138 in _setAllEffects
    added = self.addStreams(element_factory, effect)
  • File "/home/guido/pitivi/pitivi/effects.py", line 186 in addStreams
    stream = get_stream_for_pad(pad)
  • File "/home/guido/pitivi/pitivi/stream.py", line 354 in get_stream_for_pad
    stream.pad_id = pad_id
AttributeError: 'NoneType' object has no attribute '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.
Comment 1 Edward Hervey 2010-09-24 07:29:47 UTC
Can you provide the following log:

GST_DEBUG=2,*ERR*:5 PITIVI_DEBUG=5 bin/pitivi > log 2>&1
bzip2 log
Comment 2 Guido 2010-09-24 10:44:34 UTC
Created attachment 171018 [details]
pitivi log
Comment 3 Edward Hervey 2010-09-24 12:01:30 UTC
Seems to be due to the y4mtrans plugin. Could you put the output of "gst-inspect-0.10 y4mtrans" here ?
Comment 4 Guido 2010-09-24 12:19:46 UTC
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:~$
Comment 5 Guido 2010-09-24 12:22:52 UTC
yes, I removed gst-entrans and now pitivi starts.
Comment 6 Edward Hervey 2010-09-24 12:36:31 UTC
Leaving the bug open so we can figure out what went wrong and avoid this issue.
Comment 7 Gadi Cohen 2011-06-24 16:25:21 UTC
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.
Comment 8 hettmerj 2011-07-06 16:54:31 UTC
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?
Comment 9 Jeff Schroeder 2011-07-07 14:15:13 UTC
Can you capture a log like in comment 1 and post it?
Comment 10 hettmerj 2011-07-07 15:33:48 UTC
Created attachment 191471 [details]
Pitivi debug log for this error

As per your request.
Comment 11 Jean-François Fortin Tam 2013-10-01 02:39:45 UTC
Hi there, I'm pretty sure this is obsolete/fixed by now with the new version based on GES...