Crash on file parsing with 1.6.2

Michael T. Garrison Stuber garrisonstuber@bellsouth.net
Wed, 31 Oct 2001 17:54:39 -0500


I had something similar happen to me at one time.  There was an extra 
linefeed in the XML file that was causing it to choke.  I ended up 
examining the file by hand.

--On Wednesday, October 31, 2001 01:25:18 PM -0800 Dave Peticolas 
<dave@krondo.com> wrote:

> On Wed, 2001-10-31 at 01:20, Jesse Becker wrote:
>> So I've happily been using gnucash for some time, and have slowly built
>> up enough data so that switching systems would be painful, and the
>> problems start...(isn't that always the case?)
>>
>> Basically, it looks to my untrained eye like the data file I've been
>> writing became corrupted somehow.
>
> Judging from the errors below, you have an account without a currency.
> You have a couple options:
>
> 1) Edit your gnucash data file with a text editor and find a
>    <gnc:account> block without a <act:currency> block inside
>    of it. When you find it, add the act:currency block by
>    copying from another account.
>
> 2) Restore from your most recent .xac backup file.
>
>
>> I'm running Gnucash version 1.6.2 (the rpm build) on a Mandrake 8
> laptop.  I
>> have just started playing with having gnucash fetch quotes from online,
>> and so I ran the 'update-finance-quote' script.  It ran to completion,
>> installing and updating a ton of stuff.  Afterwards, fetching quotes
>> still did not work, so I shutdown gnucash, and restarted it.
>>
>> Gnucash now refuses to read the data file I've been using.
>>
>> If I start gnucash without telling it to open a file, it works fine.  If
>> I give it one of the files I've recently created, it does not work.
>> Creating a brand new (very small) datafile, shutting gnucash down, and
>> re-opening the file does work.
>>
>> I've tried loading the file from the "Open..." menu option, and via the
>> '--load FILE' command line option.  Neither work.
>
> --load is for loading scheme scripts, not data files.
>
> dave
>