mirror of
https://github.com/misiektoja/xbox_monitor.git
synced 2026-04-26 23:45:50 +03:00
[GH-ISSUE #1] Error checking status once user is active #1
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/xbox_monitor#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tomballgithub on GitHub (Jan 19, 2026).
Original GitHub issue: https://github.com/misiektoja/xbox_monitor/issues/1
I just started using this tool, and am seeing 3 types of things occur during checking presence, 2 good, 1 bad.
I added some debug code to help narrow this down.
Errors stop once user goes offline, so doesn't seem to be the auth key
Its a pydantic error
The debug code is as follows, so the error is occurring on this command:
presence = await xbl_client.presence.get_presence(str(xuid), PresenceLevel.ALL)
Here are the different 'Input should be a valid list' errors I've seen. 'The Theater' is by far the most prevalent.
None of these are games that the user plays.
@tomballgithub commented on GitHub (Jan 20, 2026):
I have determined that the error is occurring within
xbox-webapi, which hasn't been updated in 8 monthsI am trying 2 debug steps:
@tomballgithub commented on GitHub (Jan 21, 2026):
I opened an issue on the fork above, because the xbox-webapi code hasn't been touched in 8 months. It may not be actively maintained. I put a ton of detail in there. I've narrowed down what is causing it.
https://github.com/tr4nt0r/python-xbox/issues/85
@tomballgithub commented on GitHub (Jan 21, 2026):
I've documented the fix at that link.
@tomballgithub commented on GitHub (Jan 23, 2026):
This repository is actively maintained and has integrated the fix.
https://github.com/tr4nt0r/python-xbox
There are some notes in the issue from the maintainer about the maintenance status of the other repository.
https://github.com/tr4nt0r/python-xbox/issues/85
@misiektoja commented on GitHub (Jan 23, 2026):
Thanks. It seems I will have to rewrite the tool to use this new library. It is a fork so it should not require a big effort.
BTW, maybe just switching the pip module and imports will help ? Have you tried ?
@tomballgithub commented on GitHub (Jan 23, 2026):
Yes, that's all I did and it worked immediately.
@tomballgithub commented on GitHub (Jan 23, 2026):
I find it odd that no one else reported this unless people aren't generally using some of these tools and APIs. It broke immediately for me, and this activity indicator isn't anything special.
@misiektoja commented on GitHub (Jan 23, 2026):
Ok, cool! Will you make a PR for that ?
Yeah, strange. I didn't do much testing during the last release either, so I didn't notice it myself.
@tomballgithub commented on GitHub (Jan 23, 2026):
Yes I'll submit the PR
@tomballgithub commented on GitHub (Jan 23, 2026):
Submitted a PR #3
@misiektoja commented on GitHub (Jan 23, 2026):
Thx a lot, just merged!