On Mon, Feb 13, 2023 at 09:38:50PM +0200, Yonatan Shtarkman wrote:
> Also, as a workaround, I avoided calling the event callback if null is 
> returned
> by Py_BuildValue (still print the error and release the thread).
> This seems to work for our usage (we only use the event callbacks for 
> logging),
> any potential issues I'm missing?

Oh I see so the issue is actually when logging and not in the download
call?  That's strange that it should be happening intermittently.  I'd
expect a UTF-8 encoding error would happen every time not sometimes.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top
_______________________________________________
Libguestfs mailing list
Libguestfs@redhat.com
https://listman.redhat.com/mailman/listinfo/libguestfs

Reply via email to