Lutris broken in 32660

Is anyone having trouble with lutris in 32660? I downgraded to 32580 and it works fine. Upgraded again and it no longer works.

Here is the output from the command line:

$ lutris
2020-03-21 11:47:47,112: Running Lutris 0.5.4
2020-03-21 11:47:47,113: Using Intel
2020-03-21 11:47:47,113: Running Mesa driver 20.1.0 on Mesa Intel(R) UHD Graphics 620 (KBL GT2) (0x5917)
2020-03-21 11:47:47,113: GPU: 8086:5917 1043:1C20 using i915 drivers
2020-03-21 11:47:47,155: Vulkan is supported
2020-03-21 11:47:47,156: Updating DXVK versions
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/lutris/gui/application.py", line 173, in do_activate
    self.window = LutrisWindow(application=self)
  File "/usr/lib/python3.8/site-packages/lutris/gui/lutriswindow.py", line 102, in __init__
    self.game_store = self.get_store()
  File "/usr/lib/python3.8/site-packages/lutris/gui/lutriswindow.py", line 315, in get_store
    game_store = GameStore(
  File "/usr/lib/python3.8/site-packages/lutris/gui/views/store.py", line 133, in __init__
    self.modelsort = Gtk.TreeModelSort.sort_new_with_model(self.modelfilter)
AttributeError: type object 'TreeModelSort' has no attribute 'sort_new_with_model'
2020-03-21 11:47:47,659: Updating D9VK versions

Any ideas?

Lutris didn’t have a release in that time period but Gtk was bumped to a new version:

And it looks like this was a known issue in the lutris repo (and creeped up again):

Following the messages there, it looks like a patch is already merged in their master branch which Clear Linux will pick up as soon as they make the next release.

Thanks for the update. I look forward to the patch.

I just tried manually doing the patch you noted above by editing the file /usr/lib/python3.8/site-packages/lutris/gui/views/store.py:

sudo gedit /usr/lib/python3.8/site-packages/lutris/gui/views/store.py

I navigated to line 133 which contains:

    self.modelsort = Gtk.TreeModelSort.new_with_model(self.modelfilter)

And replaced it with:

    try:
        self.modelsort = Gtk.TreeModelSort.sort_new_with_model(self.modelfilter)
    except AttributeError:
        # Apparently some API breaking changes on GTK minor versions.
        self.modelsort = Gtk.TreeModelSort.new_with_model(self.modelfilter)

Saved the file and lutris works again for now. Hopefully they will release their patched version soon.