Git Product home page Git Product logo

Comments (5)

matthiaskozubal avatar matthiaskozubal commented on June 30, 2024 2

Same problem

  • Instructions from here.
  • Choco installed successfully.
  • Ami installation command run with administrative priviliges:
    choco install ami -s https://www.myget.org/F/contentmine/api/v2 -y
  • First logged error:
    2016-10-14 12:02:20,222 [ERROR] - ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://github.com/ContentMine/ami/releases/download/v0.2.24/ami2-bin.zip'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."

max-height:400px

Log Dump

2016-10-14 12:02:09,760 [DEBUG] - Configured chocolatey.infrastructure.logging.log4net.config.xml from assembly choco, Version=0.10.3.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb
2016-10-14 12:02:09,760 [DEBUG] - Configured chocolatey.infrastructure.logging.log4net.config.xml from assembly choco, Version=0.10.3.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb
2016-10-14 12:02:09,789 [DEBUG] - XmlConfiguration is now operational
2016-10-14 12:02:09,987 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\config\chocolatey.config.update".
2016-10-14 12:02:09,997 [INFO ] - ============================================================
2016-10-14 12:02:10,008 [INFO ] - Chocolatey v0.10.3
2016-10-14 12:02:10,021 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2016-10-14 12:02:10,026 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2016-10-14 12:02:10,030 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2016-10-14 12:02:10,043 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install ami -s https://www.myget.org/F/contentmine/api/v2 -y
2016-10-14 12:02:10,047 [DEBUG] - Received arguments: install ami -s https://www.myget.org/F/contentmine/api/v2 -y
2016-10-14 12:02:10,108 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2016-10-14 12:02:10,119 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2016-10-14 12:02:10,133 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2016-10-14 12:02:10,194 [DEBUG] - The source 'https://www.myget.org/F/contentmine/api/v2' evaluated to a 'normal' source type
2016-10-14 12:02:10,199 [DEBUG] - 
NOTE: Hiding sensitive configuration data! Please double and triple 
 check to be sure no sensitive data is shown, especially if copying 
 output to a gist for review.
2016-10-14 12:02:10,213 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\matthias\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://www.myget.org/F/contentmine/api/v2'|
SourceType='normal'|Debug='False'|Verbose='False'|Force='False'|
Noop='False'|HelpRequested='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='ami'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='ami'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.3.9600.0'|
Information.PlatformName='Windows 8.1'|
Information.ChocolateyVersion='0.10.3.0'|
Information.ChocolateyProductVersion='0.10.3'|
Information.FullName='choco, Version=0.10.3.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

Information.Is64Bit='True'|Information.IsInteractive='True'|
Information.IsUserAdministrator='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseFipsCompliantChecksums='False'|
Features.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|FeatureCommand.Command='unknown'|
ConfigCommand.Command='unknown'|PinCommand.Command='unknown'|
2016-10-14 12:02:10,218 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2016-10-14 12:02:10,227 [INFO ] - Installing the following packages:
2016-10-14 12:02:10,237 [INFO ] - ami
2016-10-14 12:02:10,246 [INFO ] - By installing you accept licenses for the packages.
2016-10-14 12:02:12,746 [INFO ] - 
ami v0.2.24
2016-10-14 12:02:12,767 [INFO ] - ami package files install completed. Performing other installation steps.
2016-10-14 12:02:12,864 [DEBUG] - Setting installer args for ami
2016-10-14 12:02:12,869 [DEBUG] - Setting package parameters for ami
2016-10-14 12:02:12,873 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\ami\tools\chocolateyinstall.ps1':
2016-10-14 12:02:12,884 [DEBUG] - # IMPORTANT: Before releasing this package, copy/paste the next 2 lines into PowerShell to remove all comments from this file:
#   $f='c:\path\to\thisFile.ps1'
#   gc $f | ? {$_ -notmatch "^\s*#"} | % {$_ -replace '(^.*?)\s*?[^``]#.*','$1'} | Out-File $f+".~" -en utf8; mv -fo $f+".~" $f

$ErrorActionPreference = 'Stop'; # stop on all errors


$packageName= 'ami' # arbitrary name for the package, used in messages
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url        = 'https://github.com/ContentMine/ami/releases/download/v0.2.24/ami2-bin.zip' # download url
$url64      = $url # 64bit URL here or remove - if installer is both, use $url

