Closed zany130 closed 4 years ago
i have tried installing the latest git version to and im using manjaro linux
I'm getting the same thing on Ubuntu 19.10, running it again straight away makes it work.
Please try copying the following command and running it on the terminal directly:
zenity --forms --text='Steam Game Library' --title='Choose Game' --add-combo 'Pick a library game' --combo-values 'Batman: Arkham Asylum GOTY Edition: 35140|Batman™: Arkham Knight: 208650|Bully: Scholarship Edition: 12200|CLANNAD: 324160|CLANNAD Side Stories: 420100|Edge Of Eternity: 269190|Fallout: 38400|Fallout 2: 38410|Hyperdimension Neptunia U: Action Unleashed: 387340|If My Heart Had Wings: 326480|KARAKARA: 487430|KARAKARA2: 745850|Lara Croft and the Temple of Osiris: 289690|Left 4 Dead: 500|Legrand Legacy: 556740|Rise of the Tomb Raider: 391220|Sword Art Online: Hollow Realization Deluxe Edition: 607890|The Legend of Heroes: Trails in the Sky: 251150|The Legend of Heroes: Trails in the Sky SC: 251290|The Witcher: Enhanced Edition: 20900|Valkyria Chronicles™: 294860|eden*: 315810'
What does the command print when you run it?
Zenity has had a bug for some time where long option lists would cause it to crash when closing down, printing an error message in the process that confuses Protontricks. Very long lists would crash reliably, and shorter lists would only crash intermittently. There is a workaround in place already, so I'm guessing it's printing a different error message this time around.
it gives this output
zenity --forms --text='Steam Game Library' --title='Choose Game' --add-combo 'Pick a library game' --combo-values 'Batman: Arkham Asylum GOTY Edition: 35140|Batman™: Arkham Knight: 208650|Bully: Scholarship Edition: 12200|CLANNAD: 324160|CLANNAD Side Stories: 420100|Edge Of Eternity: 269190|Fallout: 38400|Fallout 2: 38410|Hyperdimension Neptunia U: Action Unleashed: 387340|If My Heart Had Wings: 326480|KARAKARA: 487430|KARAKARA2: 745850|Lara Croft and the Temple of Osiris: 289690|Left 4 Dead: 500|Legrand Legacy: 556740|Rise of the Tomb Raider: 391220|Sword Art Online: Hollow Realization Deluxe Edition: 607890|The Legend of Heroes: Trails in the Sky: 251150|The Legend of Heroes: Trails in the Sky SC: 251290|The Witcher: Enhanced Edition: 20900|Valkyria Chronicles™: 294860|eden*: 315810'
Gtk-Message: 19:38:46.842: Failed to load module "appmenu-gtk-module"
The Legend of Heroes: Trails in the Sky: 251150
free(): double free detected in tcache 2
Aborted (core dumped)
If you installed Protontricks using pipx, please try installing and testing a potential fix I pushed to zenity_fix
branch:
pipx install --force --spec git+https://github.com/Matoking/protontricks.git@zenity_fix protontricks
You may need to close and open the terminal emulator before the new version is detected correctly.
well i use the version on the aur but i tried installing with pipx like you said and i get this
pipx install --force --spec git+https://github.com/Matoking/protontricks.git@zenity_fix protontricks
usage: pipx [-h] [--version]
{install,inject,upgrade,upgrade-all,uninstall,uninstall-all,reinstall-all,list,run,runpip,ensurepath,completions}
...
pipx: error: unrecognized arguments: --spec protontricks
Please try this alternative installation method. Open a terminal in your home directory and run the following:
python3 -mvenv venv
source venv/bin/activate
pip install git+https://github.com/Matoking/protontricks.git@zenity_fix
venv/bin/protontricks --gui # or replace with whatever command causes an error
After you have tested the fix you can close the terminal and delete the venv
directory that was created. You might need to install pip and git if you don't have them: sudo pacman -Syu python-pip git
yup that worked
Awesome, thanks for the help.
protontricks crashes with the following output