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 576577 - removing clips does not work with multiple tracks
removing clips does not work with multiple tracks
Status: RESOLVED FIXED
Product: pitivi
Classification: Other
Component: User interface
Git
Other Linux
: Normal normal
: 0.13.1
Assigned To: Alessandro Decina
Pitivi maintainers
Depends on:
Blocks:
 
 
Reported: 2009-03-24 15:13 UTC by j^
Modified: 2009-03-25 15:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description j^ 2009-03-24 15:13:47 UTC
1) Add clip to timeline
2) add second clip to timeline
3) move second clip to not start at 0 and move down so its on an extra track
4) select both clips (ctrl-click)
5) remove clips(del)
6) first clip gets removed, second one gets video removed half,
   preview gone, but outline stays, audio stays
7) terminal spits errors:
Traceback (most recent call last):
  • File "pitivi/ui/timeline.py", line 330 in deleteSelected
    self.timeline.deleteSelection()
  • File "pitivi/timeline/timeline.py", line 665 in deleteSelection
    self.removeTimelineObject(timeline_object, deep=True)
  • File "pitivi/timeline/timeline.py", line 516 in removeTimelineObject
    track.removeTrackObject(track_object)
  • File "pitivi/timeline/track.py", line 424 in removeTrackObject
    self._updateMaxPriority()
  • File "pitivi/timeline/track.py", line 441 in _updateMaxPriority
    self.emit('max-priority-changed', self._max_priority)
  • File "pitivi/signalinterface.py", line 145 in emit
    *args, **kwargs)
  • File "pitivi/signalinterface.py", line 119 in emit
    res = cb(*ar, **kw)
TypeError: _maxPriorityChanged() takes exactly 2 arguments (3 given)
Traceback (most recent call last):
  File "pitivi/ui/preview.py", line 90, in do_simple_update
    Zoomable.nsToPixel(self.element.duration), self.height)
  File "pitivi/timeline/track.py", line 113, in _getDuration
    return self.gnl_object.props.duration
AttributeError: 'NoneType' object has no attribute 'props'
Traceback (most recent call last):
  File "pitivi/ui/preview.py", line 95, in do_simple_paint
    self.element, self.bounds.y1)
  File "pitivi/ui/previewer.py", line 193, in render_cairo
    sof = Zoomable.nsToPixel(element.start - element.in_point)
  File "pitivi/timeline/track.py", line 96, in _getStart
    return self.gnl_object.props.start
AttributeError: 'NoneType' object has no attribute 'props'
Traceback (most recent call last):
  File "pitivi/ui/preview.py", line 95, in do_simple_paint
    self.element, self.bounds.y1)
  File "pitivi/ui/previewer.py", line 193, in render_cairo
    sof = Zoomable.nsToPixel(element.start - element.in_point)
  File "pitivi/timeline/track.py", line 96, in _getStart
    return self.gnl_object.props.start
AttributeError: 'NoneType' object has no attribute 'props'
Traceback (most recent call last):
  File "pitivi/ui/preview.py", line 95, in do_simple_paint
    self.element, self.bounds.y1)
  File "pitivi/ui/previewer.py", line 193, in render_cairo
    sof = Zoomable.nsToPixel(element.start - element.in_point)
  File "pitivi/timeline/track.py", line 96, in _getStart
    return self.gnl_object.props.start
AttributeError: 'NoneType' object has no attribute 'props'
Comment 1 Alessandro Decina 2009-03-25 15:38:39 UTC
commit 39025093f89a631626f51073d043073041300446
Author: Alessandro Decina <alessandro.decina@collabora.co.uk>
Date:   Wed Mar 25 16:33:09 2009 +0100

    Fix a traceback removing clips. Fixes #576577.