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 582351 - removing a clip from the project does not remove it from the timeline
removing a clip from the project does not remove it from the timeline
Status: RESOLVED OBSOLETE
Product: pitivi
Classification: Other
Component: User interface
Git
Other Linux
: Normal major
: Git
Assigned To: Pitivi maintainers
Pitivi maintainers
Depends on:
Blocks:
 
 
Reported: 2009-05-12 15:18 UTC by Jean-François Fortin Tam
Modified: 2009-08-19 13:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-François Fortin Tam 2009-05-12 15:18:02 UTC
As the title says. What I noticed is that this also breaks things like saving the project, hence the "major" severity.
Comment 1 Brandon Lewis 2009-07-13 05:08:25 UTC
Branch bug_582351 is a fix for this
Comment 2 Brandon Lewis 2009-07-13 21:25:59 UTC
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
Comment 3 Jean-François Fortin Tam 2009-07-14 01:26:38 UTC
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):
  • File "pitivi/ui/sourcelist.py", line 705 in _dndDataReceivedCb
    self.addUris(filenames)
  • File "pitivi/ui/sourcelist.py", line 433 in addUris
    self.app.current.sources.addUris(files)
  • File "pitivi/sourcelist.py", line 99 in addUris
    self.addUri(uri)
  • File "pitivi/sourcelist.py", line 85 in addUri
    raise SourceListError("URI already present in the source list", uri)
pitivi.sourcelist.SourceListError: ('URI already present in the source list', 'file:///home/jeff/Vid\xc3\xa9os/montage/380 bellevue \xc3\xa0 vendre/bellevue 2.mov')
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
Comment 4 Brandon Lewis 2009-07-14 03:34:01 UTC
I definitely tested for this. What sequence of actions did you take to get this error?
Comment 5 Jean-François Fortin Tam 2009-07-14 13:36:44 UTC
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.
Comment 6 Brandon Lewis 2009-08-04 01:02:19 UTC
can't reproduce. seems to work properly here. 
Comment 7 Jean-François Fortin Tam 2009-08-04 22:33:52 UTC
This bug only happens if you remove the clip by using the toplevel menus, not the right-click menu in the source list.
Comment 8 Alessandro Decina 2009-08-05 12:02:14 UTC
it works here, even with the toplevel menu item
Comment 9 Alessandro Decina 2009-08-18 10:35:32 UTC
I don't know what to do about this. Ideas?
Comment 10 Jean-François Fortin Tam 2009-08-19 13:09:26 UTC
Tried again today, can't reproduce anymore either. Oh well :)