-
Notifications
You must be signed in to change notification settings - Fork 37
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
binary_loads() got an unexpected keyword argument 'key_table' #326
Comments
What version of pipx do you have installed (check with
This would explain why the wrong version of vdf is being installed. It should hopefully be possible to install the fixed version of vdf even with an older pipx, although it's a bit more involved. Start by uninstalling Protontricks, installing Protontricks and then replacing the version of vdf like so: pipx uninstall protontricks
pipx install git+https://github.com/Matoking/protontricks.git@appinfo_v29
pipx runpip protontricks install --force-reinstall git+https://github.com/Matoking/vdf.git@support_new_bvdf |
Version pipx 1.4.3, delivered via apt. Apparently this is the solution to my problem. I will update now and check. I updated pipx to 1.6.0, ran the commands you gave above. Now this error:
|
I also have pipx version 1.4.3. (Though as mentioned in the other issue, it does have the --preinstall option) I've ran the commands you've given. What version of VDF is it meant to install? I've noticed the --force-reinstall command uninstalls vdf-3.4 and installs vdf-3.4 again.
After running this, I also get the bwrap launcher crashed error. |
I'm guessing if you're running on Ubuntu this could be the AppArmor related issue reported in #314? See this comment for details. |
Here is the output logs for that. I gave an extra newline for what looks potentially relevant.
When attempting to run protontricks --no-bwrap --gui , it doesn't give this specific error anymore. Instead it gives This is the same thing as mentioned in that issue, so the problem seems to be located at least! |
Turns out creating an AppArmor profile should be relatively easy. Try creating the following file in
The profile is pretty much identical to Steam. You can adjust the path to After that, run Finally, I reported the lack of an AppArmor profile on the upstream bug tracker. Local installations (pip and pipx) will likely require manual tweaking, unfortunately. |
Since I currently have Protontricks installed on pipx, I created the protontricks file and pasted what you have provided (editing the "YOURUSERHERE" to my username), restarted apparmor and even the entire PC. Unfortunately, I still get an error. Was I to edit any other part in the protontricks apparmor file?
I've tested uninstalling from pipx version and installed Ubuntu's protontricks with the relevant apparmor profile and restarted apparmor, but it still gives the "Invalid file magic number" error, which, as I understand, was due to Ubuntu's version being outdated. |
Describe the bug
Installed protontricks via pipx command form #304 (comment)
To Reproduce
Steps to reproduce the behavior:
protontricks --gui
If I install the regular version via apt, I get the error
SyntaxError: Invalid file magic number
.Log:
The text was updated successfully, but these errors were encountered: