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

Crash when double clicking download row

jasonthronson99 opened this issue · comments

Nicotine+ Version: 3.3.2
GTK Version: 4.12.5
Python Version: 3.11.8 (linux)

Type: <class 'UnboundLocalError'>
Value: cannot access local variable 'folder_path' where it is not associated with a value
Traceback: File "/usr/lib/python3/dist-packages/pynicotine/gtkgui/widgets/treeview.py", line 661, in on_activate_row
callback(self, self.model.get_iter(path), column.id)
File "/usr/lib/python3/dist-packages/pynicotine/gtkgui/transfers.py", line 950, in on_row_activated
self.on_open_file_manager()
File "/usr/lib/python3/dist-packages/pynicotine/gtkgui/downloads.py", line 190, in on_open_file_manager
open_folder_path(folder_path)
^^^^^^^^^^^

commented

How to reproduce:

  1. Select a download
  2. Hold down Ctrl key
  3. Double-click the download