Matoking / protontricks

A wrapper that does winetricks things for Proton enabled games, requires Winetricks.
GNU General Public License v3.0
1.64k stars 36 forks source link

protontricks crash after game selection window #235

Open Frambooisier opened 1 year ago

Frambooisier commented 1 year ago

Describe the bug I start protontricks via flatpak with run com.github.Matoking.protontricks --gui command, first window appears where I can select game to be configured, after selection and confirmation the window disappears and no new window or message appears. In terminal there is and error related to that can be seen in gist link below.

To Reproduce Steps to reproduce the behavior:

  1. Run command run com.github.Matoking.protontricks --gui
  2. select game title in the protontricks window
  3. crash, read the info from terminal

Expected behavior if I start protontricks with --gui I expect to see first window with selection of a game, then after that I expect to see another window where I can select what I want to do with selected game's prefix

System (please complete the following information):

protontricks terminal output with -v flag (for some reason the formating of message in terminal is not correct, same as in gist) https://gist.github.com/Frambooisier/0763abd948208f0fe95bb3d6c92e9b8d

Matoking commented 1 year ago

This looks like an issue with a missing locale. If you run the command locale -a, is pl_PL.utf8 listed?

If not, running sudo locale-gen to generate the missing locale might solve the problem; you might have to uncomment the pl_PL.utf8 locale in /etc/locale.gen first.

Frambooisier commented 1 year ago

yes pl_PL.utf8 is listed with locale -a command, on OpenSuse TW Im missing locale-gen command. My main system language is english and /etc/locale.conf only has LANG=en_US.UTF-8 but variable $LANG outputs LANG=pl_PL.UTF-8. I changed temporarly $LANG to LANG=en_US.UTF-8 and it did fix the problem, now I will add LANG=pl_PL.UTF-8 to /etc/locale.conf to see if it solves the problem permanently.

side note it seems suse use localedef so locale-gen is not present.