Skip to content
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

Error updating from local files: Unexpected character '52' found when expecting key. #64

Closed
Dark-talon opened this issue Sep 10, 2016 · 24 comments

Comments

@Dark-talon
Copy link

No description provided.

@Dark-talon Dark-talon changed the title Error updating from local files: Unexpected character Error updating from local files: Unexpected character '52' found when expecting key. Sep 10, 2016
@Dark-talon
Copy link
Author

Just upgraded to 7.1.3 and this is happening.

@Theo47
Copy link
Owner

Theo47 commented Sep 10, 2016

So this only happens on version 7.1.3 and not on 7.1.2?

Can you upload your Steam\appcache\appinfo.vdf file?

@Dark-talon
Copy link
Author

No this apparently happens on all versions back to 6.3.0. Just tried them one by one.

@Dark-talon
Copy link
Author

https://ufile.io/41d46

@Dark-talon
Copy link
Author

I tried on my other computer now its saying '64' is the unexpected character.

@Theo47
Copy link
Owner

Theo47 commented Sep 10, 2016

My bad. Apparently what i need is Steam\appcache\packageinfo.vdf

Can you upload that?

@Dark-talon
Copy link
Author

https://ufile.io/b7135

@Theo47
Copy link
Owner

Theo47 commented Sep 10, 2016

That was quick.

@Dark-talon
Copy link
Author

Any luck?

@Theo47
Copy link
Owner

Theo47 commented Sep 10, 2016

Well your packageinfo.vdf file allowed me to reproduce the problem.

The problem is that it is reading something from packageinfo.vdf that it didn't expect.

Sadly packageinfo.vdf is a mess so i have no idea what we were expecting to read from there in the first place. I'll have to take a closer look on the code in order to figure that out.

@DarkDerry
Copy link

Same problem here--I've never had a problem with this before, until 0.7.1.3. I also tried to go back several versions and the problem is in those versions now too (they weren't before and worked fine).

My says "Unexpected character '10' found when expecting key." Originally, I was getting "Unexpected character '48' found when expecting key.", but I saw this post, deleted my vdf files and redownloaded them, then it changed from '48' to '10'.

@ibigfire
Copy link

My unexpected character is 57, if that helps. Would you like my packageinfo.vdf as well?

@kazerniel
Copy link

kazerniel commented Oct 18, 2016

I have this error too nowadays whenever I open Depressurizer. My number is '51'. Also the most recent game in my library (G Prime, SteamID 497430) doesn't show up in Depressurizer even after updating the game list. Maybe it's related?

I use 7.1.3, and here's my appinfo.vdf https://ufile.io/dfb2

@bloodythorn
Copy link

bloodythorn commented Oct 29, 2016

Same issue, cept character '45'.


Error updating from local files:

Unexpected character '45' found when expecting key.


appinfo.vdf.txt

@Zhuinden
Copy link

They've probably changed the file format, and reading through the VDF came from the original "rallion" version.

I wonder if there is another data source for this data...

@Zhuinden
Copy link

There is a file here named C:/Program Files (x86)/Steam/userdata/74694030/7/remote/sharedconfig.vdf which seems to contain what category each game is put into, but it doesn't seem to show games that do not have any categories -_-

@Theo47
Copy link
Owner

Theo47 commented Oct 30, 2016

Yeah, it seems that Steam changed its format for packageinfo.vdf which is what is causing the problem. What number you get isn't important. It is just the hex code of the first character it didn't expect to read.

Depressurizer was supposed to fall back to updating the gamelist from the web if local update failed but it seems that didn't work properly either.

For now, i disabled local update till i can get packageinfo.vdf parsing working again and fixed the web update.

So can someone try this version and tell me if it works correctly? Mainly if all games appear properly now.

https://dl.dropboxusercontent.com/u/46188332/depressurizer.zip

@Copypasty
Copy link

Yup, no error pops up and everything else seems to be working as intended when I run that. (I too was having the character error pop up)

@Zhuinden
Copy link

@Theo47 yes, it works!

@n0x11
Copy link

n0x11 commented Nov 7, 2016

No error popups for me with the new version from the dropbox link.
Only half my games are shown in depressurizer though.

@Zhuinden
Copy link

Zhuinden commented Nov 7, 2016

@n0x11 is your profile public or private? You might need a public profile for web sync.

@Theo47
Copy link
Owner

Theo47 commented Nov 7, 2016

@n0x11 When you launch depressurizer, at bottom it should say something like "Updated X DB entries from AppInfo". Can you tell me what X is?

Also can you go to Profile->Edit Profile Info->Ignored Games and check "Don't ignore unknown apps"? Restart depressurizer after that (saving changes) and see if it recognizes more games.

@n0x11
Copy link

n0x11 commented Nov 7, 2016

Oh sorry guys, @Zhuinden was right..
I must have changed it in the past..

Thank you and keep up the amazing work!!

@Theo47
Copy link
Owner

Theo47 commented Nov 7, 2016

In that case i am closing this. New version should be (officially) out in a few mins.

@Theo47 Theo47 closed this as completed Nov 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants