-
Notifications
You must be signed in to change notification settings - Fork 905
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
choco outdated failing with "error deserializing response" #790
Comments
This looks like a duplicate of #487 |
We've fixed this for 0.9.10, in that we help you determine the file that has the issue and that we wrap these items coming out of the registry a bit better to prevent the issues in the first place. |
I deleted all of the .registry files in chocolatey/.chocolatey as advised in #487 but am still getting the error. |
Following the advice about null characters in #487 (comment) I looked in the other files in chocolatey/.chocolatey and found a .files file that was full of null characters. Deleting that solved the issue. |
Who advised you to delete all of those .registry files? That removes auto uninstaller's ability to automatically uninstall the software those packages represent. |
Which package was the .files null for? |
I thought that's what #487 (comment) and #487 (comment) were saying to do.
It was MobaXTerm, though I just forced a reinstall and the new .files is not corrupt, so it may have been something on my end. |
The comment said to delete the one file that was causing the issue. Just one file. :) |
Closing as a duplicate. |
What You Are Seeing?
When 'choco outdated' is run the command fails with
"Error deserializing response of type chocolatey.infrastructure.app.domain.PackageFiles: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1. Unable to read files snapshot file: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1."
How Did You Get This To Happen? (Steps to Reproduce)
This has happened on every run of 'choco outdated' after I installed the Inkscape and GIMP packages.
Output Log
Chocolatey is running on Windows v 6.1.7601.65536 Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old". Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old". Command line: "C:\ProgramData\chocolatey\choco.exe" outdated --debug --verbose Received arguments: outdated --debug --verbose
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. Configuration: CommandName='outdated'| CacheLocation='C:\Users\frys\AppData\Local\Temp'| ContainsLegacyPackageInstalls='True'| CommandExecutionTimeoutSeconds='2700'| Sources='https://chocolatey.org/api/v2/'|Debug='True'|Verbose='True'| Force='False'|Noop='False'|HelpRequested='False'|RegularOutput='True'| QuietOutput='False'|PromptForConfirmation='True'|AcceptLicense='False'| AllowUnofficialBuild='False'|AllVersions='False'| SkipPackageInstallProvider='False'|Prerelease='False'|ForceX86='False'| OverrideArguments='False'|NotSilent='False'|IgnoreDependencies='False'| AllowMultipleVersions='False'|AllowDowngrade='False'| ForceDependencies='False'|Information.PlatformType='Windows'| Information.PlatformVersion='6.1.7601.65536'| Information.PlatformName='Windows 7'| Information.ChocolateyVersion='0.9.9.12'| Information.ChocolateyProductVersion='0.9.9.12'| Information.FullName='choco, Version=0.9.9.12, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
The text was updated successfully, but these errors were encountered: