hiran wrote: ↑Wed Jul 03, 2024 1:47 pm
But if you know ways to enrich the messages do not hold back.
Know, not directly. Pointers I can do.
To reset, I "apt autopurge 'that library'" (not installed by default on LinuxMint), blast the relevant Oolite files, and change my metaphorical shoes.
Joe Sixpack eagerly installs Oolite, launches the game from the apps menu, then gasps with disappointment as a popup vaguely hints:-
Oolite died in a singularity with exit code 127. For troubleshooting check console and log output.
Logs: "Where?", says Joe. There's no hint in the popup of what log to check. Helpdesk here rattles keys at an xterm: ls -al ~/.Oolite : Nope, only .oolite-run exists. So, no 'usual' log dir yet! ( I know right?, tail ~/.xsession-errors, but I'm pretending to be a low-paid helpdesk! )
Console output: Finding the executable to run it in a terminal would be far from simple for them. Knowing so to do... unlikely.
By this point, average Joe has a few hundred megs less storage, and has likely lost interest.
Were the prospective commander to persist, and manage to launch it from a terminal they'd of course get the vital, searchable clue which can be copy/pasted into a web search:
Code: Select all
$ GNUstep/Applications/Oolite/oolite
./oolite.app/oolite: error while loading shared libraries: libgnustep-base.so.1.28: cannot open shared object file: No such file or directory
Erk. It looks like Oolite died with an error. When making an error report, please copy + paste the log above into the report.
Rather than the opaque "exit code 127", perhaps a more helpful human readable code in the popup like:-
error while loading shared libraries: libgnustep-base.so.1.28: cannot open shared object file.
Please see http://$wiki/$article for a proper clue.
I didn't dive into the source to check, perhaps 127 covers a range of ills, but since the terminal output is informative, I'd hope the popup could be specific too. If a wiki page describes this issue, then the console message should also mention it.
Could the console messages be mirrored in the popup?