[GNC] Scheduled transactions do not appear in the register until <enter> is pressed

John Ralls jralls at ceridwen.us
Fri Aug 12 16:11:37 EDT 2022


That was it: The registers weren't refreshed unless the SLR dialog runs and the user clicks OK. I've pushed a fix that will be in tomorrow's nightlies (https://code.gnucash.org/builds/win32/maint and https://code.gnucash.org/builds/flatpak.maint).

Regards,
John Ralls


> On Aug 12, 2022, at 8:48 AM, john <jralls at ceridwen.us> wrote:
> 
> That's just the noise from GnuCash not finding perl when deciding whether it should enable online quote retrieval.
> 
> I have a new hypothesis that I wrote up on bug 794584: That line in the SLR code only runs in the dialog's OK handler, and if you have only automatic-creation SXes that don't require human intervention that particular bit of code doesn't run. I haven't yet looked for the code that does run in that case, but I asked there if changing any of the SXes to "notify" so that that code does run causes the registers to refresh on their own.
> 
> Regards,
> John Ralls
> 
> 
>> On Aug 11, 2022, at 8:02 PM, Tom Veik <tlveik at gmail.com> wrote:
>> 
>> The last time this occurred would be the first run on the 10th. Here is the contents of the trace file with the earliest time on that date:
>> 
>> * 07:53:46  WARN <gnc.guile> [gnc_spawn_process_async()] Could not spawn perl: Failed to execute child process (No such file or directory)
>> * 07:53:46 ERROR <> gnc_process_get_fd: assertion 'proc' failed
>> * 07:53:46 ERROR <> gnc_detach_process: assertion 'proc && proc->pid' failed
>> 
>> Tom
>> 
>> On 8/11/2022 8:05 PM, John Ralls wrote:
>>> I'd go with bug: It's supposed to refresh all of the registers, see https://github.com/Gnucash/gnucash/blob/41de4cefce621c214c0d6f6ff1c5ca05df8fd917/gnucash/gnome/dialog-sx-since-last-run.c#L1168
>>> 
>>> You may find in your trace file one or more error messages "suspend counter not zero" from gnc_gui_refresh_all on a session where the SLR ran. That would indicate that something else that's wrapping the SLR invocation has also blocked gui refreshes. If that message isn't there then there's something going wrong in gnc_gui_refresh_internal.
>>> 
>>> Regards,
>>> John Ralls
>>> 
>> _______________________________________________
>> 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