[GNC-dev] qof_book_is_readonly error in trace file
Robert Fewell
14ubobit at gmail.com
Mon Jun 15 18:31:04 EDT 2020
John,
No, just tried with 3.905 and I get the 4 errors.
With gdb the first is from
gnc-main-window.c:1514
gnc-plugin-aqbanking.c:348
gnc-plugin-basic-commands.c:366
gnc-plugin-business.c:1044
Regards,
Bob
On Mon, 15 Jun 2020 at 20:55, John Ralls <jralls at ceridwen.us> wrote:
>
>
> > On Jun 14, 2020, at 8:11 AM, John Ralls <jralls at ceridwen.us> wrote:
> >
> >
> >
> >> On Jun 14, 2020, at 5:16 AM, Robert Fewell <14ubobit at gmail.com> wrote:
> >>
> >> Hi,
> >>
> >> If you start gnucash with the --nofile option and then proceed to use
> the
> >> New Account Hierarchy Assistant, when you do the save you get the
> following
> >> error in the trace file 4 times...
> >>
> >> ERROR <gnc.engine> gboolean qof_book_is_readonly(const QofBook*):
> assertion
> >> 'book != NULL' failed
> >>
> >> This I assume is because there is no book for use in
> qof_book_is_readonly,
> >> qofbook.c line 579 but that does not appear to have changed so I am
> unsure
> >> of a fix.
> >
> > I stopped it creating a session and therefore a book when you pass
> --nofile or when it can't find the file/database you asked to open so that
> it wouldn't then ask if you wanted to save the book when you opened
> something new. Looks like I missed at least one path that assumes there's
> always a book, I'll track that down after I finish the release.
>
> Hmm, can't get it to replicate now. Is this what you fixed yesterday
> morning?
>
> Regards,
> John Ralls
>
>
More information about the gnucash-devel
mailing list