Error line during ExtractPrograms
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 70/100
Research direction
Read install/ExtractPrograms.ps1 around lines 156–165, where the manifest is loaded as XML and the conversion fails for malformed input. Reproduce with a manifest whose DisplayName tag is unclosed, then check how the script handles that manifest. Done means extraction continues safely past the malformed manifest; the issue suggests wrapping these lines in try-catch.
Written by the indexing model from the issue text.
Description
What happened?
Error lines in ~/.local/share/winapps/detected:
Cannot convert value "System.Object[]" to type "System.Xml.XmlDocument". Error: "The 'DisplayName' start tag on line 5
position 6 does not match the end of 'Properties'. Line 8, position 5."
At \\tsclient\home\.local\share\winapps\ExtractPrograms.ps1:156 char:2
+ [xml]$manifest = Get-Content $manifestPath
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvalidCastToXmlDocument
It is fine if wrap these lines with try-catch
Your FreeRDP version and where you got it from
FreeRDP 3.10 (nixpkgs)
Your Linux distribution and version
Debian Buster
Your winapps.conf
Irrelevant
Logs
Terms
- I am running the latest version.
- To the best of my knowledge, this is a bug and not a setup nor a FreeRDP problem.
- I have checked for duplicate issues.
- I agree to follow this project's Code of Conduct.
- Dominant language
- Shell
- Stars
- 16.1k
- Forks
- 516
- Avg merge
- 37m
- Merged PRs (30d)
- 1
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from winapps-org/winapps
-
triage
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
winapps-org/winapps#983 ·
-
libvirt doc error - sudo pacman -S virt-manager does not install all the necessary componentsPossibly taken @oskardotglobal claimed this 48 days ago. Opentriage
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
winapps-org/winapps#957 · 3 comments ·
-
triage
Difficulty 4/5 3-5 days Newbie friendliness 48/100
winapps-org/winapps#967 ·
-
Auto login crashOpentriage
Difficulty 4/5 3-5 days Newbie friendliness 45/100
winapps-org/winapps#949 · 1 reaction ·
-
ai triage
Difficulty 4/5 3-5 days Newbie friendliness 52/100
winapps-org/winapps#948 · 1 comment ·
All issues in winapps-org/winapps
Similar issues
-
bug needs-triage
Difficulty 1/5 Under an hour Newbie friendliness 78/100
mattpocock/skills#1281 ·
Maintainers usually reply within 1 day
-
github_actions
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
hiero-ledger/hiero-consensus-node#27621 ·
Maintainers usually reply within 1 day
-
application-issue
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Installomator/Installomator#3427 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
software-mansion/argent#1483 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100