GNOME Bugzilla – Bug 582351
removing a clip from the project does not remove it from the timeline
Last modified: 2009-08-19 13:09:26 UTC
As the title says. What I noticed is that this also breaks things like saving the project, hence the "major" severity.
Branch bug_582351 is a fix for this
commit b059aec515f9e48148db7ffd1848aac2a067274a Author: Brandon Lewis <brandon_lewis@berkeley.edu> Date: Sun Jul 12 21:55:09 2009 -0700 project.py: call removeFactory() from _sourceRemovedCb fixes 582351
Works partially, it breaks saving and loading the saved project: jeff@kusanagi:~/trunks/pitivi/pitivi$ bin/pitivi AttributeError: 'module' object has no attribute 'Element' Traceback (most recent call last):
+ Trace 216419
self.addUris(filenames)
self.app.current.sources.addUris(files)
self.addUri(uri)
raise SourceListError("URI already present in the source list", uri)
jeff@kusanagi:~/trunks/pitivi/pitivi$ bin/pitivi AttributeError: 'module' object has no attribute 'Element' Traceback (most recent call last): File "pitivi/ui/mainwindow.py", line 527, in _openProjectCb self.app.projectManager.loadProject(uri) File "pitivi/projectmanager.py", line 72, in loadProject formatter.loadProject(uri) File "pitivi/formatters/base.py", line 93, in loadProject self._loadProjectUnchecked(location) File "pitivi/formatters/base.py", line 129, in _loadProjectUnchecked self._loadProject(location, project) File "pitivi/formatters/etree.py", line 622, in _loadProject source = sources[0] IndexError: list index out of range
I definitely tested for this. What sequence of actions did you take to get this error?
1- started pitivi 2- imported a video file into the source list 3- placed the clip in the timeline 4- used project > remove from project (or whatever it's called) 5- saved the project as ~/Untitled.xptv 6- restarted pitivi 7- loaded Untitled.xptv This is on git master.
can't reproduce. seems to work properly here.
This bug only happens if you remove the clip by using the toplevel menus, not the right-click menu in the source list.
it works here, even with the toplevel menu item
I don't know what to do about this. Ideas?
Tried again today, can't reproduce anymore either. Oh well :)