canton7 / SyncTrayzor

Windows tray utility / filesystem watcher / launcher for Syncthing
MIT License
5.83k stars 400 forks source link

Chocolatey package failure #625

Closed canton7 closed 3 years ago

canton7 commented 3 years ago

https://chocolatey.org/packages/synctrayzor/1.1.28, the log is https://gist.github.com/choco-bot/7ab52ed8b5df08f56b381bb4b0fd706c.

The relevant bit of the log looks to be

021-02-19 13:11:42,946 1376 [INFO ] - [NuGet] Successfully installed 'dotnetfx 4.8.0.20190930'.
2021-02-19 13:11:42,960 1376 [INFO ] - 
dotnetfx v4.8.0.20190930 (forced) [Approved]
2021-02-19 13:11:43,851 1376 [INFO ] - dotnetfx package files install completed. Performing other installation steps.
2021-02-19 13:11:44,976 1376 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\dotnetfx\tools\ChocolateyInstall.ps1':
2021-02-19 13:11:45,007 1376 [DEBUG] - $version = '4.8'
$arguments = @{
    PackageName = 'dotnetfx'
    Release = 528040
    Version = $version
    ProductNameWithVersion = "Microsoft .NET Framework $version"
    Url = 'https://download.visualstudio.microsoft.com/download/pr/014120d7-d689-4305-befd-3cb711108212/0fd66638cde16859462a6243a4629a50/ndp48-x86-x64-allos-enu.exe'
    Checksum = '9B1F71CD1B86BB6EE6303F7BE6FBBE71807A51BB913844C85FC235D5978F3A0F'
    ChecksumType = 'sha256'
}

Install-DotNetFramework @arguments

2021-02-19 13:11:45,413 1376 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\dotnetfx\tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2021-02-19 13:11:48,382 1376 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2021-02-19 13:11:49,492 1376 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
 Could not load file or assembly 'Microsoft.PowerShell.Security, Version=5.0.0.0' or one of its dependencies. The system cannot find the file specified.

I'm not entirely sure what it's trying to do here. @TheCakeIsNaOH, any ideas?

TheCakeIsNaOH commented 3 years ago

@canton7 That is a known issue with the verifier test, it tends to happen with dependencies that take a while to install. Re-run once or twice, or if that does not work, then an exemption can be added.

canton7 commented 3 years ago

Great, thank you!

canton7 commented 3 years ago

It's in, thanks a lot for your help!