gnucash-android icon indicating copy to clipboard operation
gnucash-android copied to clipboard

Error exporting CSVT file, division by zero

Open d687r02j8g opened this issue 5 years ago • 3 comments

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

  • GnuCash Android version: 2.4.1 beta 2
  • System Android version: Android 10
  • Device type: OnePlus 6t

d687r02j8g avatar Nov 25 '19 23:11 d687r02j8g

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)

d687r02j8g avatar Nov 26 '19 00:11 d687r02j8g

Error still actual on v2.4.1-beta3

Borisov-German avatar Dec 02 '19 13:12 Borisov-German

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).

FatherMcGruder avatar Jul 21 '20 17:07 FatherMcGruder