[GNC] Error deleting scheduled transaction spl

Stephen M. Butler kg7je at arrl.net
Fri Nov 1 16:22:17 EDT 2024


Are you going in via Actions --> Scheduled Transactions --> Scheduled 
Transaction Editor?

I did with the Accounts Tab being the only one opened.  Found a 
Scheduled Transaction with four lines (splits).  Deleted one line with 
no errors.   Cancelled.

Opened up the Account Register corresponding to the line I was going to 
delete and went back into the Scheduled Transaction Editor and deleted 
that same line again.  No Errors.  Cancelled out as unable to duplicate 
on Ubuntu 24.04.1 LTS running GnC Build ID: git 
5.9-57-g26e452bab7+(2024-10-27).

Is there something special about that split?  Has variables?  If the 
above scenario isn't what your doing can you post the detail steps. I'm 
running with a cmake with -DCMAKE_BUILD_TYPE=Asan and 
-DCMAKE_BUILD_TYPE=Debug so I should be able to get a good stack dump if 
I can make it fail on Ubuntu.

Stephen M Butler

Stephen.M.Butler51 at gmail.com
kg7je at arrl.net
253-350-0166
-------------------------------------------
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8

On 11/1/24 12:59, David H wrote:
> Richard,
>
> I can confirm the same thing happens on Win 10 Gnucash 5.9 and if you try
> it more than once on more than one scheduled txn Gnucash will crash :-)  I
> think from memory I've handled this situation in the past by right clicking
> on the modified txn in the actual register and scheduling it again as a new
> scheduled txn without the offending split and deleting the original
> scheduled txn.
>
> Cheers David H.
>
> On Sat, 2 Nov 2024 at 01:50, R Losey <rlosey at gmail.com> wrote:
>
>> I brought up the scheduled transaction editor, and attempted to delete one
>> of entry of a multi-split transaction, and I received the error message:
>> "You cannot delete this split", stating that it was anchoring this
>> transaction to the register... this was in a register - it was the
>> transaction editor.
>>
>> I am running the current version 5.9 on an M1 iMac running 14.6.1. I
>> suspect it may happen on other platforms; I'll probably try on Windows a
>> bit later today.
>>
>> As a temporary workaround, I have set the amount of that split entry to
>> zero, and when it gets triggered and entered, I just delete the unneeded
>> line from the register, and it deletes without any problems.
>>
>> --
>> _________________________________
>> Richard Losey
>> rlosey at gmail.com
>> Micah 6:8
>> _______________________________________________
>> gnucash-user mailing list
>> gnucash-user at gnucash.org
>> 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
> gnucash-user at gnucash.org
> 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.



More information about the gnucash-user mailing list