-
Notifications
You must be signed in to change notification settings - Fork 36
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
Index calculation error #36
Comments
Sorry for the late reply, I was traveling offline. Can |
No worries. I wouldn't count 9 days later as a particularly late reply anyway.
It essentially reports three kind of errors:
those are the most common error with different version tags
and at the beginning
|
Yes, but it shouldn't lose more than one sample or so. The problem is that the file format I came up with back then when I was young is quite naive, and shutting down the process while writing causes these errors, which manifest in various ways. But thanks to arbtt-recover, not much is usually lost. |
I see. It might make sense to catch these errors in the "analysis tools" and output something like "Oh it seems the logfile was partially corrupted. Try running arbtt-recover and see if that is able to fix it." |
It already does in some circumstances. I can try to cover indeed, thanks for the suggestion. |
Thanks for all your great open source work! |
Is there any hope of fixing up the log manually? Something like detailed descriptions of the binary format? I just ran into this and arbtt-recover reduces the log from 36K to 4K and in addition it's not even usable by arbtt-stats. Losing an entire year of data is quite a bummer. I didn't even interrupt arbtt-capture or anything, was just repeatedly running arbtt-stats. I've moved the log out of the way and restarted the service, this created a new 4K log but arbtt-stats still crashed with |
That's very odd, that it would crash on a fresh log file as well. Do you have multiple |
Not afaict, no. Launchctl only ever lists the one "org.nixos.arbtt" daemon. |
Upon closer inspection, looks like the data was already lost : s I have had to stop/start the service and remove the capture log a couple times before arbtt-stats would stop erroring out though. |
Sorry to hear that, and it’s odd that it failed. Are you on OSX? Maybe you are running into this problem: #128 |
No, it's worked well all year and I'm on an old iMac that can't upgrade to newer versions of macOS. |
Somewhere an index gets messed up because my current log crashes both
arbtt-stats
as well asarbtt-dump
with:arbtt-dump: Prelude.!!: index too large
.I can provide the log file although preferably not publicly.
I believe this happens due to captures while the screen is locked but I have no proof for this.
Any pointers where to look or how to debug this?
The text was updated successfully, but these errors were encountered: