an-anime-team / an-anime-game-launcher

An Anime Game launcher for Linux with telemetry disabling
https://discord.gg/ck37X6UWBp
GNU General Public License v3.0
1.53k stars 63 forks source link

Not generating log file #374

Closed Parsa-GP closed 3 months ago

Parsa-GP commented 4 months ago

so I've installed it via flatpak because the compiled one requires GLIBC_2.38 and the launcher got error when opening the app and in the terminal (because i ran it via flatpak run moe.launcher.an-anime-game-launcher --debug command) it says anime-game-launcher had a problem and crashed. and the it provides an log file named /tmp/report-b4ebd53f-edcc-42ad-ba3e-45b7fca6252d.toml and then the file is not there even when i close the launcher.

The crash is when i hit download and for some reason it crashes without any useful data written on the terminal.

in the attachment there's a dump of my terminal info provided by the launcher using --debug parameter. launcher-dump.txt (the <USERNAME> on the dump is not generated by launcher, I've decided to replace it for privacy reasons)

Equivocal90 commented 4 months ago

You could run flatpak run --command=/bin/bash moe.launcher.an-anime-game-launcher to enter a shell and then in that shell run moe.launcher.an-anime-game-launcher --debug when it crashes you should be able to see the file in /tmp/ within the same shell.

Parsa-GP commented 4 months ago

oh, i get it why, thanks. crashreport.txt

(for dudes that have the same problem, flatpacks have a sandbox kinda system to put app files and libraries in the correct place so they not interfere with your host system's libraries and made a mess, and with the first command, you "chroot"-ing into the sandbox folder)