zoxide
zoxide copied to clipboard
`Could not deserialize database`: Slice had bytes remaining after deserialization
▲ ~ cd dotfi
zoxide: could not deserialize database
Caused by:
Slice had bytes remaining after deserialization
▲ ~ ls ~/.local/share/zoxide
.rw-rw-rw- 75Ki mrus mrus 2023-07-20 09:07 db.zo
.rw-r--r-- 0 mrus mrus 2023-02-24 01:51 tmp_Cym5ZBJcj1rw
.rw-r--r-- 0 mrus mrus 2023-03-14 17:55 tmp_jXlKpg8mIl3H
▲ ~ zoxide --version
zoxide v0.9.1
I cannot seem to be able to cd
into any folder anymore btw.
I'm not sure how, but it seems your database file has gotten corrupted. Unfortunately, the only fix is to delete the DB:
rm ~/.local/share/zoxide/db.zo
@ajeetdsouza I temporarily moved it to .old
to be able to resume work; Are you interested in any specifics of it? I clearly can't send you the whole file, but if you want me to look into it for some hints let me know!