Crash on multiple currency accounts QIF import in 1.5.0

linas@linas.org linas@linas.org
Sun, 30 Jul 2000 11:11:24 -0500 (CDT)


Hi,

You probably shouldn't be using version 1.5.0 anyway, its
'experimental'.  I'm forwarding this note to the mailing list, 
the QIF import code is due to bill gribble.

--linas

It's been rumoured that Alistair Mees said:
> 
> Hi.
> 
> I'm having problems with QIF importing accounts with more than one currency.
> 
> If I import directly, both 1.4.2 and 1.5.0 ignore my currency settings and
> make them all the same (AUD, the default).  If I then try to change the
> currency for an account, gnucash insists on making the change for every
> account.
> 
> I tried creating all the accounts first, with the correct currencies, then
> importing.  gnucash 1.5.0 crashed as follows.  (The parse errors are with
> stocks and do not seem to be relevant to the currency problem.)  As you can
> see, the crash happened on trying to rebalance a transfer from GBP to AUD.
> 
> gnucash would be a great program if I could transfer my quicken stuff to it!
> 
> By the way, is there a reason why we can't just tell the import program
> "import all the QIF files in this directory"?  It should then be possible to
> go back and change currencies where needed.
> 
> Thanks for any help you can give, or improvements you can make.
> 
> Alistair
> 
> 
> 
> ===========================
> 
> Summary: 3 possible bugs.
> 1) import ignores currency settings
> 2) gnucash can't change the currency of a single account
> 3) import crashes if the accounts already exist with the correct currencies
> 
> ===========================
> 
> 
> 
> This is a development version. It may or may not work. 
> Report bugs and other problems to gnucash-devel@gnucash.org 
> The last stable version was gnucash-1.4.1 
> The next stable version will be gnucash-1.6.x 
> 
> 
> 
> Gdk-WARNING **: locale not supported by C library
> /bin/sh: /usr/bin/esd: Permission denied
> qif-parse:parse-action-field : unknown action field "ScrIssue"
> qif-parse:parse-action-field : unknown action field "ScrIssue"
> qif-parse:parse-action-field : unknown action field "ScrIssue"
> qif-parse:parse-action-field : unknown action field "ScrIssue"
> qif-parse:parse-action-field : unknown action field "ScrIssue"
> qif-parse:parse-action-field : unknown action field "RtrnCap"
> qif-parse:parse-action-field : unknown action field "RtrnCap"
> Error: xaccSplitRebalance: no common split currencies
> Error: xaccSplitRebalance:      account=Midland cheque currency=GBP security=
> Error: xaccSplitRebalance:      account=Cw Savings currency=AUD security=
> gnucash: Transaction.c:992: xaccSplitRebalance: Assertion `0' failed.
> Aborted
> 
> 
> 
> 
> 
> -- 
> Alistair Mees, The University of Western Australia
> alistair.mees@uwa.edu.au, phone +61 41 788 3387
> 
>