-
-
Notifications
You must be signed in to change notification settings - Fork 346
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
[Bug]: ValveKeyValue.KeyValueException: Found end of file when another token type was expected #4197
Comments
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
Hi @engiefox and @TheMainMan23 and @eecano and @kretze and @ZolderonGitHub and @Halbann, thanks for reporting this! This error indicates a problem parsing one or more of the We will probably have to simply ignore parsing errors in this step (presumably with some logging so it's clear which files won't parse), but it would be best to figure out what specifically is going wrong with those files. If you're able to help, please put your Thanks! |
I stepped through the code and found it was just one acf file responsible that was just a few hundred null bytes with no text. I don't own the game it was for anymore. I deleted the file and CKAN worked fine after that. Side note: the file was last modified in 2018 so it had obviously been there corrupted for some time without Steam cleaning it up. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Hi @kretze, thanks for replying. The thing that would help us to investigate this would be a ZIP file containing all of your I'm going to "hide" your comment as off-topic because it introduces a number of topics that do not seem to be related to this issue thus far, and I don't want this discussion to get sidetracked. If you would like to discuss other things, please start a new issue. Thanks! |
steamapps_acfs.zip |
I have multiple drives, do you need acfs from all of them? |
Hi @engiefox, thanks! The best thing to do first is to test the fix as explained in my comment above: #4197 (comment) We can look into these files if you still have issues with that build. |
The dev build is accessible here: https://ksp-ckan.s3-us-west-2.amazonaws.com/ckan.exe since you can’t launch ckan to get to the settings menu :p |
No issues with the dev build |
@kretze, there's a |
Just located the offending file, it was an acf_back file called appmanifest_970960.acf_back and it was just an empty file. I checked the corresponding acf file with the same number and it was for Rebel Cops, don't know if that helps any. |
i couldnt find any corrupted files, but the dev build works |
FYI, dev build CKAN v1.35.1.24278 - KSP 1.12.5.3190 writes this to the console:
WIndows 10. |
@sizilium yup, it's supposed to do that for people with corrupted files so we can tell which files are corrupted and what problems they caused. If you don't like it, you can delete those files (after inspecting them to confirm they're corrupted). |
@HebaruSan thx, I can confirm the file is corrupt and will delete it (content is |
Is there an existing issue for this?
Operating System
Windows 11
CKAN Version
1.35.0
Games
KSP 1
Game Version
1.12.5
Did you make any manual changes to your game folder (i.e., not via CKAN)?
No
Describe the bug
Launching CKAN after updating to 1.35.0 from 1.34.4 fails to launch, only displaying a command window with the attached log
Steps to reproduce
.acf
file in your Steam library with something weird about it (still investigating, but so far one user has found a file containing nothing but null bytes)Workaround
Delete corrupted
.acf
files from your Steam libraryRelevant log output
CKAN/Core/SteamLibrary.cs
Line 60 in 7568b2e
The text was updated successfully, but these errors were encountered: