<div dir="ltr">Hi Joachim,<br><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 31, 2013 at 10:14 AM, Joachim Breitner <span dir="ltr"><<a href="mailto:mail@joachim-breitner.de" target="_blank">mail@joachim-breitner.de</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Henk,<br>
<br>
Am Donnerstag, den 31.10.2013, 10:10 +0100 schrieb Henk te Sligte:<br>
<div><br>
<br>
>         Does arbtt-recover go through? What does it print?<br>
><br>
><br>
> arbtt-recover goes through but I remember having errors as well when<br>
> working with a larger log file. I might be wrong though, I'm not sure<br>
> about this. In this case, I don't get errors:<br>
> henk@linux-lu3t:~> arbtt-recover<br>
> Found header, continuing... (38513 bytes to go)<br>
<br>
</div>Interesting; why does arbtt-recover not mention the errors?<br>
<div><br>
> In this case I don't get errors after renaming capture.log.recovered<br>
> to capture.log. I'm definitely sure I did get the demandInput: not<br>
> enough bytes error before with a larger log file.<br>
> henk@linux-lu3t:~/.arbtt> mv capture.log capture.old<br>
> henk@linux-lu3t:~/.arbtt> mv capture.log.recovered capture.log<br>
> henk@linux-lu3t:~/.arbtt> arbtt-stats<br>
> Total time per<br>
> tag<br>
> ==================<br>
> Tag_|_Time_|_Percentage_<br>
<br>
</div>Are there really no tags listed output, or did you cut it of from the<br>
log?<br></blockquote><div><br>No, there are no tags listed, but the categorize.cfg is also near empty, and the logfile itself is very minimal. So I didn't expect any output.<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div><br>
> (in case you were wondering why I didn't use --logfile:)<br>
> henk@linux-lu3t:~> arbtt-stats<br>
> --logfile=~/.arbtt/capture.log.recovered<br>
> arbtt-stats: ~/.arbtt/capture.log.recovered: openBinaryFile: does not<br>
> exist (No such file or directory)<br>
<br>
</div>This way, the bash does not resolve ~, try<br>
        --logfile ~/.arbtt/capture.log.recovered<br>
or give a path without ~ (relative or absolute).<br>
<div><br>
<br>
>         When you remove the log file and start with a fresh file, does<br>
>         arbtt-stats immediately give the error message, or only after<br>
>         it has<br>
>         been running for a while?<br>
><br>
><br>
> Yes, it starts immediately with the same error:<br>
> henk@linux-lu3t:~/.arbtt> rm capture.log<br>
> henk@linux-lu3t:~/.arbtt> (arbtt-capture &)<br>
> henk@linux-lu3t:~/.arbtt> arbtt-stats<br>
> arbtt-stats: Data.Binary.Get.runGetState at position 429: demandInput:<br>
> not enough bytes<br>
<br>
</div>Weird. Can you send me such a minimal file that produces the error?<br></blockquote><div><br></div><div>Sure, I attached the file with this email. <br></div><div> <br></div></div>The odd thing is, I just tried installing arbtt on Arch Linux (with cabal) and it doesn't return any errors, it just seems to work properly. I checked the locale settings, but they are both en_US.UTF-8. That was the only thing I could imagine giving issues.<br>


<br></div><div class="gmail_extra">Greetings,<br></div><div class="gmail_extra">Henk te Sligte<br></div></div></div>