On Fri, 17 Mar 2000 17:12:36 +0100, the world broke into rejoicing as
Jan-Uwe Finck <[EMAIL PROTECTED]>  said:
> I've just made a cvs-update and a rebuild to get the new QIF-Import.
> Fine so far. But any try to use it crashes Gnucash. Not that fine.
> 
> The crashes occur either directly at trying to load the *.qif-files or
> when pressing 'ok' to accept them. The *.qif-files are produced by
> Quicken2000, german version. Gnucash running on Debian unstable.
> 
> I know these informations are not that detailed,  if more are needed,
> let me now.

I'm hitting roughly the same situation; I've got some samples from Q/99
that cause GnuCash to crash with a ridiculous complaint that it's getting
the wrong type of argument in main.scm, for function (gnc:ui-main).
Which is nonsense, as (gnc:ui-main) accepts no arguments...

I've done some "cleaning" of the code, which I'll be submitting 
shortly.  It is as successful at loading .QIFs as the older code, and:
  a) Resolved some problems with splits
     The code that skips splits if they're associated with investments
     wasn't actually doing that; it was skipping 'em any time they
     weren't on a bank account.  Which crashes and burns if there's
     a split on a credit card account...
  b) Moved some large (or (eq? a 'b) (eq? a 'c) (eq? a 'd)) statements
     to (member a '(b c d)), which is quicker and clearer
  c) A few (let's) here and there to eliminate some multiple-calculations
     of values
  d) A couple 'o new HTML functions
  e) Moved (gnc:support whatever) to the *top.*  That prevents a situation
     where two files reference each other, and then get into a "dependancy
     loop."
  f) Turned some (cond ((eq? a #\whatever) (do-something)) structures into
     (case a ((#\whatever) (do-something))) which is a bit clearer and could
     (someday) be optimized better by the Scheme system.

Not perfect, but a step closer...
--
"We're all  a little weird.  And life is  a little weird. And  when we
find someone whose weirdness is  compatible with ours, we join up with
them  and  fall into  mutually  satisfying  weirdness  - and  call  it
love..." -- R. Fulghum
[EMAIL PROTECTED] - <http://www.hex.net/~cbbrowne/lsf.html>

--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]

Reply via email to