aaronparker / evergreen

Create evergreen Windows image build pipelines with the latest version numbers and download URLs for common applications
http://stealthpuppy.com/evergreen/
MIT License
383 stars 66 forks source link

[Bug]: Rstudio #742

Closed jms-du-se closed 1 month ago

jms-du-se commented 2 months ago

What happened?

Get-RStudio : Cannot validate argument on parameter 'File'. The argument is null or empty. Provide an argument that is
not null or empty, and then try the command again.
At C:\Program Files\WindowsPowerShell\Modules\Evergreen\2409.1320\Public\Get-EvergreenApp.ps1:79 char:27
+                 $Output = & Get-$Name @params
+                           ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Get-RStudio], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Get-RStudio
Probably the following link stopped working: https://www.rstudio.com/wp-content/downloads.json

Version

2409.1320

What PowerShell edition/s are you running Evergreen on?

Windows PowerShell

Which operating system/s are you running Evergreen on?

Windows 10+

Have you reviewed the documentation?

Verbose output

gea rstudio -verbose
VERBOSE: Function path: C:\Program Files\WindowsPowerShell\Modules\Evergreen\2409.1320\Apps\Get-rstudio.ps1
VERBOSE: Function exists: C:\Program Files\WindowsPowerShell\Modules\Evergreen\2409.1320\Apps\Get-rstudio.ps1.
VERBOSE: Dot sourcing: C:\Program Files\WindowsPowerShell\Modules\Evergreen\2409.1320\Apps\Get-rstudio.ps1.
VERBOSE: Get-FunctionResource: read application resource strings from [C:\Program
Files\WindowsPowerShell\Modules\Evergreen\2409.1320\Manifests\rstudio.json]
VERBOSE: Calling: Get-rstudio.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: UseBasicParsing: True.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: MaximumRedirection: 2.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: DisableKeepAlive: True.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.2592.87.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: Method: Default.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: Uri:
https://www.rstudio.com/wp-content/downloads.json.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: ContentType: application/json; charset=utf-8.
VERBOSE: GET with 0-byte payload
VERBOSE: received 299531-byte response of content type text/html; charset=UTF-8
WARNING: Run 'Get-EvergreenApp -Name "rstudio" -Verbose' to review additional details for troubleshooting.
Get-RStudio : Cannot validate argument on parameter 'File'. The argument is null or empty. Provide an argument that is
not null or empty, and then try the command again.
At C:\Program Files\WindowsPowerShell\Modules\Evergreen\2409.1320\Public\Get-EvergreenApp.ps1:79 char:27
+                 $Output = & Get-$Name @params
+                           ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Get-RStudio], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Get-RStudio
aaronparker commented 2 months ago

Looks like a rebrand and a site update which have removed that update URL

aaronparker commented 2 months ago

Update URL has moved somewhere, but I can't find it so far