codinguser / gnucash-android

Gnucash for Android mobile companion application.
Apache License 2.0
1.23k stars 540 forks source link

Error exporting CSVT file, division by zero #847

Open d687r02j8g opened 4 years ago

d687r02j8g commented 4 years ago

Steps to reproduce the behaviour

  1. Export > transactions since all time > press export

Expected behaviour

Transactions get exported to desired format

Actual behaviour

Get a message saying

Error exporting CSVT file Division by zero

Software specifications

d687r02j8g commented 4 years ago

It may be related to

https://github.com/codinguser/gnucash-android/blob/a9fcb9fcd16c883d235c59abd0ea8684a2124730/app/src/main/java/org/gnucash/android/export/csv/CsvTransactionsExporter.java#L137

This issue doesn't occur when you export to qif or XML (with XML there is another error as per https://github.com/codinguser/gnucash-android/issues/846#issue-528403574)

Borisov-German commented 4 years ago

Error still actual on v2.4.1-beta3

FatherMcGruder commented 4 years ago

Error still actual on v2.4.1-beta3

I get this error too in the same version. My device is a OnePlus 7T running Android 10 (Oxygen OS 10.0.11.HD65AA).