Removing all entries in the library manager still leaves music in the library (can't empty it!)

Bug #191259 reported by Marc Poulhiès
2
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Undecided
Unassigned

Bug Description

When removing all items from the library manager does not empty the library (I still have items in my collection).

Please also find attached a trivial patch that removes the following Traceback when 'Remove' is clicked when the list of directories is empty.

Traceback (most recent call last):
  File "/usr/lib/exaile/xl/gui/library.py", line 100, in on_remove
    index = self.list.rows.index(item)
ValueError: list.index(x): x not in list

Revision history for this message
Marc Poulhiès (marc-poulhies) wrote :
Revision history for this message
Marc Poulhiès (marc-poulhies) wrote :

(this traceback can also be raised when nothing is selected in the list and 'remove' is clicked)

Revision history for this message
reacocard (reacocard) wrote :

needs info: is bug still present in trunk?

Changed in exaile:
status: New → Incomplete
Revision history for this message
Ben Beasley (ben-musicinmybrain) wrote :

If I try this with the latest bzr version, I get no traceback in the console and the Scanning Collection... progress bar appears, but it never makes any progress and the collection is not emptied.

Actually, if I remove a location from the collection manager, its contents don't seem to disappear from my collection even if there is another location remaining in the collection manager, although the (very fast) rescan does complete successfully.

Revision history for this message
reacocard (reacocard) wrote :

should be fixed in trunk as of r1770.

Changed in exaile:
milestone: none → 0.3.0
status: Incomplete → Fix Committed
reacocard (reacocard)
Changed in exaile:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.