Repository navigation
Deck: make xml.etree optional - #1
Merged
Alexsander720 merged 1 commit intoNov 30, 2026
Merged
Conversation
…kage Decky Loader 3.3.1 bundles its own Python 3.14 (PyInstaller) and plugin backends run inside it. That interpreter has no `xml` package, so `game_visuals.py` raised "No module named 'xml.etree'" on every get_card call and the game page never received a card. An import probe over all 95 stdlib modules the plugin uses showed xml.* as the only gap. ElementTree is only used to validate authored SVG rails. Without it the SVG rail is skipped (PNG rails keep working); nothing else changes. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Owner
|
Thanks for catching this and checking the other stdlib imports. I hadn't hit it on my own setup yet, and Decky 3.3.1 dropping |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Decky Loader 3.3.1 bundles its own Python 3.14 (PyInstaller) and plugin backends run inside it. That interpreter has no
xmlpackage, sogame_visuals.pyraised "No module named 'xml.etree'" on every get_card call and the game page never received a card. An import probe over all 95 stdlib modules the plugin uses showed xml.* as the only gap.ElementTree is only used to validate authored SVG rails. Without it the SVG rail is skipped (PNG rails keep working); nothing else changes.