Automatic price quotes & PostgreSQL backend

David dgpickett at aol.com
Fri Nov 22 11:00:41 EST 2013


Yes, auto save not getting your data to disk would be a big securitiy/reliability/trust bug.
 

 I will learn how to submit a bug!  Whee!

 

-----Original Message-----
From: Geert Janssens <janssens-geert at telenet.be>
To: gnucash-user <gnucash-user at gnucash.org>
Cc: David <dgpickett at aol.com>; bobbrush3 <bobbrush3 at gmail.com>
Sent: Fri, Nov 22, 2013 6:45 am
Subject: Re: Automatic price quotes & PostgreSQL backend



On Thursday 21 November 2013 16:11:22 David wrote:
> Any focus on getting auto save to save everything, so no pop up dialog
>  hours later when hit by 'wmcntl -c GnuCash' ?
> 
> 
No, sorry. Your use case is fairly far away from the intended use of GnuCash, being an interactive application.
 
The feedback you received so far are all possible roads to get as close as possible to where you want to go, but gnucash is not meant to be used and manipulated unattended.
 
I agree with you that autosave should work in all cases. It should be investigated why this is not happening for you to determine whether this is a bug or not. But with what I stated above, this is a low priority issue and may have to wait until after the release of 2.6.
 
Can you create a bug report specifically for autosave failing sometimes ?
 
Meanwhile let me give you a few more options to get where you want:
- (found with google) install xdotool, and us it to send "ctrl+s" to your running gnucash instance (you can reuse the window id you have received from wmctrl).
- use one of the gnucash sql backends (sqlite3 is a database in a file, so it should be no more complicated to set up than using an xml file). Granted, the sql backends aren't as mature as the xml backend, so there's a small risk of data loss. The upcoming 2.6 release will have several improvements in that area
- wait for 2.6, it has a new option to enable a timeout on the save changes dialog. If you enable that, your pop up dialog will only stay open for as long as you set the timeout.
 
Any of these should help you to work around the save popup dialog that blocks your automated process.
 
Geert



More information about the gnucash-user mailing list