Package Details: sunflower 0.5.63-1

Git Clone URL: https://aur.archlinux.org/sunflower.git (read-only, click to copy)
Package Base: sunflower
Description: Small and highly customizable twin-panel file manager for Linux with support for plugins
Upstream URL: https://sunflower-fm.org
Licenses: GPL3
Submitter: None
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 112
Popularity: 0.000000
First Submitted: 2011-05-25 09:32 (UTC)
Last Updated: 2022-03-02 21:24 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 10 Next › Last »

Huitzilopochtli commented on 2021-03-11 16:54 (UTC)

please add python-cairo package to the dependencies packages.

MeanEYE commented on 2021-01-07 10:15 (UTC)

Does this fix the issue? Or should I change something in source code.

FabioLolix commented on 2021-01-07 08:48 (UTC)

Thanks again for reporting. To note that it wasn't failing to start for me.

Dylan14 commented on 2021-01-07 06:14 (UTC)

Line 32 of the pkgbuild should be

install -Dm644 images/sunflower.svg "${pkgdir}"/usr/lib/python${_pyver}/site-packages/images/sunflower.svg

With the provided file, the svg file can't be found by the sunflower program.

FabioLolix commented on 2021-01-06 17:35 (UTC)

I have fixed the pkgbuild copying a _pyver function from another pkgbuild

MeanEYE commented on 2021-01-06 16:32 (UTC)

Good catch. I have exactly the same issue with RPM packaging where if I target path specifically for newer Python versions I'd be making the package incompatible with distributions with older versions and vice versa.

alan1world commented on 2021-01-06 14:24 (UTC) (edited on 2021-01-06 14:26 (UTC) by alan1world)

I've found the problem - the PKGBUILD contains the line:

install -Dm644 images/sunflower.svg "${pkgdir}"/usr/lib/python3.8/site-packages/images/sunflower.svg

At this point, Arch is on python3.9, not python3.8.

Ideally the install script should check what version of python is being used for the correct directory but not sure if it can do that.

MeanEYE commented on 2021-01-06 14:08 (UTC)

It's possible this issue is due to Python's setup not copying the file correctly or at all. Could you try cloning latest version from repository and doing python3 setup.py build which is what pkgbuild is doing.

alan1world commented on 2021-01-06 13:50 (UTC) (edited on 2021-01-06 14:12 (UTC) by alan1world)

I get an error message:

gi.repository.GLib.Error: g-file-error-quark: Failed to open file “/usr/lib/python3.9/site-packages/images/sunflower.svg”: No such file or directory (4)

Looking further into it:

File "/usr/lib/python3.9/site-packages/sunflower/icons.py", line 136, in set_window_icon
window.set_icon_from_file(os.path.join(base_path, 'images', 'sunflower.svg'))

The resource location should not be pointing to /usr/lib/python3.9/site-packages/images/ because that is above the sunflower package directory.

There is no folder called 'images' in the package directory.

MeanEYE commented on 2020-10-16 12:13 (UTC)

I just had a user come to IRC channel and state the following:

package form aur by yay and vte3 in one of dependency of it using arch on awesomewm whenever i start the sunflower it showing this error <Error: Unable to load plugin "file_list": No module named 'cairo'> though i have cairo installed so pls help me. it running ok before but suddenly it broke

Sadly I missed the person so this is as much information as I could give you.