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

[Fish Shell] Could not deserialize old database error #52

Closed
goodSyntax808 opened this issue Apr 1, 2020 · 2 comments
Closed

[Fish Shell] Could not deserialize old database error #52

goodSyntax808 opened this issue Apr 1, 2020 · 2 comments

Comments

@goodSyntax808
Copy link
Contributor

I'm using Fish for my shell and all of a sudden I started getting this error:

Error: could not deserialize old database

Caused by:
    io error: failed to fill whole buffer

Any idea why this might've started happening? I really loved zoxide btw so great work! Hopefully I can fix this because it's been getting annoying

@goodSyntax808 goodSyntax808 changed the title [Fish Shell] [Fish Shell] Could not deserialize old database error Apr 1, 2020
@ajeetdsouza
Copy link
Owner

ajeetdsouza commented Apr 1, 2020

v0.2 and v0.3 databases are incompatible. There is a script to automatically migrate your database to the new format, but it seems like it is failing on your system. I will try to investigate, but for a quickfix, you can try removing your old database file:

rm ~/.zo

Sorry about that!

@goodSyntax808
Copy link
Contributor Author

Thank you! That worked. I'm assuming I must've updated it without realizing, so I was surprised but the sudden failure. I'm assuming a lot of other people might end up having this issue, so you might want to add this as a note to your readme.

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

2 participants