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

arbtt-stats: Non-exhaustive patterns in function renderReportText #151

Open
msmart opened this issue Mar 14, 2022 · 2 comments · May be fixed by #152
Open

arbtt-stats: Non-exhaustive patterns in function renderReportText #151

msmart opened this issue Mar 14, 2022 · 2 comments · May be fixed by #152

Comments

@msmart
Copy link

msmart commented Mar 14, 2022

I've pulled latest master (66efc44) 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.

@nomeata
Copy link
Owner

nomeata commented Mar 14, 2022

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

nomeata added a commit that referenced this issue Mar 14, 2022
this is not great and may need more cleanup, but it fixes #151 for now
@nomeata
Copy link
Owner

nomeata commented Mar 14, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants