-
Notifications
You must be signed in to change notification settings - Fork 189
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
ulauncher fails to launch with system upgrade to python 3.12.0 on Void Linux #1282
Comments
Thanks for the update. Python 3.12 removed distutils. We are planning to release Ulauncher v6 to solve this. It's been in the work for years and it was rewritten not to use distutils 2 years ago. I don't know how to build a package for Void Linux, but maybe you can run it from the working branch or build a package from it in the meanwhile? https://github.com/Ulauncher/Ulauncher/blob/v6/CONTRIBUTING.md. |
Thanks,i installed the dependencies and then i tried to run
|
Hi again, I'm back. I wasn't able to get v6.0 install to run, but got some help from the void linux devteam to get 5 running.
Then to launch:
I also placed this in my i3 config:
which allows it to autostart (for whatever reason, the search window automatically opens. i wasn't able to figure out how to autostart without the launcher window opening. but in any case, i'm back to things working again. thanks. feel free to close this if it's out of scope to work on this for v5 with python 3.12.0 |
Finally had some time to dedicate to Ulauncher again. First off, if there's something we can do to make Ulauncher run better for Void Linux we're happy to do that, but we don't have the time to officially support and test for Void, and we all uses systemd. But I think it'd be good to keep this issue open until we can support void without workarounds or have documented the workarounds. I fixed the Also, while we say python-levenshtein is required, it's actually not any more in v6, but the native python library we fallback on is much slower if you try to search through a lot of entries. So we still put python-levenshtein in as a dependency. |
@lee2sman Thanks for the workaround to get V5 working on Void. In order to get the search window not to show automatically, I believe the argument is |
Oh yeah, I didn't spot that. It's --no-window in v6 and --hide-window in v5. |
Hi folks, thanks so much for your work on this. I just wanted to confirm that I've pulled your changes and now ulauncher v6 does build and run as well! Thanks so much. I'm running Ulauncher version 6.0.0-beta1 with GTK. I do get a And thanks for the tip on --no-window vs --hide-window. If I try to run v6 outside of the ulauncher directory, ulauncher won't run and throws the error setup.py not found
|
also FYI: v6 throws this warning when I run --version. But I don't expect you to have to debug Void-specific things.
|
Yeah, that's because you need to either have the ulauncher module installed for your system python version, or your working directory needs to be the project root and run in dev mode. The latter systemd warning exists specifically because of #991 (comment). I would think this does still apply to you, so the warning should remain. If you kill Ulauncher, do the apps launched with Ulauncher get killed as well? Does runit have an equivalent to |
Bare with me, I'm not a runit expert. But thankfully runit it is pretty easy and doesn't take much for me to work with it. |
v6 doesn't run with the system python version. And i want ulauncher to run at startup, which can't assume i'm inside the ulauncher project root, so i'm going to be sticking with running v5 then. |
Environment
Void Linux, i3
Bug description
Hi, I'm on Void linux and did our regular package update, which upgraded python3 to 3.12.0. I have the python3-Levenshtein-0.12.0_9 package installed. Unfortunately, now ulauncher fails to load. Suggestions for how I can fix this?
Log output
Communication guidelines
Not an extension issue
Ulauncher v6
The text was updated successfully, but these errors were encountered: