Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gui error report] Error: Command failed: powershell.exe -NoProfile -NonInteractive -InputF #2636

Closed
SgtPooki opened this issue Sep 21, 2023 · 1 comment · Fixed by #1856
Closed
Labels
area/updates Issues related to manual and automatic updates area/windows Windows kind/bug A bug in existing code (including security flaws) P2 Medium: Good to have, but can wait until someone steps up topic/windows Windows specific

Comments

@SgtPooki
Copy link
Member

👉️ Please describe what you were doing when this error happened.

Specifications

  • OS: win32 10.0.19045
  • IPFS Desktop Version: 0.29.0
  • Electron Version: 19.1.9
  • Chrome Version: 102.0.5005.167

Error

Error: Command failed: powershell.exe -NoProfile -NonInteractive -InputFormat None -Command Get-AuthenticodeSignature -LiteralPath 'C:\Users\sgtpo\AppData\Local\ipfs-desktop-updater\pending\temp-IPFS-Desktop-Setup-0.30.2.exe' | ConvertTo-Json -Compress | ForEach-Object { [Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($_)) }
Get-AuthenticodeSignature : File 
C:\Users\sgtpo\AppData\Local\ipfs-desktop-updater\pending\temp-IPFS-Desktop-Setup-0.30.2.exe was not found.
At line:1 char:1
  Get-AuthenticodeSignature -LiteralPath 'C:\Users\sgtpo\AppData\Local\ ...
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      CategoryInfo          : ObjectNotFound: (:) [Get-AuthenticodeSignature], FileNotFoundException
      FullyQualifiedErrorId : SignatureCommandsBaseFileNotFound,Microsoft.PowerShell.Commands.GetAuthenticodeSignature 
   Command
 

    at ChildProcess.exithandler (node:child_process:408:12)
    at ChildProcess.emit (node:events:526:28)
    at maybeClose (node:internal/child_process:1092:16)
    at ChildProcess._handle.onexit (node:internal/child_process:302:5)

FYI: I got this error after selecting "check for updates". First, I got an error saying "cannot download update, check internet connection and try again" and then I selected check for updates again, and got the prompt to report the error

@SgtPooki SgtPooki added kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization labels Sep 21, 2023
@github-project-automation github-project-automation bot moved this to Needs Grooming in IPFS-GUI (PL EngRes) Sep 21, 2023
@whizzzkid whizzzkid added P2 Medium: Good to have, but can wait until someone steps up area/windows Windows area/updates Issues related to manual and automatic updates topic/windows Windows specific and removed need/triage Needs initial labeling and prioritization labels Sep 24, 2023
@lidel
Copy link
Member

lidel commented Jun 12, 2024

See workaround in #2335 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/updates Issues related to manual and automatic updates area/windows Windows kind/bug A bug in existing code (including security flaws) P2 Medium: Good to have, but can wait until someone steps up topic/windows Windows specific
Projects
No open projects
Status: Needs Grooming
Development

Successfully merging a pull request may close this issue.

3 participants