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 609426 - traceback when importing an MPEG2-TS file (.mts, .m2ts)
traceback when importing an MPEG2-TS file (.mts, .m2ts)
Status: RESOLVED FIXED
Product: pitivi
Classification: Other
Component: Media library
Git
Other Linux
: Normal critical
: 0.13.4
Assigned To: Pitivi maintainers
Pitivi maintainers
Depends on:
Blocks:
 
 
Reported: 2010-02-09 14:21 UTC by Jean-François Fortin Tam
Modified: 2010-02-09 15:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-François Fortin Tam 2010-02-09 14:21:57 UTC
Tested with .mts files from a Sony HDR-XR200 camcorder. In pitivi git, simply importing the file in a blank project causes the following traceback:

Traceback (most recent call last):
  • File "pitivi/discoverer.py", line 532 in _capsNotifyCb
    stream = self._addStreamFromPad(ghost)
  • File "pitivi/discoverer.py", line 570 in _addStreamFromPad
    stream = get_stream_for_pad(pad)
  • File "pitivi/stream.py", line 343 in get_stream_for_pad
    stream.pad_id = pad_id
AttributeError: 'NoneType' object has no attribute 'pad_id'

Comment 1 Jean-François Fortin Tam 2010-02-09 14:24:16 UTC
Ah, forgot to mention this originated in https://bugs.launchpad.net/ubuntu/+source/pitivi/+bug/505509

A sample file is available here: http://jeff.ecchi.ca/public/pitivi-609426-sample.MTS
Comment 2 Edward Hervey 2010-02-09 15:49:44 UTC
That file contained a subpicture stream. Moved it to be handled as a TextStream for the time being.


commit 2a6eb078dde64908ead171f1938d916f7ac3c6aa
Author: Edward Hervey <bilboed@bilboed.com>
Date:   Tue Feb 9 16:48:14 2010 +0100

    stream: Detect subpicture/* as TextStream(s)
    
    Fixes #609426