Nicotine+ crashes on NixOS stable release
thom-cameron opened this issue · comments
Thom 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).