Importing QIF fails
Derek Atkins
warlord at MIT.EDU
Tue Dec 6 11:34:23 EST 2005
Ron Pepper <feffer777 at gmail.com> writes:
> qif-file:read-file : unknown Security slot G .. continuing anyway.
> qif-file:read-file : unknown Security slot G .. continuing anyway.
> qif-file:read-file : unknown Security slot G .. continuing anyway.
> qif-split:parse-category : can't parse Int Income
>
> Last line reads as above, but copies as:
> qif-split:parse-category : can't parse \uffffInt Income
>
> Don't know what this means exactly, but I guess the error is somewhere in
> interest income. Any ideas about how to isolate this further?
It looks like you've got some extra unicode characters in your
qif file that's causing the QIF Parser to Barf. In particular
it means you don't match this regex when trying to parse the qif
category:
(define qif-category-compiled-rexp
(make-regexp "^ *(\\[)?([^]/\\|]*)(]?)(/?)([^\|]*)(\\|(\\[)?([^]/]*)(]?)(/?)(.*))? *$"))
You might want to hand-edit your file and remove any extra
unicode characters like that.
> Thanks,
> Ron
-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