Master - saving to xml broken

John Ralls jralls at ceridwen.us
Fri Dec 2 11:50:30 EST 2016


> On Dec 2, 2016, at 8:38 AM, Geert Janssens <geert.gnucash at kobaltwit.be> wrote:
> 
> Op vrijdag 2 december 2016 17:20:13 CET schreef Geert Janssens:
>> Here's my scenario:
>> 
>> - start gnucash
>> - create new file
>> - go through the assistant, simply by clicking forward everywhere
>> - save the file
>> - add one vendor
>> - save the file
>> - restart gnucash
>> 
>> => error as described earlier
>> 
>> Checking my data file, it does indeed have the vendor stored twice. I'm
>> currently doing a full clean rebuild of gnucash master (freshly checked out
>> from github). I'll report my findings when the build finishes.
>> 
>> Geert
>> 
> 
> Ok, clean rebuild of current master. Things are even worse. Same steps as 
> above.
> 
> After the assistant finishes, I'm offered a save dialog. I'm entering a new 
> file name (of a non-existent file). A second dialog window pops up telling me 
> the file is already open and asks whether I want to save over it. At the same 
> time this message is printed in the logs:
> * 17:30:49  WARN <gnc.backend> [GncXmlBackend::session_begin()] Might clobber, 
> no force
> 
> I tell gnucash to overwrite and the save dialog closes. The window title is 
> changed to *Double.gnucash (I chose "Double" as file name).
> This suggests the file is not saved yet. Looking on the file system it's not 
> there indeed. But the lock files are.
> 
> Closing gnucash it asks me again whether I want to save the file. I'm telling 
> it to save. Immediately a second dialog pops up warning me the changes of the 
> last x minutes will be lost if I close without saving.
> 
> I chose again to save, the same dialog appears again and will continue to do 
> so until I choose to close without saving. At that point gnucash segfaults.
> 
> There's no file on my file system with the name Double.gnucash.
> 
> There is also no other version of gnucash or its libraries on the path.

This is likely two separate problems since your earlier build was before my recent merge of c++-backend (which touched the XML backend) and the current behavior is after  it.

Regards,
John Ralls



More information about the gnucash-devel mailing list