Package: ledger
Version: 3.2.1-7
Severity: important

This valid transaction leads to an error:

2012-07-01 * Test
   A      (1/9 FOO) @ 200.00 EUR
   B                  -22.22 EUR

While parsing file "/home/tbm/tmp/src/ledger/d", line 3:
Error: Divide by zero

This was reported more than 10 years ago:
https://github.com/ledger/ledger/issues/777
and more recently:
https://github.com/ledger/ledger/issues/2207

This issue was recently fixed by this comment:
https://github.com/ledger/ledger/commit/49cf3323ae2079b7ce1be101dc43780ce8e4296e

If you want, you could apply this fix to 3.3.0... but it's been there
for a long time so maybe it doesn't affect that many people.  You can
close this bug report if you prefer.

-- 
Martin Michlmayr
https://www.cyrius.com/

Reply via email to