MeanEYE / Sunflower

Small and highly customizable twin-panel file manager for Linux with support for plugins.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing image error when starting Sunflower

joshas opened this issue · comments

Cloned latest version from repository and tried starting Sunflower with following command from terminal:
python -m sunflower
It fails complaining about missing image:

  File "/home/user/projects/Sunflower/sunflower/__main__.py", line 163, in do_activate
    self.window = MainWindow(
  File "/home/user/projects/Sunflower/sunflower/gui/main_window.py", line 115, in __init__
    self.icon_manager.set_window_icon(self)
  File "/home/user/projects/Sunflower/sunflower/icons.py", line 136, in set_window_icon
    window.set_icon_from_file(os.path.join(base_path, 'images', 'sunflower.svg'))
gi.repository.GLib.Error: g-file-error-quark: Failed to open file “/home/user/projects/Sunflower/sunflower/images/sunflower.svg”: No such file or directory (4)

All images are actually located in main directory, not "sunflower" subdirectory.

Thank you for reporting this one. I somehow missed it because I have my own package installed which is the first place where program looks for icon. I'll fix it.

Anyway, I went on and fixed it. Please retest.

Now Sunflower starts without errors, thank you.

Good to hear that. Handling shared paths is not as simple as it sounds. Each distribution has its own quirks.