Skip to content
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

X Error of failed request: BadAccess (attempt to access private resource denied) #19

Open
julikaiba opened this issue Dec 1, 2024 · 3 comments

Comments

@julikaiba
Copy link

When starting the program I'm getting the following error. I think I did everything correctly. Running on Manjaro xfce. Any advice would be appreciated.

Capture source resolution: 1001x493
Loaded database
Path: /mnt/fastboii/SteamLibrary/steamapps/compatdata/230410/pfx/drive_c/users/steamuser/AppData/Local/Warframe/EE.log
watching hotkey: HotKey { mods: Modifiers(0x0), key: F12, id: 1808091470 }
Position: 297325
X Error of failed request: BadAccess (attempt to access private resource denied)
Major opcode of failed request: 33 (X_GrabKey)
Serial number of failed request: 12
Current serial number in output stream: 15

@knoellle
Copy link
Owner

knoellle commented Dec 3, 2024

The API I'm using tries to get exclusive access to the hotkey.
If another program is currently listening for the F12 hotkey using this API, the request fails.
Perhaps you already have another instance of wfinfo-ng running somewhere?

Sadly this error isn't a native Rust Result either, so I can't do proper error handling :(

@julikaiba
Copy link
Author

Ah, yes I am, I didnt think of that.
Is there a config I can change the hotkey in? otherwise I will try changing it in the main.rs

@TYTheBeast
Copy link

Ah, yes I am, I didnt think of that. Is there a config I can change the hotkey in? otherwise I will try changing it in the main.rs

I submitted a pull request with many changes, including command-line configs for the hotkey, as well as, finally, a snap-it feature for singular items! Now I just need to implement it for relics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants