Skip to content

catfish 4.16.3 gets traceback when using "Show in File Manager"

Downstream bug report: https://bugzilla.redhat.com/show_bug.cgi?id=2009994

Using:

  • xfce4-settings-4.16.2-2.fc35.x86_64
  • catfish-4.16.3-1.fc35.noarch

Step to reprocude:

  • Freshly install Fedora 35 XFCE desktop from https://kojipkgs.fedoraproject.org//packages/Fedora-Xfce-Live/35/20211003.n.0/images/Fedora-Xfce-Live-x86_64-35-20211003.n.0.iso
  • Boot after install, login
  • At this time, check that ~/.config/xfce4/helpers.rc does not exist.
  • Install another terminal editor, like $ sudo dnf install gnome-terminal
  • Launch $ xfce4-mime-settings, choose "Utilities" tab, set "Terminal Emulator" to "GNOME Terminal", for example
  • At this time, check that ~/.config/xfce4/helpers.rc is newly created.
  • Check the above helpers.rc contains "TerminalEmulator=gnome-terminal" only, and FileManager iterm is not listed.
  • Launch $ catfish
  • Search some terminal, and get result
  • Then select one of the result, click right button and choose "Show in File Manager"

Then catfish gets backtrace:

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/catfish/CatfishWindow.py", line 1297, in on_menu_filemanager_activate
    file_manager = self.get_exo_preferred_file_manager().lower()
  File "/usr/lib/python3.10/site-packages/catfish/CatfishWindow.py", line 1215, in get_exo_preferred_file_manager
    if 'custom-FileManager' in apps['FileManager']:
KeyError: 'FileManager'