nicotine-plus / nicotine-plus

Graphical client for the Soulseek peer-to-peer network

Home Page:https://nicotine-plus.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nicotine+ crashes on NixOS stable release

thom-cameron opened this issue · comments

commented

Nicotine+ version: 3.2.9
Operating System/Distribution: NixOS 23.11

Describe the bug

The following error message is displayed when the program is run:

Nicotine+ Version: 3.2.9
GTK Version: 
Python Version: 3.11.8 (main, Feb  6 2024, 21:21:21) [GCC 12.3.0]

Type: <class 'TypeError'>
Value: constructor returned NULL
Traceback:   File "/nix/store/n3a7xaahdfcawwcl3xnwljgp9q5jy8wv-nicotine-plus-3.2.9/lib/python3.11/site-packages/pynicotine/gtkgui/application.py", line 107, in on_activate
    from pynicotine.gtkgui.frame import NicotineFrame
  File "/nix/store/n3a7xaahdfcawwcl3xnwljgp9q5jy8wv-nicotine-plus-3.2.9/lib/python3.11/site-packages/pynicotine/gtkgui/frame.py", line 36, in <module>
    from pynicotine.gtkgui.chatrooms import ChatRooms
  File "/nix/store/n3a7xaahdfcawwcl3xnwljgp9q5jy8wv-nicotine-plus-3.2.9/lib/python3.11/site-packages/pynicotine/gtkgui/chatrooms.py", line 41, in <module>
    from pynicotine.gtkgui.popovers.roomwall import RoomWall
  File "/nix/store/n3a7xaahdfcawwcl3xnwljgp9q5jy8wv-nicotine-plus-3.2.9/lib/python3.11/site-packages/pynicotine/gtkgui/popovers/roomwall.py", line 23, in <module>
    from pynicotine.gtkgui.widgets.textview import TextView
  File "/nix/store/n3a7xaahdfcawwcl3xnwljgp9q5jy8wv-nicotine-plus-3.2.9/lib/python3.11/site-packages/pynicotine/gtkgui/widgets/textview.py", line 35, in <module>
    class TextView:
  File "/nix/store/n3a7xaahdfcawwcl3xnwljgp9q5jy8wv-nicotine-plus-3.2.9/lib/python3.11/site-packages/pynicotine/gtkgui/widgets/textview.py", line 41, in TextView
    POINTER_CURSOR = Gdk.Cursor.new_from_name(Gdk.Display.get_default(), "pointer")
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Nicotine+ just quits after this.

Expected behavior

Nicotine+ opens.

Steps to reproduce the bug

Install Nicotine+ ("nicotine-plus" package) from the nixpkgs 23.11 stable channel and run it.

Additional context

I'm running wayland with a wl-roots-based compositor (river).

Closing as duplicate of resolved issue #2943 see that thread for workaround solution.