New issue 156: Internal error (to do with sorting/serializing)
https://bitbucket.org/blais/beancount/issues/156/internal-error-to-do-with-sorting
Martin Blais:
This is an error in Beancount (although Fava could handle it better and still render the page).
@blais: In this line (where Beancount renders the DisplayContext to a string) it tries to sort the dict of currencies to _CurrencyContexts. That's fine if all the currencies are strings, but in this case a _CurrencyContext for beancount.core.number.MISSING has been generated which causes the TypeErrror as the index is of type type and not str. Either DisplayContext.__str__ should handle this case or this _CurrencyContext should be prevented from being created in the first place.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
https://github.com/beancount/fava/issues/472#issuecomment-273048476
Responsible: blais