Bug in QIF importer

Derek Atkins warlord@MIT.EDU
24 Oct 2001 10:11:14 -0400


Conrad Canterford <conrad@mail.watersprite.com.au> writes:

> 6. Get dialog to match qif account to gnucash accounts. Correct match is 
> displayed. Click next.

What match is displayed?  (note that Gnucash uses ':' as an account
seperator internally, which means that "Asset:Cash:CBA:CBA" is the
actual account name.

Another thing to try:  rm ~/.gnucash/qif-accounts-map

> Thats it. It then goes and creates a new account Asset/Cash/CBA/CBA: 
> Water Sprite main trading account. Note that I did not enter or select 
> the account name anywhere - it was the default.

I'm not sure what you mean here.  "/" is not a valid account separator
in Gnucash.  If you are trying to describe a hierarchy that looks like:

Asset
+-Cash
  +-CBA
    +-CBA

Then the proper name is:  "Asset:Cash:CBA:CBA"

> Also note that importing this file into an account that does not contain 
> a ':' does work correctly (as I assumed it would, since I'd expect the 
> complaints to have been rather obvious otherwise... :-)).

Can you do this procedure again after you remove your qif-accounts-map
file?  I'd like to know what you type in for the Account name, etc.

> I repeat - either the qif importer needs to be smart enough to handle 
> this situation and/or the Account creation stuff needs to disallow the 
> separator character in Account names.

Or users should be taught not to use colons in account names ;)
Seriously, you are right that the system should not barf on account
names with colons in them, but unfortunately the text-string representation
of the full path is used in too many places.

> Conrad.

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