Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Crash on sorting

#152
Application Name: dupeGuru Music Edition
Version: 6.0.0

Traceback (most recent call last):
 File "qt\base\results_model.py", line 84, in sort
 File "core\gui\result_table.py", line 111, in sort
 File "core\results.py", line 311, in sort_dupes
 File "core\results.py", line 311, in <lambda>
 File "core_me\data.py", line 93, in GetDupeSortKey
TypeError: unsupported operand type(s) for -=: 'int' and 'str'

With more info from the user:

The problem I had was as follows:

  1. I was looking at the Results dialog.
  2. I changed View to look only at results.
  3. I enabled Delta view.
  4. I sorted by Time.
  5. I selected all the delta time rows where delta time <> 0.
  6. I asked to remove from results all selected items.
  7. The items did NOT get removed from the results (this appears to be the beginning of the bug).
  8. I tried to select one of the results that I had asked to be removed.

When I did step 8, I got the error.

Everything up to #7 Update screenshots is repeatable (i.e., the selected results do not get removed).

A similar issue of lists not refreshing happens with the Add Directory feature. I added the root directory of an external drive. I then changed one of the subfolders on this drive from Normal to Reference. I realized that I had done this backwards, so I tried to change the Root from Reference to Normal. It wouldn't take. I then tried to change some of the other folders, and nothing seemed to respond. So, I removed the folder, and then re-added the same folder, and the Reference/Normal switch had changed.

I couldn't reproduce the issue, but I haven't tried very hard so far.

Reported by Virgil Dupras · March 15th, 2011 @ 11:51 AM

State: hold
Milestone: none
Assigned to: nobody

Activity

  1. Virgil Dupras
    Virgil Dupras

    It looks like this crash is a "second level crash". There's a None value that crept in the results and the line cmp_value(getattr(dupe, COLUMNS[key].attr, '')) would yield '' for these None objects and int for the correct objects. Now, the problem is to find how exactly these None values crept in.

    March 15th, 2011 @ 04:00 PM

  2. Virgil Dupras
    Virgil Dupras
    • State changed from new to hold

    The user can't reproduce the issue now. Putting the ticket on hold.

    March 16th, 2011 @ 09:02 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.