$packageArgs = @{
  packageName   = $packageName
  unzipLocation = $toolsDir
  fileType      = 'EXE_MSI_OR_MSU' #only one of these: exe, msi, msu
  url           = $url
  url64bit      = $url64

}

Install-ChocolateyZipPackage @packageArgs
Install-BinFile "cmine" "$toolsDir\ami2-0.1-SNAPSHOT\bin\cmine.bat"
Install-BinFile "ami2-gene" "$toolsDir\ami2-0.1-SNAPSHOT\bin\ami2-gene.bat"
Install-BinFile "ami2-identifier" "$toolsDir\ami2-0.1-SNAPSHOT\bin\ami2-identifier.bat"
Install-BinFile "ami2-phylotree" "$toolsDir\ami2-0.1-SNAPSHOT\bin\ami2-phylotree.bat"
Install-BinFile "ami2-regex" "$toolsDir\ami2-0.1-SNAPSHOT\bin\ami2-regex.bat"
Install-BinFile "ami2-sequence" "$toolsDir\ami2-0.1-SNAPSHOT\bin\ami2-sequence.bat"
Install-BinFile "ami2-species" "$toolsDir\ami2-0.1-SNAPSHOT\bin\ami2-species.bat"
Install-BinFile "ami2-word" "$toolsDir\ami2-0.1-SNAPSHOT\bin\ami2-word.bat"

