Importing QIF files
Derek Atkins
warlord at MIT.EDU
Mon Feb 2 12:24:33 EST 2015
John Ralls <jralls at ceridwen.us> writes:
> It means that the procedure string=? is expecting two strings to compare and instead got a string and a boolean value.
> The whole snippet is
> ;; this is the grind loop. Go over every unmarked transaction in
> ;; the candidate-xtns list.
> (let xtn-loop ((xtns candidate-xtns))
> (if (and (not (qif-xtn:mark (car xtns)))
> (string=? (qif-xtn:from-acct (car xtns)) far-acct-name))
>
> The reason for the failure can be determined from the nearby code: far-acct-name is initialized to #f and only reset to a valid value if the transaction is a bank transaction, meaning that a separate function gif-xtn:security-name has returned false.
>
> IIRC the QIF importer is only capable of handling basic bank account
> transactions, not security trades.
No, it can import stock and mutual fund transactions.
However it sounds like the QIF file doesn't have the security set?
> Regards,
> John Ralls
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-user
mailing list