-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't run on Arch #515
Comments
Hi. Thanks for reporting this. It seems Sunflower is having issues finding CSS file we need to modify few things in system theme. It's quite possible Python3 got upgraded so CSS is now located in for example python3.12 or something. Can you check if that directory exists: |
Shure, please:
|
Did you remove Sunflower before listing this directory? |
Yes, here is output with Sunflower installed:
|
Okay thanks. I'll patch this thing and reach out to test the fix. |
@MeanEYE happening here too :( |
@felixsanz also Arch? |
yes. there is no error or log message in my case. i type "sunflower" in a terminal, press enter, and nothing happens. it just hangs |
If it just hangs it might be something else. Is there any CPU usage or something similar? |
I deleted the package already so reinstalled it again and now I can see an error:
It's trying to import |
Same issue it seems. Missing CSS file. Sad thing is this is due to pkgbuild using python setup utils and ending up copying files to wrong location. I'll have to install Arch and see if I can figure this one out. There are far too many issues with setuptools. Thanks for reporting. |
Maybe flatpak package at least for archers while this issue isn't resolved? :) |
I'll have to look into flatpak. Fastest solution would definitely be getting standalone file and just |
The PKGBUILD for Arch on the AUR installs the svg icon into the python site-packages. I'm not sure if this is the intended method for python applications, I don't recall seeing it before, so while this hasn't been updated in awhile I'll explain here since I'm unsure which action is the appropriate one. (For sunflower , sunflower-git and the other package don't have this like, but have other issues; however there seems to be mention of this by someone else.) The related sunflower code is from Because the PKGBUILD installs the sunflower.svg to python site-packages, and script_dir resolves to the python site-packages director, the above check if the svg exists is true and attempts to load the css file from there as well since it returns script_dir instead of the prefix_dir. The images (including the svg) and the css are otherwise installed to /usr/share/sunflower/ as would seem appropriate, by presumably the setup.py script. There's at least two workarounds:
Both representing a possible solution depending on whats intended, either:
That's presuming the check is otherwise fulfilling it's purpose. I also wonder if this might relate to the Void issue, too. I had only connected this issue with Arch because I thought to try to provide a path to open, as attempting to launch it without one would "not do anything," not displaying a GUI and not giving the css load error to terminal either. |
Sunflower doesn't start in archlinux,
Installed package from https://aur.archlinux.org/packages/sunflower
The text was updated successfully, but these errors were encountered: