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

Database tick: 0 does not match supplied tick: 2000 (after release 0.14) #126

Open
gennaro-tedesco opened this issue Feb 28, 2023 · 12 comments
Assignees
Labels
bug Something isn't working

Comments

@gennaro-tedesco
Copy link

After the latest release

zenith -V
zenith 0.14.0

invoking zenith results in an exception

Database tick: 0 does not match supplied tick: 2000.
Proceed with (D)atabase tick: 0, (S)upplied tick with history disabled: 2000, (E)xit?:

independent of the arguments given.

My architecture is the following, if it helps

Machine:    MacBookPro18,1 
Kernel:     Darwin 22.3.0  
OS:         macOS 13.2.1 Ventura
Terminal:   iTerm2 (Version 3.4.19)
@bvaisvil bvaisvil self-assigned this Feb 28, 2023
@bvaisvil bvaisvil added the bug Something isn't working label Feb 28, 2023
@bvaisvil
Copy link
Owner

Thanks for reporting. The newer version does compression on the history database. Apparently, it isn't reliably detecting that the current history isn't compressed. Fix for now would be to delete your store /Users/<user>/Library/Caches/zenith/store.

@gennaro-tedesco
Copy link
Author

I confirm that deleting Library/Caches/zenith/store works for the moment :)

@bvaisvil
Copy link
Owner

Great, you wouldn't happen to have a copy of that file still? Would be helpful in tracking down the issue.

@gennaro-tedesco
Copy link
Author

Unfortunately not :(

@noyez
Copy link
Contributor

noyez commented Mar 2, 2023

@bvaisvil I have the same issue, and still have the DB file, its 228Mb, if you'd like it, let me know.

@bvaisvil
Copy link
Owner

bvaisvil commented Mar 2, 2023

@bvaisvil I have the same issue, and still have the DB file, its 228Mb, if you'd like it, let me know.

Yes, please! It should compress rather well. Hopefully small enough to add to the issue.

@noyez
Copy link
Contributor

noyez commented Apr 5, 2023

@bvaisvil I have the same issue, and still have the DB file, its 228Mb, if you'd like it, let me know.

Yes, please! It should compress rather well. Hopefully small enough to add to the issue.

Sorry for the delay, here is the gzip'd zenith store, which casuses the error in the original issue above.

zenith_store_currupt_store.gz

@bvaisvil
Copy link
Owner

bvaisvil commented Apr 5, 2023

Thank you!

@TheSirC
Copy link

TheSirC commented May 19, 2023

I have one too, are you interested ?

@bvaisvil
Copy link
Owner

Yes, that would be very helpful.

@TheSirC
Copy link

TheSirC commented May 23, 2023

Here it is : sorry for the long response
store.gz

@bvaisvil
Copy link
Owner

No worries. I've been super busy, myself. Thank you very much for the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants