You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Certainly! Here's the description in markdown format:
Description
When attempting to install Archi using Chocolatey, the following error occurs:
The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://www.archimatetool.com/downloads/archi-5.php?/5.2.0/Archi-Win64-Setup-5.2.0.exe'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
Downloading Archi 64 bit
from 'https://www.archimatetool.com/downloads/archi-5.php?/5.2.0/Archi-Win64-Setup-5.2.0.exe'
ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://www.archimatetool.com/downloads/archi-5.php?/5.2.0/Archi-Win64-Setup-5.2.0.exe'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
This package is likely not broken for licensed users - see https://docs.chocolatey.org/en-us/features/private-cdn.
The install of archi was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\Archi\tools\chocolateyinstall.ps1'.
See log for details.
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
- archi (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\Archi\tools\chocolateyinstall.ps1'.
See log for details.
This issue seems to stem from a 404 error when attempting to download the file Archi-Win64-Setup-5.2.0.exe from the specified URL.
Expected Behavior
The installation process should successfully download and install Archi.
Steps to Reproduce
Attempt to install Archi using Chocolatey.
Additional Information
Chocolatey Log File
2024-05-06 21:06:33,255 4788 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-05-06 21:06:33,271 4788 [DEBUG] - ---------------------------Script Execution---------------------------
2024-05-06 21:06:33,271 4788 [DEBUG] - Running 'ChocolateyScriptRunner' for Archi v5.2.0.2 with packageScript 'C:\ProgramData\chocolatey\lib\Archi\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\Archi', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-05-06 21:06:33,271 4788 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\Archi\tools\chocolateyinstall.ps1'
2024-05-06 21:06:33,287 4788 [DEBUG] - Running Get-PackageParameters
2024-05-06 21:06:33,292 4788 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
2024-05-06 21:06:33,313 4788 [DEBUG] - Running Install-ChocolateyPackage -url 'https://www.archimatetool.com/downloads/archi-5.php?/5.2.0/Archi-Win64-Setup-5.2.0.exe' -checksum 'b8bb4409dcbc70a67cb9fefc77226bb8893957ebdc3f9af07219cbf5fdcaa478c2490ca90941c9a789fa3a4d1488561101e247204a35131dc0b22460edddf20f' -checksum64 'b8bb4409dcbc70a67cb9fefc77226bb8893957ebdc3f9af07219cbf5fdcaa478c2490ca90941c9a789fa3a4d1488561101e247204a35131dc0b22460edddf20f' -silentArgs '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -packageName 'Archi' -checksumType 'SHA512' -fileType 'exe' -validExitCodes '0 1000 1101' -checksumType64 'SHA512' -url64bit 'https://www.archimatetool.com/downloads/archi-5.php?/5.2.0/Archi-Win64-Setup-5.2.0.exe'
2024-05-06 21:06:33,324 4788 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'Archi' -fileFullPath 'C:\Users\Pjotr\AppData\Local\Temp\chocolatey\Archi\5.2.0.2\ArchiInstall.exe' -url 'https://www.archimatetool.com/downloads/archi-5.php?/5.2.0/Archi-Win64-Setup-5.2.0.exe' -url64bit 'https://www.archimatetool.com/downloads/archi-5.php?/5.2.0/Archi-Win64-Setup-5.2.0.exe' -checksum 'b8bb4409dcbc70a67cb9fefc77226bb8893957ebdc3f9af07219cbf5fdcaa478c2490ca90941c9a789fa3a4d1488561101e247204a35131dc0b22460edddf20f' -checksumType 'SHA512' -checksum64 'b8bb4409dcbc70a67cb9fefc77226bb8893957ebdc3f9af07219cbf5fdcaa478c2490ca90941c9a789fa3a4d1488561101e247204a35131dc0b22460edddf20f' -checksumType64 'SHA512' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2024-05-06 21:06:33,341 4788 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2024-05-06 21:06:33,348 4788 [DEBUG] - CPU is 64 bit
2024-05-06 21:06:33,353 4788 [DEBUG] - Setting url to 'https://www.archimatetool.com/downloads/archi-5.php?/5.2.0/Archi-Win64-Setup-5.2.0.exe' and bitPackage to 64
2024-05-06 21:06:33,356 4788 [DEBUG] - Running Get-WebFileName -url 'https://www.archimatetool.com/downloads/archi-5.php?/5.2.0/Archi-Win64-Setup-5.2.0.exe' -defaultName 'ArchiInstall.exe'
2024-05-06 21:06:35,046 4788 [DEBUG] - Url request/response failed - file name will be 'ArchiInstall.exe': Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
2024-05-06 21:06:35,055 4788 [DEBUG] - Running Get-WebHeaders -url 'https://www.archimatetool.com/downloads/archi-5.php?/5.2.0/Archi-Win64-Setup-5.2.0.exe' -ErrorAction 'Stop'
2024-05-06 21:06:35,058 4788 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-05-06 21:06:35,060 4788 [DEBUG] - Request Headers:
2024-05-06 21:06:35,066 4788 [DEBUG] - 'Accept':'*/*'
2024-05-06 21:06:35,066 4788 [DEBUG] - 'User-Agent':'chocolatey command line'
2024-05-06 21:06:36,721 4788 [INFO ] - Attempt to get headers for https://www.archimatetool.com/downloads/archi-5.php?/5.2.0/Archi-Win64-Setup-5.2.0.exe failed.
The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://www.archimatetool.com/downloads/archi-5.php?/5.2.0/Archi-Win64-Setup-5.2.0.exe'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
2024-05-06 21:06:36,725 4788 [INFO ] - Downloading Archi 64 bit
from 'https://www.archimatetool.com/downloads/archi-5.php?/5.2.0/Archi-Win64-Setup-5.2.0.exe'
2024-05-06 21:06:36,733 4788 [DEBUG] - Running Get-WebFile -url 'https://www.archimatetool.com/downloads/archi-5.php?/5.2.0/Archi-Win64-Setup-5.2.0.exe' -fileName 'C:\Users\Pjotr\AppData\Local\Temp\chocolatey\Archi\5.2.0.2\ArchiInstall.exe' -options 'System.Collections.Hashtable'
2024-05-06 21:06:36,735 4788 [DEBUG] - Setting request timeout to 30000
2024-05-06 21:06:36,735 4788 [DEBUG] - Setting read/write timeout to 2700000
2024-05-06 21:06:36,735 4788 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-05-06 21:06:39,355 4788 [ERROR] - ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://www.archimatetool.com/downloads/archi-5.php?/5.2.0/Archi-Win64-Setup-5.2.0.exe'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
This package is likely not broken for licensed users - see https://docs.chocolatey.org/en-us/features/private-cdn.
2024-05-06 21:06:39,361 4788 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\Archi\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '404'.
2024-05-06 21:06:39,364 4788 [DEBUG] - Calling command ['"C:\WINDOWS\System32\shutdown.exe" /a']
2024-05-06 21:06:39,406 4788 [DEBUG] - Command ['"C:\WINDOWS\System32\shutdown.exe" /a'] exited with '1116'
2024-05-06 21:06:39,542 4788 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\Archi'
2024-05-06 21:06:39,544 4788 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\Archi\archi.nupkg'
with checksum '8047E32C5F3DF48A40CB664548F345A7'
2024-05-06 21:06:39,545 4788 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\Archi\archi.nuspec'
with checksum 'BBFE34F1D634B1E9DC890C45735C5FFA'
2024-05-06 21:06:39,545 4788 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\Archi\tools\chocolateyinstall.ps1'
with checksum '2EC7548F4C0695DFCA8C396D65368847'
2024-05-06 21:06:39,546 4788 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\Archi\tools\chocolateyuninstall.ps1'
with checksum 'E64EA2365BF83508C2E5F4D2E40253BB'
2024-05-06 21:06:39,547 4788 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\Archi\tools\helpers.ps1'
with checksum 'C7DA559B5059ADC05A97BE553DB2573F'
2024-05-06 21:06:39,556 4788 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\archi.5.2.0.2\.arguments".
2024-05-06 21:06:39,556 4788 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\archi.5.2.0.2\.extra".
2024-05-06 21:06:39,556 4788 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\archi.5.2.0.2\.version".
2024-05-06 21:06:39,557 4788 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\archi.5.2.0.2\.sxs".
2024-05-06 21:06:39,558 4788 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\archi.5.2.0.2\.pin".
2024-05-06 21:06:39,560 4788 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\Archi".
2024-05-06 21:06:39,560 4788 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2024-05-06 21:06:39,563 4788 [ERROR] - The install of archi was NOT successful.
2024-05-06 21:06:39,564 4788 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\Archi\tools\chocolateyinstall.ps1'.
See log for details.
2024-05-06 21:06:39,567 4788 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\archi".
2024-05-06 21:06:39,569 4788 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\Archi to C:\ProgramData\chocolatey\lib-bad\archi\5.2.0.2
2024-05-06 21:06:39,570 4788 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\Archi'
to 'C:\ProgramData\chocolatey\lib-bad\archi\5.2.0.2'
2024-05-06 21:06:41,585 4788 [WARN ] -
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-05-06 21:06:41,589 4788 [INFO ] -
2024-05-06 21:06:41,589 4788 [ERROR] - Failures
2024-05-06 21:06:41,591 4788 [ERROR] - - archi (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\Archi\tools\chocolateyinstall.ps1'.
See log for details.
2024-05-06 21:06:41,594 4788 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-05-06 21:06:41,596 4788 [DEBUG] - Exiting with 404
Possible Fix
The URL specified in the package might be incorrect. The correct URL to the executable seems to be https://www.archimatetool.com/downloads/archi/5.3.0/Archi-Win64-Setup-5.3.0.exe instead of https://www.archimatetool.com/downloads/archi-5.php?/5.2.0/Archi-Win64-Setup-5.2.0.exe. So the package seems to be out of date, but is also not correctly located. Still using an unused PHP GET request. Correct me if i am wrong.
The text was updated successfully, but these errors were encountered:
Certainly! Here's the description in markdown format:
Description
When attempting to install Archi using Chocolatey, the following error occurs:
This issue seems to stem from a 404 error when attempting to download the file
Archi-Win64-Setup-5.2.0.exe
from the specified URL.Expected Behavior
The installation process should successfully download and install Archi.
Steps to Reproduce
Additional Information
Possible Fix
The URL specified in the package might be incorrect. The correct URL to the executable seems to be
https://www.archimatetool.com/downloads/archi/5.3.0/Archi-Win64-Setup-5.3.0.exe
instead ofhttps://www.archimatetool.com/downloads/archi-5.php?/5.2.0/Archi-Win64-Setup-5.2.0.exe
. So the package seems to be out of date, but is also not correctly located. Still using an unused PHP GET request. Correct me if i am wrong.The text was updated successfully, but these errors were encountered: