They do, under a root account called template_root. And there’s an old bug, 
https://bugs.gnucash.org/show_bug.cgi?id=569735, about GnuCash creating a 
series of template root accounts. Since David has been around a while I guess 
they’re left overs from that. Note Mike Alexander’s comment 1 about his fix for 
them. If all of your current SXes were created after that then you can safely 
remove the old ones. Simon Arlott attached to the bug a python script to clean 
up the excess root accounts in an XML file, though it might need some work 
unless you happen to have a Python2 installation handy.

Regards,
John Ralls


> On Oct 30, 2026, at 07:33, Derek Atkins <[email protected]> wrote:
> 
> Interesting.
> Do you have any scheduled transactions?  I feel like those sit in a
> separate hierarchy.
> 
> -derek
> 
> On Fri, October 30, 2026 10:16 am, David T. via gnucash-user wrote:
>> Hello,
>> 
>> I'm a longtime user (21 years) currently using gc5.13 on Windows 11.
>> 
>> For a number of reasons, I was poking around in my stored data, and I
>> discovered that my data file has 46 different root accounts. [For the
>> record, I saved my xml file as sqlite and was looking at the data through
>> a Db reader]
>> 
>> One is clearly the "right" one, as it has Root Account in the name column.
>> Other real accounts point to it.
>> 
>> The other 45 root accounts have no name entries; moreover, they form a
>> single hierarchy, with the ID of n being the parent_ID for n+1.
>> 
>> I am confused by this, and wonder how in the world I ended up with these.
>> The accounts don't show up in the main application; I only see them when I
>> view the underlying SQL database.
>> 
>> Can I/should I delete these?
>> 
>> David T.
>> _______________________________________________
>> gnucash-user mailing list
>> [email protected]
>> To update your subscription preferences or to unsubscribe:
>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> -----
>> Please remember to CC this list on all your replies.
>> You can do this by using Reply-To-List or Reply-All.
>> 
> 
> 
> -- 
>       Derek Atkins                 617-623-3745
>       [email protected]             www.ihtfp.com
>       Computer and Internet Security Consultant
> 
> _______________________________________________
> gnucash-user mailing list
> [email protected]
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to