[GNC-dev] Python bindings: "invalid unclassed pointer in cast to 'QofInstance'"
John Ralls
jralls at ceridwen.us
Tue May 23 16:54:16 EDT 2023
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 <sbrown at opensat.com> 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
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
More information about the gnucash-devel
mailing list