Re: [GNC-dev] Python bindings: "invalid unclassed pointer in cast to 'QofInstance'"
John Ralls <[email protected]> Tue, 23 May 2023 16:54:16 -0400
| Newsgroups | gmane.comp.gnome.apps.gnucash.devel |
|---|---|
| Message-ID | <[email protected]> |
Looks like there's a bad pointer somewhere. Please open a bug report. Regards, John Ralls > On May 23, 2023, at 09:36, Steve Brown <[email protected]> wrote: > > I get the following errors/warnings when using ApplyPayment to a > customer. > > * 06:56:27 WARN <GLib-GObject> invalid unclassed pointer in cast to 'QofInstance' > * 06:56:27 ERROR <gnc.engine> QofBook* qof_instance_get_book(gconstpointer): assertion 'QOF_IS_INSTANCE(inst)' failed > * 06:56:27 WARN <GLib-GObject> invalid unclassed pointer in cast to 'QofInstance' > * 06:56:27 ERROR <gnc.engine> void qof_instance_get(const QofInstance*, const gchar*, ...): assertion 'QOF_IS_INSTANCE (inst)' failed > > The same error is produced by the Python example > simple_business_create.py. > > The resulting account entries appear correct as well as the balance > sheet and income reports. > > I'm running yesterday's stable head 369b0855f on Ubuntu 22.04.2. > > Steve > > > _______________________________________________ > gnucash-devel mailing list > [email protected] > https://lists.gnucash.org/mailman/listinfo/gnucash-devel