codinguser / gnucash-android

Gnucash for Android mobile companion application.
Apache License 2.0
1.22k stars 538 forks source link

GnuCash exports QIFs within a compressed archive, but confusingly gives the archive a .qif file extension rather than a .zip extension. #889

Open FatherMcGruder opened 4 years ago

FatherMcGruder commented 4 years ago

Steps to reproduce the behaviour

  1. Use the export to QIF function within the app.

Expected behaviour

The app should produce a QIF file that is human readable in a text editor and compatible for import into the GnuCash desktop program.

Actual behaviour

The app generates a QIF file that GnuCash desktop will not import and will not open properly in a text editor. None of the encodings the text editor lets me choose from, including UTF-8, UTF-16, and ISO-8859-15, render the file in a readable format. compressed archive with a .qif extension rather than .zip. The actual QIF file (multiple if you have transactions in different currencies) is not usable with GnuCash Desktop unless you extract it with an archive manager, which is not obvious and rather frustrating. Some text editors will successfully open the compressed QIF if there is only one actual QIF within (if there are only transactions in one currency), which adds to the confusion.

Software specifications

Thumas commented 3 years ago

The problem is that the user has to choose the file name before the data is exported. If the app finds multiple currencies, it creates a zip archive and moves it to the chosen location, without telling the user it had to do that. I think the best way to resolve this is to always create a zip file, even if you only have one QIF file to export. That way we do not have to overrule the user's file name choice or inform him about the result. The minor inconvenience of having to extract the file before importing it into GnuCash desktop is acceptable IMHO.

FatherMcGruder commented 3 years ago

This proposal would be a slight inconvenience, but it would save a lot of confusion and frustration.

On June 20, 2021 8:31:10 AM EDT, Thomas @.***> wrote:

The problem is that the user has to choose the file name before the data is exported. If the app finds multiple currencies, it creates a zip archive and moves it to the chosen location, without telling the user it had to do that. I think the best way to resolve this is to always create a zip file, even if you only have one QIF file to export. That way we do not have to overrule the user's file name choice or inform him about the result. The minor inconvenience of having to extract the file before importing it into GnuCash desktop is acceptable IMHO.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/codinguser/gnucash-android/issues/889#issuecomment-864547049 -- Sent from my Android device with K-9 Mail. GnuPG encryption available upon request.