Gnucash 2.2.8 - won't open accounts file

Steve Bamber s.bamber at virgin.net
Tue Jan 6 10:21:10 EST 2009


turns out my problem was a bit more subtle than being unable to parse 
the accounts file

using the logging facility i managed to narrow down the problem to 
entries that were related to a particular security (a share traded on 
the FTSE whose ticker symbol was NIS)

any accounts or prices related to this symbol where throwing an error to 
the effect that the commodity didn't exist - even thought it was clearly 
present in the file

curiously when i changed the ticker symbol from NIS to anything else the 
file would load without a problem

didn't make much sense to me until i trawled through the gnc-commodity.c 
code and discovered the following change new in 2.2.8

   {"NIS", "ILS"}, /* New Israeli Shekel: The informal abbreviation may 
be "NIS", but
                      its iso-4217 is clearly ILS and only this! 
incorrectly changed
                      due to bug#152755 (Nov 2004) and changed back 
again by bug#492417
                      (Oct 2008). */

looks like my stock symbol was being incorrectly identified as a new 
israeli schekel and having its code changed to ILS when it was loaded - 
even though its prices and other references still referred to NIS

not sure if this constitues a bug or just an unfortunate choice of 
ticker symbol - i've got round the problem by just changing the symbol 
to something else

cheers
steve

Steve Bamber wrote:
> just tried the upgrade from 2.2.7 to 2.2.8 (gentoo linux) but 2.2.8 
> won't open my accounts file - gives the message
> 
> "There was an error parsing the file"
> 
> the file opens with any problems in 2.2.7
> 
> anyone had similar problems?
> 
> cheers
> steve
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
> 



More information about the gnucash-user mailing list