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

dbutils/pwutil corrupts DB #1228

Closed
mike347 opened this Issue Aug 19, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@mike347
Member

mike347 commented Aug 19, 2018

dbtools/pwutil -i -d 1 -p foobar game/data/outdb

[08/19 06:41:15] Bad attribute name COUNT` on object #14295
[08/19 06:41:16] DB: Garbage after quoted string, line 1526929
[08/19 06:41:16] ERROR: Unable to read data/indb. Giving up.

[08/19 06:41:16] ERROR: Couldn't load databases! Exiting.

This happens every time I try to use the new pwutil.
It also seems to change the ordering of how flags are stored, so a diff is very hard to read on large DBs
Using nano (since Atom and other editors failed) This is line 1526929 (before the pwutil hits it)
name "DESC_\"EGGROLL\"" and after pwutil runs: name "DESC_"EGGROLL""`

While I'd argue that " shouldn't be a valid character to use in an attribute name, pwutil needs to handle it. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment