[GNC] Convert xml <-> sqlite on command line

2024-10-05 Thread Eberhard Beilharz
Hi, is there a way to convert a Gnucash file in XML format to SQLite format on the command line and the reverse? I know I can do Save As in the Gnucash UI, but I would like to do it from the command line so that I can automate it. Thanks,     Eberhard __

[GNC] Problem getting child accounts with Python

2024-09-28 Thread Eberhard Beilharz
Hi, I'm trying to create a Python script with the GnuCash API. I started with the `simple_test.py` sample and extended that a bit (see below). However, I ran into a problem: after re-opening the session and getting the root account, it doesn't show any child accounts. I tried different ways,