Closed DessertArbiter closed 2 years ago
Thanks for your thorough description! I was able to reproduce the error. It turns out that the "bin" field in one of Ryanjiena's manifests was causing the panic:
https://github.com/Ryanjiena/scoop-apps/blob/master/bucket/MouseInc.json
"bin": [ [ "MouseInc.exe" ] ],
Sub-arrays like that are supposed to be used for aliases and command line arguments, e.g.:
["prog.exe", "aliasForProg", "--arg1"]
But the alias is missing which caused the panic. He could just replace it with:
"bin": "MouseInc.exe"
I'm not sure if scoop
would install his manifest, but I'm updating my app to be more robust so that it will process his manifest and if it fails to parse a manifest in the future, then it will notify the user and either skip or search part of the manifest.
I was getting the error when I tried to do a generic search such as
scoops crystaldiskmark
, but I managed to narrow the issue down to Ryanjiena/scoop-apps (which I have added as a local bucket in my scoop installation). I'm almost positive that its related to the CJK Unified Ideographs Unicode block, because many of the descriptions in the manifests are in Chinese.But when I tried the same search in the Japanese language bucket tetradice/scoop-iyokan-jp, which also contains characters in the CJK Unified Ideographs Unicode block, there were no errors.