Error calling Python API's session.save()

James Nylen jnylen+gnucash at gmail.com
Thu Feb 21 21:31:45 EST 2013


On Wed, Feb 20, 2013 at 10:47 AM, John Ralls <jralls at ceridwen.us> wrote:
> We'll need to know what the actual sql is and where it's coming from, so
set up your python program to capture logs and set the gnc.backend.sql
domain loglevel to debug. Make the error happen again and examine the
resulting log to figure out the source and nature of the error, then report
back.

I'm not familiar with Python's logging system.  I tried all of these, none
of which resulted in any additional output:

logging.getLogger('gnc.backend.sql').setLevel(logging.DEBUG)
logging.getLogger('gnc.backend.dbi').setLevel(logging.DEBUG)
logging.getLogger('gnc.backend.*').setLevel(logging.DEBUG)
logging.getLogger('gnc.backend').setLevel(logging.DEBUG)
logging.getLogger('gnc').setLevel(logging.DEBUG)


More information about the gnucash-devel mailing list