2016-10-14 12:02:12,904 [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\ami\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters ''']
2016-10-14 12:02:12,911 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2016-10-14 12:02:13,190 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.42000'.
2016-10-14 12:02:13,341 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2016-10-14 12:02:13,351 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2016-10-14 12:02:13,360 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2016-10-14 12:02:13,369 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2016-10-14 12:02:13,378 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2016-10-14 12:02:13,387 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2016-10-14 12:02:13,396 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2016-10-14 12:02:13,406 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2016-10-14 12:02:13,415 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2016-10-14 12:02:13,425 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2016-10-14 12:02:13,435 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2016-10-14 12:02:13,444 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2016-10-14 12:02:13,454 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2016-10-14 12:02:13,463 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2016-10-14 12:02:13,472 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2016-10-14 12:02:13,482 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2016-10-14 12:02:13,492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2016-10-14 12:02:13,502 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2016-10-14 12:02:13,511 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2016-10-14 12:02:13,521 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2016-10-14 12:02:13,530 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2016-10-14 12:02:13,540 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2016-10-14 12:02:13,549 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2016-10-14 12:02:13,559 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2016-10-14 12:02:13,569 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2016-10-14 12:02:13,579 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2016-10-14 12:02:13,589 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2016-10-14 12:02:13,598 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2016-10-14 12:02:13,608 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2016-10-14 12:02:13,618 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2016-10-14 12:02:13,627 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2016-10-14 12:02:13,638 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2016-10-14 12:02:13,648 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2016-10-14 12:02:13,658 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2016-10-14 12:02:13,669 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2016-10-14 12:02:13,679 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2016-10-14 12:02:13,689 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2016-10-14 12:02:13,699 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2016-10-14 12:02:13,709 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2016-10-14 12:02:13,720 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2016-10-14 12:02:13,730 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2016-10-14 12:02:13,741 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2016-10-14 12:02:13,752 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2016-10-14 12:02:13,763 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2016-10-14 12:02:13,774 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2016-10-14 12:02:13,786 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2016-10-14 12:02:13,799 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2016-10-14 12:02:13,810 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2016-10-14 12:02:13,822 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2016-10-14 12:02:13,833 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2016-10-14 12:02:13,843 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2016-10-14 12:02:13,854 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2016-10-14 12:02:13,865 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2016-10-14 12:02:13,875 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2016-10-14 12:02:13,886 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2016-10-14 12:02:13,897 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2016-10-14 12:02:13,907 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2016-10-14 12:02:13,918 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2016-10-14 12:02:13,929 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2016-10-14 12:02:13,939 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2016-10-14 12:02:13,949 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2016-10-14 12:02:13,959 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2016-10-14 12:02:13,969 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2016-10-14 12:02:13,980 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2016-10-14 12:02:13,990 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2016-10-14 12:02:14,000 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2016-10-14 12:02:14,010 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2016-10-14 12:02:14,020 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2016-10-14 12:02:14,031 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2016-10-14 12:02:14,041 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2016-10-14 12:02:14,051 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2016-10-14 12:02:14,061 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2016-10-14 12:02:14,071 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2016-10-14 12:02:14,081 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2016-10-14 12:02:14,091 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2016-10-14 12:02:14,101 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2016-10-14 12:02:14,111 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2016-10-14 12:02:14,121 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2016-10-14 12:02:14,131 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2016-10-14 12:02:14,142 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2016-10-14 12:02:14,153 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2016-10-14 12:02:14,162 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2016-10-14 12:02:14,172 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2016-10-14 12:02:14,182 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2016-10-14 12:02:14,192 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2016-10-14 12:02:14,202 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2016-10-14 12:02:14,213 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2016-10-14 12:02:14,223 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2016-10-14 12:02:14,234 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2016-10-14 12:02:14,244 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2016-10-14 12:02:14,255 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2016-10-14 12:02:14,265 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2016-10-14 12:02:14,276 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2016-10-14 12:02:14,287 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2016-10-14 12:02:14,298 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2016-10-14 12:02:14,310 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2016-10-14 12:02:14,322 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2016-10-14 12:02:14,333 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2016-10-14 12:02:14,343 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2016-10-14 12:02:14,354 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2016-10-14 12:02:14,365 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2016-10-14 12:02:14,375 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2016-10-14 12:02:14,429 [DEBUG] - Running 'ChocolateyScriptRunner' for ami v0.2.24 with packageScript 'C:\ProgramData\chocolatey\lib\ami\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\ami', installArguments: '', packageParameters: '',
2016-10-14 12:02:14,445 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\ami\tools\chocolateyinstall.ps1'
2016-10-14 12:02:14,493 [DEBUG] - Running Install-ChocolateyZipPackage -unzipLocation 'C:\ProgramData\chocolatey\lib\ami\tools' -url 'https://github.com/ContentMine/ami/releases/download/v0.2.24/ami2-bin.zip' -packageName 'ami' -url64bit 'https://github.com/ContentMine/ami/releases/download/v0.2.24/ami2-bin.zip' 
2016-10-14 12:02:14,537 [DEBUG] - Running Get-ChocolateyWebFile -checksum '' -checksumType '' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' -packageName 'ami' -fileFullPath 'C:\Users\matthias\AppData\Local\Temp\chocolatey\ami\0.2.24\amiInstall.zip' -url 'https://github.com/ContentMine/ami/releases/download/v0.2.24/ami2-bin.zip' -url64bit 'https://github.com/ContentMine/ami/releases/download/v0.2.24/ami2-bin.zip' 
2016-10-14 12:02:14,562 [DEBUG] - Running Get-ProcessorBits -compare '64' 
2016-10-14 12:02:14,577 [DEBUG] - CPU is 64 bit
2016-10-14 12:02:14,584 [DEBUG] - Setting url to 'https://github.com/ContentMine/ami/releases/download/v0.2.24/ami2-bin.zip' and bitPackage to 64
2016-10-14 12:02:14,610 [DEBUG] - Running Get-WebFileName -url 'https://github.com/ContentMine/ami/releases/download/v0.2.24/ami2-bin.zip' -defaultName 'amiInstall.zip' 
2016-10-14 12:02:16,231 [DEBUG] - Url request/response failed - file name will be 'amiInstall.zip':  Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
2016-10-14 12:02:16,246 [DEBUG] - Running Get-WebHeaders -url 'https://github.com/ContentMine/ami/releases/download/v0.2.24/ami2-bin.zip' -ErrorAction 'Stop' 
2016-10-14 12:02:16,252 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2016-10-14 12:02:16,257 [DEBUG] - Request Headers:
2016-10-14 12:02:16,269 [DEBUG] -   'Accept':'*/*'
2016-10-14 12:02:16,274 [DEBUG] -   'User-Agent':'chocolatey command line'
2016-10-14 12:02:17,700 [INFO ] - Attempt to get headers for https://github.com/ContentMine/ami/releases/download/v0.2.24/ami2-bin.zip failed.
  The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://github.com/ContentMine/ami/releases/download/v0.2.24/ami2-bin.zip'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
2016-10-14 12:02:17,712 [INFO ] - 
2016-10-14 12:02:17,727 [INFO ] - Downloading ami 64 bit
  from 'https://github.com/ContentMine/ami/releases/download/v0.2.24/ami2-bin.zip'
2016-10-14 12:02:17,737 [INFO ] - 
2016-10-14 12:02:17,760 [DEBUG] - Running Get-WebFile -url 'https://github.com/ContentMine/ami/releases/download/v0.2.24/ami2-bin.zip' -fileName 'C:\Users\matthias\AppData\Local\Temp\chocolatey\ami\0.2.24\amiInstall.zip' -options 'System.Collections.Hashtable' 
2016-10-14 12:02:17,767 [DEBUG] - Setting request timeout to  30000
2016-10-14 12:02:17,772 [DEBUG] - Setting read/write timeout to  2700000
2016-10-14 12:02:17,776 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2016-10-14 12:02:20,222 [ERROR] - ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://github.com/ContentMine/ami/releases/download/v0.2.24/ami2-bin.zip'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
2016-10-14 12:02:20,242 [DEBUG] - Built-in PowerShell host called 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\ami\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '''] exited with '404'.
2016-10-14 12:02:20,250 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2016-10-14 12:02:20,276 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2016-10-14 12:02:20,386 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\ami'
2016-10-14 12:02:20,392 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\ami\ami.nupkg'
  with checksum '6590DAB62779CD265EDF7F8C8597F03A'
