Problem mit QIF-Import (1.8.0)
Derek Atkins
warlord at MIT.EDU
Mit Feb 5 08:38:34 CST 2003
Yes, this is a known bug with 1.8.0, which I discovered two days ago.
It has been fixed in CVS and we're planning a 1.8.1 to fix the problem
REALLY SOON.
I appologize deeply for the bug. If you want to continue using
GnuCash 1.8.0 and fix this bug in your own sources, open
src/import-export/qif-import/qif-file.scm and go to line 461 (the
last line in the definition of qif-file:reparse-dates), and change
the line to read:
(lambda (t e) e) 'date))
In particular, you need to add the "'date". This will fix the crash
you are seeing.
I truly appologize for this bug. I'm my fault.. I _thought_ I tested
it, but clearly not well enough.
-derek
Christian Stimming <stimming at tuhh.de> writes:
> Hi Andreas,
>
> the hackers of the QIF-Import can be found on the english-speaking
> Mailing list gnucash-devel at gnucash.org . I'm forwarding your message
> to there. Also, you might also simply file a bug in bugzilla,
> http://bugzilla.gnome.org/enter_bug.cgi?product=GnuCash
>
> Andreas Hölscher wrote:
>
> > ich habe ein Problem beim Einlesen eines QIF-Files:
> > sobald ich die Datei und das Datumsformat ausgewählt habe, beendet sich
> > gnucash ohne Fehlermeldung. Starte ich es mit --loglevel 6 bekomme ich
> > folgende Ausgabe:
>
>
> [translation: I've chosen a QIF file, chosen the date format, and then
> gnucash exits without any error message. When running gnucash with
> --loglevel 6 , the following is printed:]
>
>
> > ========%=========
> > Backtrace:
> > 0* [qif-file:reparse-dates # d-m-y]
> > 1* (check-and-parse-field qif-xtn:date qif-xtn:set-date! ...)
> > /usr/local/share/gnucash/scm/qif-import/qif-file.scm:449:3: In
> > expression
> > (check-and-parse-field qif-xtn:date qif-xtn:set-date! ...):
> > /usr/local/share/gnucash/scm/qif-import/qif-file.scm:449:3: Wrong number
> > of arguments to #<procedure check-and-parse-field (getter setter equiv-
> > thunk checker formats parser objects printer on-error errormsg errortype)>
> > =======%========
> > Meine QIF-Datei sieht folgendermaßen aus:
>
>
> [that's how my QIF-file looks:]
>
>
> > !Type:Bank
> > D27.01'03
> > T-82,56
> > MCOMET RIECK ELV54024952 25.01 10.49 ME0
> > ^
>
>
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at lists.gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
--
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