Comments (11)
That's weird; my guess is that one of your Steam library paths has weird characters that are not playing nice with the glob module?
Could you run the following two commands in a new terminal and paste what it prints? It should print a list of your Steam library directories.
source ~/.local/pipx/venvs/protontricks/bin/activate
python -c "from protontricks.steam import find_steam_path, get_steam_lib_paths; steam_path, _ = find_steam_path(); print(get_steam_lib_paths(steam_path))"
from protontricks.
I'm getting the same error, here's what those commands print out for me...
['/home/rob/.steam/steam']
from protontricks.
I'm getting the same error, here's what those commands print out for me...
['/home/rob/.steam/steam']
What OS are you running? What is your Python version (check with python3 --version
)?
from protontricks.
Those details would help. ;)
Ubuntu 19.10 with the 5.3.0 kernel & Python 3.7.5
from protontricks.
I pushed a small update to re_debug
branch that should print more information when the exception happens.
Install the test version with the following command, reopen the terminal and then try running the command that causes the crash and paste whatever it prints:
pipx install --force --spec git+https://github.com/Matoking/protontricks.git@re_debug protontricks
from protontricks.
That seems to have fixed it for me...
edit, nope it's happened again..........
protontricks --gui
Traceback (most recent call last):
File "/home/rob/.local/pipx/venvs/protontricks/lib/python3.7/site-packages/protontricks/gui.py", line 27, in select_steam_app_with_gui
], check=True, stdout=PIPE, stderr=PIPE)
File "/usr/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['zenity', '--forms', '--text=Steam Game Library', '--title=Choose Game', '--add-combo', 'Pick a library game', '--combo-values', "Acorn Assault: Rodent Revolution: 410290|Aegis Defenders: 371140|Auto Age: Standoff: 458680|Bad North: 688420|Blasphemous: 774361|Book of Demons: 449960|Brothers - A Tale of Two Sons: 225080|Californium: 402060|Castle of Illusion: 227600|Crysis: 17300|Crysis 2 Maximum Edition: 108800|Crysis Warhead: 17330|Dark Future: Blood Red States: 370870|Distrust: 635200|Divide by Sheep: 252130|EARTH'S DAWN: 494600|Emily Wants To Play: 416590|Fall of Light: Darkest Edition: 633950|Gauntlet™ : 258970|Grim Dawn: 219990|HITMAN™ 2: 863550|Hard Reset Redux: 407810|Heat Signature: 268130|INSIDE: 304430|Immortal Planet: 631980|In Fear I Trust: 522690|KHOLAT: 343710|Kathy Rain: 370910|Little Nightmares: 424840|MOTHERGUNSHIP: 574090|Mages of Mystralia: 529660|Morphies Law: 948960|My Memory of Us: 651500|My Time At Portia: 666140|Neighbours from Hell 2: 260770|Next Hero: 756490|Nexus: The Jupiter Incident: 6420|Non-Steam shortcut: Enter The Gungeon: 3853151923|Odallus: The Dark Call: 319480|Odyssey - The Invention of Science: 558110|Oozi: Earth Adventure: 257990|PLANET ALPHA: 485030|Pacify: 967050|Phantom Doctrine: 559100|Pixel Puzzles Traditional Jigsaws: 1058200|Pixel Puzzles Ultimate: 351030|Porcunipine: 352620|Pumped BMX Pro: 966720|Quantum Replica: 470090|Rebel Galaxy: 290300|Renoir: 496400|Republique: 317100|Rise of the Triad: 217140|STAR WARS™: The Force Unleashed™ Ultimate Sith Edition: 32430|Shadow Warrior 2: 324800|SimCity 4 Deluxe: 24780|Sine Mora EX: 606730|Sleeping Dogs: Definitive Edition: 307690|Space Rangers HD: A War Apart: 214730|Sparkle Unleashed: 550450|Styx: Master of Shadows: 242640|Styx: Shards of Darkness: 355790|The Deadly Tower of Monsters: 353700|The King's Bird: 812550|The Light Keeps Us Safe: 853240|The Sexy Brutale: 552590|The Spiral Scouts: 862480|The Surge: 378540|Thief: 239160|Unreal Tournament 3: Black Edition: 13210|Viscera Cleanup Detail: 246900|Warhammer: End Times - Vermintide: 235540"]' died with <Signals.SIGABRT: 6>.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/rob/.local/bin/protontricks", line 8, in
sys.exit(main())
File "/home/rob/.local/pipx/venvs/protontricks/lib/python3.7/site-packages/protontricks/cli.py", line 171, in main
steam_app = select_steam_app_with_gui(steam_apps=steam_apps)
File "/home/rob/.local/pipx/venvs/protontricks/lib/python3.7/site-packages/protontricks/gui.py", line 48, in select_steam_app_with_gui
raise RuntimeError("Zenity returned an error")
RuntimeError: Zenity returned an error
from protontricks.
That's a different error, although it should also be handled properly as of 24070b0.
You should still be getting the sre_constants.error: bad character range D-1 at position 7
error or something similar, as the change only prints more information when that error happens.
from protontricks.
I think my bug was caused by an outdated version of Winetricks, now updated, apologies for muddying the waters.
from protontricks.
@NodokaHanamura Please test the following test branch as described earlier:
pipx install --force --spec git+https://github.com/Matoking/protontricks.git@re_debug protontricks
I haven't been able to reproduce the error using either my own paths or what @lucifertdark provided, so it might be unique to your environment.
from protontricks.
Sorry for the delay.
I've tried both commands you've given me and got the following output:
nikki@SENIORNEGI-Linux ~ $ pipx install --force --spec git+https://github.com/Matoking/protontricks.git@re_debug 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
nikki@SENIORNEGI-Linux ~ $ source ~/.local/pipx/venvs/protontricks/bin/activate
(protontricks) nikki@SENIORNEGI-Linux ~ $ python -c "from protontricks.steam import find_steam_path, get_steam_lib_paths; steam_path, _ = find_steam_path(); print(get_steam_lib_paths(steam_path))"
['/home/nikki/.steam/steam', '/media/nikki/[HDD-1] HOME YUE/SteamLibrary', '/media/nikki/[HDD-3] HOME ZVEZDA/SteamLinux', '/media/nikki/[HDD-4] HOME POBEDA/!Linux', '/media/nikki/[HDD-6] HOME SHUTEN/SteamLibrary']
from protontricks.
Thanks for the help, I was able to reproduce the error and I've now fixed it in the master branch.
You can use the command in README to install the development version with the bug fix until a new release is made.
from protontricks.
Related Issues (20)
- Question about which Proton version is used HOT 1
- Error when trying to launch protontricks HOT 1
- command /home/tux/.var/app/com.github.Matoking.protontricks/cache/protontricks/proton/Proton 9.0/bin/wine64 C:windows egedit.exe C:windowsTempoverride-dll.reg returned status 1. Aborting HOT 2
- Invalid file magic number. The appinfo.vdf version might not be supported by the current version of Protontricks HOT 21
- Despite using latest versonof protontrick or using flatseal, this still happen HOT 1
- Flatpak crashes on Steam Deck HOT 1
- protontricks seems to lack permissions, running as sudo results in crash (returncode: 69) HOT 5
- Help needed for running a program based on autohotkey with the game itself HOT 1
- Protontricks crashes when any game is selected HOT 1
- Following Error when trying to start program after Update HOT 2
- Crashes when selecting a steam app HOT 1
- Error selecting a game HOT 1
- protontricks error HOT 2
- crash upon selecting a game HOT 5
- Crashing on Launch - Traceback HOT 1
- when i click on a game i get this error that isnt even relevant to the game chosen HOT 1
- [Crash] UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdc in position 18448: invalid continuation byte HOT 5
- protontricks doesnt work with steam beta HOT 3
- Keep getting this error no matter what HOT 1
- Regedit freezes when I open any menu
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from protontricks.