[GNC] Sluggish after 5.13
David Carlson
david.carlson.417 at gmail.com
Wed Oct 29 21:35:21 EDT 2025
I can confirm that the most recent Windows nightly build of release 5.13
does not offer a sqlite3 option under 'Save As". If it is necessary to do
something special to get that option, I cannot find it in the help,
tutorial or FAQ.
On Wed, Oct 29, 2025 at 6:33 PM Sherlock <sh025622 at gmail.com> wrote:
> Hi John,
>
> I suspect the Windows nightly builds have not been properly supporting
> databases since libdbi was updated to 0.9.1 on October 5th unless the
> drivers are in the c:\libdbi\lib\dbd folder or the folder to which the
> GNC_DBD_DIR environment variable is set.
>
> For example, attempt to save as sqlite3.
>
> It appears there is a generic bug in gnc_module_init_backend_dbi() when
> HAVE_LIBDBI_R is defined. Specifically, when the initial
> dbi_initialize_r() returns no drivers, the dbi_instance variable is
> still set.
>
> So, instead of:
>
> #if HAVE_LIBDBI_R
> if (dbi_instance)
> return;
> #endif
>
> the code should be:
>
> #if HAVE_LIBDBI_R
> if (dbi_instance)
> {
> dbi_shutdown_r (dbi_instance);
> dbi_instance = nullptr;
> }
> #endif
>
>
> Regards,
>
> Sherlock
>
>
> On 10/28/25 4:21 PM, John Ralls wrote:
> > I think that’s an info message you get when running GnuCash with the
> —debug flag: It’s just reporting that it couldn’t open your XML file with
> the sqlite3 backend.
> >
> > To make sure I just tested the latest build with a SQLite3 file and it
> opened without complaint (and without any messages since I didn’t tell it
> —debug).
> >
> > 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.
>
--
David Carlson
More information about the gnucash-user
mailing list