-
Notifications
You must be signed in to change notification settings - Fork 40
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
(Vortex 1.10.7) "... Cannot convert value to type System.String ..." upgrade bug #212
Comments
Thanks for raising this issue! The packages within this repository are maintained in my spare time. My spare time, like yours is important. Please help me not to waste it. To help me, and to have the issue resolved more quickly, please see CONTRIBUTING for how to raise a pull request to resolve the issue yourself. Thank you. |
I'm experiencing the same issue when attempting to upgrade from Vortex Linking to related issue in previous maintainer repo: JourneyOver/chocolatey-packages#70 WingetUI Log:
|
Note that the line that has Can you try to upgrade using the |
I noticed my Toggle to expand/collapse "chocolateyInstall.ps1"$ErrorActionPreference = 'Stop'
$packageName = 'vortex'
$toolsDir = Split-Path $MyInvocation.MyCommand.Definition
$fileLocation = Get-Item "$toolsDir\*.exe"
$packageArgs = @{
packageName = $packageName
fileType = 'exe'
file = $fileLocation
silentArgs = "/S"
validExitCodes = @(0)
}
Install-ChocolateyInstallPackage @packageArgs
# Remove the installers as there is no more need for it
Remove-Item $toolsDir\*.exe -ea 0 -Force I tried manually altering it to the latest version you linked, In the end I successfully installed choco uninstall vortex -y
choco install vortex -y |
The I genuinely don't know what is causing this as I can't reproduce it, but more than one other person is so I acknowledge it's a problem. Without the logs I mentioned, I don't have anything to go on (and maybe even if I do have them, it won't be obvious what is the issue). Maybe @myrmeleontidae can provide them. |
No updates on this one so I'm going to close it. |
Checklist
(<PACKAGENAME>) <ISSUE SUMMARY>
.Chocolatey Version
2.2.2
Chocolatey License
None
Package Version
1.9.13 ->1.10.7
Current Behaviour
The part of the log where the error occurs:
Contents of '...\chocolateyInstall.ps1':
All the files in the '...\vortex\tools' subdirectory:
.skipAutoUninstall
chocolateyInstall.ps1
chocolateyUninstall.ps1
vortex-setup-1.9.13.exe.ignore
There is no '...\vortex.install' directory in '...\chocolatey\lib', just '...\vortex'.
Expected Behaviour
Successful upgrade after 'choco upgrade vortex' or 'choco upgrade all' commands to the CLI.
Steps To Reproduce
Environment
Chocolatey Log
Anything else?
There were two different error messages, one argument transformation failure, and a slightly different error after uninstalling and then reinstalling 1.9.13. The latter error yielded a pop-up toast from Vortex, stating "older files were not cleaned up" (paraphrasing).
A long shot, but the issues may have something to do with adverse behaviour while using my VPN, although why, I have no idea.
The text was updated successfully, but these errors were encountered: