[GNC] Can't delete security

Derek Atkins derek at ihtfp.com
Tue Feb 12 12:34:23 EST 2019


Hi,
Did you uncompress the XML file before trying to open it?

-derek

On Tue, February 12, 2019 12:27 pm, rsbrux wrote:
> @Derek,
> Many thanks for your advice. Believe me, I've tried. Unfortunately, it
> is a mystery to me why any account should still be using this security.
> As mentioned below, I have deleted both the initial transaction and the
> investment account I created for the security.  I don't know why any
> other account should reference it.
>
> @anyone,
> How can I find out which account GnuCash thinks is using this security?
> It occurred to me that I might be able to find out by doing a text
> search of the GnuCash file, as I have understood that it is XML.
> However, I cannot open it in mousepad, as it complains that the encoding
> is not UTF-8.
> Any hints as to how to proceed would be most welcome.
>
> -----Original Message-----
> From: Derek Atkins <derek at ihtfp.com>
> Sent: Tuesday, February 12, 2019 4:46 PM
> To: rsbrux via gnucash-user <gnucash-user at gnucash.org>
> Cc: rsbrux <rsbrux at yahoo.com>
> Subject: Re: [GNC] Can't delete security
>
> Hi,
>
> rsbrux via gnucash-user <gnucash-user at gnucash.org> writes:
>
>> Because of the well-known difficulties associated with assigning the
>> correct currency to a security, I need to delete and recreate a
>> security.  I have deleted the initial transaction I created for this
>> security, as well as the investment account I created for the
>> transaction.  Nonetheless, when I try to "Remove" the security from
>> the "Security Editor", I get the message:
>>
>> "That commodity is currently used by at least one of your accounts.
>> You may not delete it."
>>
>> I am using GnuCash 2.6.19 running under Ubuntu Studio 18.04
>>
>> How can I correct this?
>
> Do what it's telling you.  Delete the account that is using the commodity.
>
> GnuCash wont let you delete something that is referenced by another
> object.
>
>> Please remember to CC this list on all your replies.
>> You can do this by using Reply-To-List or Reply-All.
>
> -derek
>
> --
>         Derek Atkins                 617-623-3745
>         derek at ihtfp.com             www.ihtfp.com
>         Computer and Internet Security Consultant
>


-- 
       Derek Atkins                 617-623-3745
       derek at ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant



More information about the gnucash-user mailing list