arbtt icon indicating copy to clipboard operation
arbtt copied to clipboard

arbtt-stats: Non-exhaustive patterns in function renderReportText

Open msmart opened this issue 2 years ago • 2 comments

I've pulled latest master (66efc4410fab1f) and used cabal install --installdir=bin --install-method=copy --overwrite-policy=always to install the arbtt binaries.

Running arbtt-capture in the background and arbtt-stats --each-category works as expected.

However:

arbtt-stats --each-category --for-each=year

returns

Processing data [=======================================================================================================================] 100%
arbtt-stats: src/Stats.hs:(398,1)-(413,53): Non-exhaustive patterns in function renderReportText

which is unexpected.

Could this be a an error in the config or is it possibly something else?

Thanks for this helpful tool.

msmart avatar Mar 14 '22 07:03 msmart

Thanks for the report, it's pretty surely a bug in the code. I'll look into it today.

nomeata avatar Mar 14 '22 08:03 nomeata

Can you test #152 and see if that fixed it for you?

nomeata avatar Mar 14 '22 20:03 nomeata