Akm Easter egg

More than an Easter egg is probably a bug, but in akm if you click Help and then Execute a dialog should appear with the text:

yad output is garbage



Hi and welcome to EnOS’ forum!




Welcome to the forum @ungarida :tada::balloon:

Welcome to the forum! :smile:

Thanks for the report!
But I can’t reproduce that issue here… need more info if possible.

1 Like

Here we go with some more infos, but let me know if you need somthing specific

System: Linux mandarin 5.14.8-arch1-1 #1 SMP PREEMPT Sun, 26 Sep 2021 19:36:15 +0000 x86_64 GNU/Linux

akm: endeavouros/akm 2.9-1 (19.2 KiB 17.5 KiB) (Installed)

1: run akm
2: click the Help button
3: click the Execute button
4: a dialog opens with the text “yad output is garbage!”

I noticed it happens also if I click the Changelog button instead of the Execute button at step 2. Both open a URL in the browser.

Thanks for the info!

Since I can’t reproduce that issue here, I’m asking if you can do the following tests.

First, edit file /usr/bin/akm like this:

  • Comment out line 443 by adding # in the beginning like this:
    # rm -f "$cmdfile"
  • Add a new line (just before dying) at line 451:
    printf "Error: yad output is garbage:\n'%s'\n" "$result" >&2
    DIE "yad output is garbage!"

These changes hopefully help out finding the reason.

Now, run akm on the terminal and do the steps you presented earlier. Then show the results here:

  • The terminal output that starts with: Error: yad output is garbage:
  • Check that you have file $HOME/.config/akm.tmp.X (X is a random string).
    If you have many of those files, use the latest.
  • Run command:
    cat $HOME/.config/akm.tmp.X | eos-sendlog
    (change X to that random string!) and show the URL here

Followed the steps and I got it too.



Link after doing your steps: https://clbin.com/vcMJV


Could you also run commands

  ls -l /etc/akm.*
  cat /etc/akm.conf | eos-sendlog

and show the results here?


Link: https://clbin.com/YF74s

About the akm’s Help and Changelog buttons: what web pages do they open on your system?

Can’t reproduce it either.

Yeah, and that leads to thinking that some program settings make the difference for this issue. Just need to find what it is. :sweat_smile:

I instantly got what you are up to. :wink:
Might also be, that it is not directly related to akm settings. Maybe some stuff interfering one does not consider yet. But we will see.
Might be interesting to check where yad is installed from (yad-eos?).

I have no idea how you get that window, when I click on Help, it opens our GitLab page in the browser with the instructions and clicking on the button execute makes AKM closing the app.

Changlog opens this.

Help opens this.

I just had to open akm then click Help let it open the git page then click Execute which closes akm and gives the mentioned message.

Where are you getting the execute button. I open akm and press help it opens a web page?

Edit: I see it on the main page by help. :man_facepalming:

Edit:2 Not very well explained as you have to be doing something in order to use the execute button such as installing the lts kernel. I get no issues works perfectly as it’s designed to. If you click execute without entering anything it just closes.

Edit3: I get no messages when it closes or otherwise.