[GNC] Import bug? no account matching options

Grant emailgrant at gmail.com
Thu Sep 26 10:44:15 EDT 2019


> > I'm trying to import transactions I've downloaded from Chase in a QIF
> > file but when I'm importing Gnucash doesn't give me any options to
> > match them to an account (zero accounts in the list) and the button to
> > change the matched account is grayed out.  This is happening with 2
> > separate Chase accounts and I am able to import transactions from
> > another bank just fine.  What could be causing this?
>
> Lack of L lines in the transactions?


I just figured it out.  Chase uses a blank line instead of a line
containing only the "^" character to separate transactions.  I'm using
this to strip the top blank line:

sed -i '/./,$!d' file.qif

and then this to replace all blank lines with the "^" character:

sed -i 's/^[[:blank:]]*$/^/' file.qif

That seems to work.  Surely the Chase files are out of spec but is
this something Gnucash could work around?  If so I'll file a bug.


More information about the gnucash-user mailing list