-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
protontricks gives error when trying to run GUI #47
Comments
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.
|
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 |
Those details would help. ;) |
I pushed a small update to 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:
|
That seems to have fixed it for me... During handling of the above exception, another exception occurred: Traceback (most recent call last): |
That's a different error, although it should also be handled properly as of 24070b0. You should still be getting the |
I think my bug was caused by an outdated version of Winetricks, now updated, apologies for muddying the waters. |
@NodokaHanamura Please test the following test branch as described earlier:
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. |
Sorry for the delay. I've tried both commands you've given me and got the following output:
|
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. |
I simply tried to run Protontricks (installed via pipx), and got this.
Traceback (most recent call last):
File "/home/nikki/.local/bin/protontricks", line 8, in
sys.exit(main())
File "/home/nikki/.local/pipx/venvs/protontricks/lib/python3.6/site-packages/protontricks/cli.py", line 150, in main
steam_lib_paths=steam_lib_paths
File "/home/nikki/.local/pipx/venvs/protontricks/lib/python3.6/site-packages/protontricks/steam.py", line 734, in get_steam_apps
os.path.join(path, "steamapps", "appmanifest_*.acf")
File "/usr/lib/python3.6/glob.py", line 20, in glob
return list(iglob(pathname, recursive=recursive))
File "/usr/lib/python3.6/glob.py", line 71, in _iglob
for dirname in dirs:
File "/usr/lib/python3.6/glob.py", line 71, in _iglob
for dirname in dirs:
File "/usr/lib/python3.6/glob.py", line 71, in _iglob
for dirname in dirs:
File "/usr/lib/python3.6/glob.py", line 72, in _iglob
for name in glob_in_dir(dirname, basename, dironly):
File "/usr/lib/python3.6/glob.py", line 83, in _glob1
return fnmatch.filter(names, pattern)
File "/usr/lib/python3.6/fnmatch.py", line 52, in filter
match = _compile_pattern(pat)
File "/usr/lib/python3.6/fnmatch.py", line 46, in _compile_pattern
return re.compile(res).match
File "/usr/lib/python3.6/re.py", line 233, in compile
return _compile(pattern, flags)
File "/usr/lib/python3.6/re.py", line 301, in _compile
p = sre_compile.compile(pattern, flags)
File "/usr/lib/python3.6/sre_compile.py", line 562, in compile
p = sre_parse.parse(p, flags)
File "/usr/lib/python3.6/sre_parse.py", line 855, in parse
p = _parse_sub(source, pattern, flags & SRE_FLAG_VERBOSE, 0)
File "/usr/lib/python3.6/sre_parse.py", line 416, in _parse_sub
not nested and not items))
File "/usr/lib/python3.6/sre_parse.py", line 765, in _parse
p = _parse_sub(source, state, sub_verbose, nested + 1)
File "/usr/lib/python3.6/sre_parse.py", line 416, in _parse_sub
not nested and not items))
File "/usr/lib/python3.6/sre_parse.py", line 553, in _parse
raise source.error(msg, len(this) + 1 + len(that))
sre_constants.error: bad character range D-1 at position 7
AFAIK, Python, steam and all other dependencies are up to date.
I am running Linux Mint 19.3, based on Ubuntu 18 "Bionic" on Linux Kernel 5.3.0.
The text was updated successfully, but these errors were encountered: