[GNC] CSV import/export broken in 5.x?

Dmitry Zotikov dmitry.zotikov at ungrund.org
Thu Oct 17 08:43:56 EDT 2024


Hi all,

has anyone else noticed issues with CSV imports / exports in GnuCash 5.x?

When using "Trading accounts", no transactions under Trading:CURRENCY are
included in the CSV export. Additionally, when importing the exported 
file back,
I get this message: "No new transaction were found in this import."

Used to work just fine in 4.x.

How to reproduce:

* Create a new book with e.g. "A Simple Checkbook" account hierarchy.
* Tick "Use Trading Accounts" in the book properties.
* Set the currency of "Expenses" to e.g. GBP and "Checking Account" to EUR.
* Record a transaction from Checking Account to Expenses.  This would 
correctly
   create 4 splits (2 additional splits under Trading:CURRENCY)
* Export transactions to CSV with default settings (selecting all 
accounts and
   dates).  In the resulting file only 2 splits will be presents, i.e. no
   Trading splits.
* Remove the transaction.
* Import the transactions from the CSV file.  Use GnuCash Export Format 
- the
   CSV file will be correctly parsed.  At the "Match Transactions" step 
the "No
   new transactions" message will be shown.

--
With best regards,
Dmitry


More information about the gnucash-user mailing list