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 636763 - Getting backtrace removing an effect from a clip
Getting backtrace removing an effect from a clip
Status: RESOLVED FIXED
Product: pitivi
Classification: Other
Component: Effects
Git
Other Linux
: Normal normal
: 0.14
Assigned To: Thibault Saunier
Pitivi maintainers
Depends on:
Blocks:
 
 
Reported: 2010-12-08 11:28 UTC by Thibault Saunier
Modified: 2010-12-10 17:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Move the call to _cleanCach in EffectProperties so this doesn't happen anymore (955 bytes, patch)
2010-12-08 13:05 UTC, Thibault Saunier
none Details | Review

Description Thibault Saunier 2010-12-08 11:28:55 UTC
I am getting this backtrace when removing an effect from a clip:

Traceback (most recent call last):
  • File "pitivi/ui/clipproperties.py", line 273 in _removeEffectClicked
    self._removeEffect(effect)
  • File "pitivi/ui/clipproperties.py", line 280 in _removeEffect
    self._cleanCache(effect)
  • File "pitivi/ui/clipproperties.py", line 283 in _cleanCache
    element = effect.getElement()
  • File "pitivi/timeline/track.py", line 766 in getElement
    effect_bin = list(self.gnl_object.elements())[0]
IndexError: list index out of range

Comment 1 Thibault Saunier 2010-12-08 13:05:28 UTC
Created attachment 176059 [details] [review]
Move the call to _cleanCach in EffectProperties so this doesn't happen anymore
Comment 2 Thibault Saunier 2010-12-10 17:29:56 UTC
commit 2a84e92d8051c7cbb28b3f5abd3d805192102e2b
Author: Thibault Saunier <thibault.saunier@collabora.co.uk>
Date:   Wed Dec 8 14:01:56 2010 +0100 
clipproperties: fixe removing effect from clip BT #636763