Created attachment 224788 [details] output Description: Guake fails to start. When I start it i get the output of the attachment image. Seems that the problem is because of the code of the guake port is outdated and don't works with python3.8. On the last guake release on github it's fixed https://github.com/Guake/guake/blob/master/guake/utils.py
This doesn't appear to be (either only, or at all) a 'Python 3.8 support' issue.
See also: https://bugs.gentoo.org/667878 (can
*** Bug 257519 has been marked as a duplicate of this bug. ***
Workaround in bug 257519 comment 0
So I can literally say I had spent over 100 hours (not consecutively obviously) trying to update this port. It has been a real pain. I submitted the bug https://github.com/Guake/guake/issues/1621 which was the major issue on why the port was not updated. Honestly, I gave up. The lead dev admitted he doesn't have time for Guake anymore so it's all but abandoned, at least on halt for now. The last release was February of 2020. After speaking with koobs on IRC, we agreed to try and work on it this weekend to try and find a solution.
(In reply to Xevi from comment #0) The mentioned links points to an entire file. Can you clarify what exactly it was seen/observed regarding "On the last guake release on github it's fixed " that made you believe this specific issue was resolved upstream, and in a release?
Solution: https://www.reddit.com/r/freebsd/comments/ool9e0/cant_start_guake_python_problem/
(In reply to edsonwolf@vivaldi.net from comment #7) This is a solution to a problem, but the bigger problem lies in why the port is not updated as described in my bug report to the project.
I understood
(In reply to edsonwolf@vivaldi.net from comment #9) Sorry it's late and I'm not trying to sound rude. The frustration this gave me when it happened was pretty bad. Let me work with koobs this weekend and I'll see if I can find a solution
Don't be rude, you're upset, I understand you.
(In reply to Kubilay Kocak from comment #1) I said that its related with the python version due the initial error of the stack trace is "platform module has no attribute linux_distribution". The last python version that has suport for "linux_distrubution" was 3.7 https://docs.python.org/3.7/library/platform.html#platform.linux_distribution If you check the last version of the utils file it don't have any references to "linux_distribution" https://github.com/Guake/guake/blob/master/guake/utils.py
This is most likely not the finished product, but I have started a review for the updated port. I only have Python 3.7 on my system, and it's too late for me to go through the whole process of building 3.8 which would require rebuilding a ton of packages on my build server which is an 8th Gen I7 Intel NUC. This runs fine for me on Python 3.7: https://reviews.freebsd.org/D31371 I will attach the diff as well. If you wish to confirm the issue you guys mentioned still exists, let me know. If not I'll try and test more tomorrow (Sunday evening).
Created attachment 226827 [details] x11/guake patch
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=33bbe7bccfcdfb7f5545007ddfafd050263c9996 commit 33bbe7bccfcdfb7f5545007ddfafd050263c9996 Author: Daniel Shafer <daniel@shafer.cc> AuthorDate: 2024-03-23 14:14:58 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2024-03-23 14:17:13 +0000 x11/guake: Update to 3.7.0 PR: 255721 x11/guake/Makefile | 41 ++--- x11/guake/distinfo | 6 +- x11/guake/files/patch-guake_paths.py (gone) | 11 -- x11/guake/files/patch-guake_terminal.py | 4 +- x11/guake/pkg-plist | 258 ++++++++++++++-------------- 5 files changed, 152 insertions(+), 168 deletions(-)
Pushed, thank you!