Ubuntu 14.04 arbtt-stats index with big error

I recently installed arbtt, which seems to be an intermediate, rule-based, automatic time clock. http://arbtt.nomeata.de/#what

This works for me for the most part, but after 30 minutes or so of collecting statistics, I get the following error.

Processing data [=>......................................................................................................................................................................................]   1%
arbtt-stats: Prelude.(!!): index too large

Does anyone have any suggestions on how I can fix this problem or, even better, solve it? I have experience with the coding language used to create the rules (Haskell, I believe). Everything I have done about this should be as close as possible to the documentation.

This error ultimately makes the tool useless because it does not collect data for no more than 30 minutes. To fix this, I have to delete the log and start from scratch. I'm primarily interested in the concept of custom, time-based rule-based tracking, but I'm in no way attached to using arbtt.

Based on the comments below, I will add the following information below.

When I try to run arbtt-recover, I get a long list of errors that look like this. All of them seem to be related to the Unsupported TimeLogEntry.

Trying at position 1726098.
Failed to read value at position 1726098:
   Unsupported TimeLogEntry version tag 0

Regarding the configuration file, here is what I still have.

$idle > 30 ==> tag inactive,

-- A rule that matches on a list of strings
current window $program == ["Chrome", "Firefox"] ==> tag Web,

current window $program == ["skype"]  ==> tag Skype,

current window $program == ["jetbrains-phpstorm"] ==> tag PhpStorm,

( current window $title =~ m!Inbox! ||
  current window $title =~ m!Outlook! ) ==> tag Emails,

( current window $title =~ m!AdWords! ||
  current window $title =~ m!Analytics! ) ==> tag Adwords,

This continues, but I'm sure I stuck with this syntax for all the other lines. The rest of the lines correspond to the same format, but for me the project / client. If necessary, I am happy to add the rest of the file.

+4
1

: ~/.arbtt/capture.log.

  • running arbtt-recover
  • ~/.arbtt/capture.log.recovered ~/.arbtt/capture.log.

, . , , arbtt-stats , --logfile=~/.arbtt/capture.log.recovered.

, , . , (, ), arbtt-recover, .

+6

All Articles