kkzzhizhou / scoop-apps

使用Github Action每天自动合并其他scoop仓库的更新,仓库地址:https://github.com/kkzzhizhou/scoop-apps
419 stars 49 forks source link

添加这个bucket之后使用search功能报错,但是不影响实际使用 #145

Closed felix-zheng91 closed 3 months ago

felix-zheng91 commented 3 months ago
  1. 问题

图片 已有图上 bucket,新增apps后使用search 报错 图片

  1. 复现方式 删除apps后正常,重新添加报错依然出现。将其他bucket 删除后再添加apps依然报错。
  2. 环境信息 Windows 10 + powershell 7.4.2
kkzzhizhou commented 3 months ago

修复了 https://github.com/kkzzhizhou/scoop-apps/issues/140 后未能复现

pheotry commented 2 months ago

修复了 #140 后未能复现

我也遇到了类似的问题

PS C:\Users\lluu> scoop search mpv
MethodInvocationException: C:\Users\lluu\scoop\apps\scoop\current\libexec\scoop-search.ps1:38
Line |
  38 |      if (!$json.RootElement.TryGetProperty('bin', [ref] $bin)) { retur …
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Exception calling "TryGetProperty" with "2" argument(s): "The requested operation requires an element of type
     | 'Object', but the target element has type 'Array'."
Results from local buckets...
g1fts commented 2 months ago

修复了 #140 后未能复现

image 同楼上