QIF Import fails out of CVS

Derek Atkins warlord@MIT.EDU
12 Feb 2001 19:13:56 -0500


So, I decided to try the importer without using the new account
chooser.  If I just keep hitting "next" then I still get the error
window "An error occurred while importing QIF transactions into
Gnucash.  Your accounts are unchanged" and I get this error in my
xterm:

Backtrace:
 0* [eval (gnc:main)]
 1* [gnc:main]
 2* (if (null? gnc:*batch-mode-things-to-do*) (begin (gnc:hook-add-dangler gnc:*ui-shutdown-hook* gnc:ui-finish) (gnc:ui-init) ...) ...)
 3  (begin (gnc:hook-add-dangler gnc:*ui-shutdown-hook* gnc:ui-finish) (gnc:ui-init) ...)
 4* (if (and (not #) (equal? # 1)) (begin (gnc:show-new-user-window) (gnc:start-ui-event-loop)) ...)
 5  (begin (gnc:load-account-file) (gnc:default-ui-start) ...)
 6  [gnc:start-ui-event-loop]
 7* [qif-import:qif-to-gnc (#<qif-file path: /home/warlord/GnuCash/Chase.qif y2k-threshold: 50 xtns: # accounts: () cats: () classes: ()>) #(() () () ...) ...]
 8* [gnc:backtrace-if-exception #<procedure qif-import:qif-to-gnc-unsafe (qif-files-list qif-acct-map qif-cat-map ...)> #(() () () ...) ...]
 9  [catch ignore #<procedure ()> ...]
10* [#<procedure ()>]
11* [lazy-catch #t #<procedure ()> ...]
12* [#<procedure ()>]
13* [apply #<procedure qif-import:qif-to-gnc-unsafe (qif-files-list qif-acct-map qif-cat-map ...)> (#(() () () ...) #(# () () ...) #(() # () ...) ...)]
14  [qif-import:qif-to-gnc-unsafe #(() () () ...) #((#) () () ...) ... ...
ERROR: While evaluating arguments to qif-import:qif-to-gnc-unsafe in expression (@apply fun (apply:nconc2last args)):
ERROR: Wrong number of arguments to #<procedure qif-import:qif-to-gnc-unsafe (qif-files-list qif-acct-map qif-cat-map qif-memo-map stock-map default-currency-name)>

-derek

grib@gnumatic.com (Bill Gribble) writes:

> On Mon, Feb 12, 2001 at 01:15:47PM -0500, Derek Atkins wrote:
> > Ok, I can wait a couple hours ;)
> > 
> > -derek
> 
> OK, I sent the patch in that (I believe) fixes your problem.  When you
> get a chance to try it out, please let me know if that's not true.
> 
> Thanks
> b.g.

-- 
       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@MIT.EDU                        PGP key available