2016-10-14 12:02:20,396 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\ami\ami.nuspec'
  with checksum '775EE26DFD2F56DAD700EF897AA86BD7'
2016-10-14 12:02:20,400 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\ami\tools\chocolateyinstall.ps1'
  with checksum '6A66AB36D2B7490D6DBA95F7C50554AF'
2016-10-14 12:02:20,405 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\ami\tools\chocolateyuninstall.ps1'
  with checksum '4927CEA3DEF5456EF3467C0BCB745C36'
2016-10-14 12:02:20,409 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\ami\tools\ReadMe.md'
  with checksum 'A6B263687768417603EB72D77FD1EA04'
2016-10-14 12:02:20,429 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ami.0.2.24\.files.update".
2016-10-14 12:02:20,433 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ami.0.2.24\.sxs".
2016-10-14 12:02:20,437 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ami.0.2.24\.pin".
2016-10-14 12:02:20,447 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\ami".
2016-10-14 12:02:20,454 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2016-10-14 12:02:20,460 [ERROR] - The install of ami was NOT successful.
2016-10-14 12:02:20,470 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\ami\tools\chocolateyinstall.ps1'.
 See log for details.
2016-10-14 12:02:20,483 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\ami'
 to 'C:\ProgramData\chocolatey\lib-bad\ami'
2016-10-14 12:02:22,519 [DEBUG] - Attempting to delete file "C:\Users\matthias\AppData\Local\NuGet\Cache\ami.0.2.24.nupkg".
2016-10-14 12:02:22,550 [WARN ] - 
Chocolatey installed 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2016-10-14 12:02:22,560 [INFO ] - 
2016-10-14 12:02:22,570 [ERROR] - Failures
2016-10-14 12:02:22,581 [ERROR] -  - ami (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\ami\tools\chocolateyinstall.ps1'.
 See log for details.
2016-10-14 12:02:22,592 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2016-10-14 12:02:22,609 [DEBUG] - Exiting with 404

from ami.

abannachbrown avatar abannachbrown commented on June 30, 2024 1

I also have the same error using chocolately to download ami :
choco install ami -s https://www.myget.org/F/contentmine/api/v2 -y

it returns the same error as @matthiasphysicists :

ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://github.com/ContentMine/ami/releases/download/v0.2.24/ami2-bin.zip'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."

chocolatey log file here:
chocolatey-log ami-install error.txt

from ami.

avfedorc avatar avfedorc commented on June 30, 2024

Has anyone solved this? I'm having the same issue.

from ami.

abannachbrown avatar abannachbrown commented on June 30, 2024

@avfedorc not as far as i'm aware. I think @tarrow is looking at it currently.

from ami.

avfedorc avatar avfedorc commented on June 30, 2024

@abannachbrown Thank you! @tarrow let me know if this is solved or whether you've found a work-around. Thanks!

from ami.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.