WingetTools icon indicating copy to clipboard operation
WingetTools copied to clipboard

[Bug]: Failed to convert to YAML

Open Joly0 opened this issue 3 years ago • 5 comments

Describe the problem

I am trying to use the "Get-WGInstalled" command and keep getting this output for mRemoteNG and for Putty image

After that message i receive alot of information about those packages (maintainer, version, description, etc) but its all yellow and not correctly formated

Expectation

No response

Additional Information

No response

PowerShell version

5.1

Platform

Windows 10 Pro or Enterprise

Additional Checks

  • [X] You are using the latest version of this module.
  • [ ] You have read this repository's README file.
  • [ ] You have read full help and examples for the command you are having problems with.
  • [X] You are running PowerShell in an elevated session.
  • [X] You are running in a traditional PowerShell console or Windows Terminal

Joly0 avatar Sep 27 '22 13:09 Joly0

image Here is an example of the winget -list command showing correct output for mremoteng and jdk, though putty gives the yaml error and jdk doesnt. Its the same for putty

Joly0 avatar Sep 27 '22 14:09 Joly0

Parsing non-English results is an ongoing issue. I'm working on another set of fixes. It is difficult for me to test Winget running under different cultures, so I may need your help at some point to run some test code for me.

jdhitsolutions avatar Oct 03 '22 13:10 jdhitsolutions

Parsing non-English results is an ongoing issue. I'm working on another set of fixes. It is difficult for me to test Winget running under different cultures, so I may need your help at some point to run some test code for me.

Sure, i am willing to help and make this a better tool. Just tell me, when and what you need from me

Joly0 avatar Oct 04 '22 07:10 Joly0

I've got the same issue except with GoToAssist and in English. Please see attached. image

JGM113 avatar Aug 28 '23 23:08 JGM113

Parsing YAML, especially under different cultures, is practically an impossible task. I'm still hoping the Winget PowerShell module will eventually make this module moot.

jdhitsolutions avatar Aug 29 '23 12:08 jdhitsolutions