Comment 0 for bug 1529700

Revision history for this message
Florian (flfuchs) wrote :

The goal is to search for duplicate files and then delete all duplicates except the newest version of the file. This could be done by using fslint-gui:

1. Click "Find" in first tab "Duplicates"
2. Click "Select" -> "within groups" -> "Select all but newest" - then all files except the newest ones are selected
3. Click "Delete" - the expectation is that the marked files will be deleted

In Step 2 the following error is printed in the console:

Traceback (most recent call last):
  File "/usr/bin/fslint-gui", line 1580, in on_select_all_but_newest_in_each_group_activate
    self.on_select_all_but_one_in_each_group_activate("newest")
  File "/usr/bin/fslint-gui", line 1616, in on_select_all_but_one_in_each_group_activate
    unselect_row = find_row_to_unselect(clist, row, which)
  File "/usr/bin/fslint-gui", line 1602, in find_row_to_unselect
    while get_selectable(row, row_data) and row < clist.rows:
  File "/usr/bin/fslint-gui", line 421, in get_selectable
    return row_data[row][0] != '#'
IndexError: list index out of range

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: fslint 2.44-2
ProcVersionSignature: Ubuntu 4.3.0-2.11-generic 4.3.0
Uname: Linux 4.3.0-2-generic x86_64
NonfreeKernelModules: nvidia bbswitch
ApportVersion: 2.19.3-0ubuntu2
Architecture: amd64
CurrentDesktop: XFCE
Date: Mon Dec 28 21:19:11 2015
InstallationDate: Installed on 2015-11-23 (35 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151122)
JournalErrors:
 Error: command ['journalctl', '-b', '--priority=warning', '--lines=1000'] failed with exit code 1: Hint: You are currently not seeing messages from other users and the system.
       Users in the 'systemd-journal' group can see all messages. Pass -q to
       turn off this notice.
 No journal files were opened due to insufficient permissions.
PackageArchitecture: all
SourcePackage: fslint
UpgradeStatus: No upgrade log present (probably fresh install)