New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: '<' not supported between instances of 'int' and 'str' #2713

lazka opened this Issue Jan 12, 2018 · 0 comments


None yet
1 participant

lazka commented Jan 12, 2018

TypeError: '<' not supported between instances of 'int' and 'str'
  File "quodlibet/qltk/", line 1451, in __browser_cb
    self.songlist.set_songs(songs, sorted)
  File "quodlibet/qltk/", line 811, in set_songs
  File "quodlibet/qltk/", line 764, in _sort_songs
    songs.sort(key=sort_func, reverse=reverse)

TypeError: '<' not supported between instances of 'int' and 'str'

@lazka lazka added the sentry label Jan 12, 2018

@lazka lazka added this to the 4.0.1 milestone Jan 12, 2018

@lazka lazka closed this in 222d81c Jan 13, 2018

lazka added a commit that referenced this issue Jan 13, 2018

audiofile: Fix one case of mixing type in the numeric sort function. F…
…ixes #2713

Always pass a default to __call__ so we always get the same type back for sorting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment