pixelb / fslint

Linux file system lint checker/cleaner
314 stars 74 forks source link

Delete button not working #153

Closed alete89 closed 5 years ago

alete89 commented 5 years ago

OS: Debian 9 with MATE Version: fslint_2.44-2

on "select all but newst" terminal output:

alete@stretch:~$ fslint-gui 
/home/alete
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

but it seems to be working.

Then, when I hit delete, promt asks for confirmation and then terminal outputs:

Traceback (most recent call last):
  File "/usr/bin/fslint-gui", line 1773, in on_delSelected_clicked
    self.find_group_with_all_selected(skip_groups):
  File "/usr/bin/fslint-gui", line 1650, in find_group_with_all_selected
    if group_all_selected(clist, row):
  File "/usr/bin/fslint-gui", line 1641, in group_all_selected
    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

No files are deleted.

pixelb commented 5 years ago

Already fixed in the latest version. Debian packaging is lagging