jmn: I'd love to help, but that doesn't look to be my code. That looks like an error when sending a book to the device using the Kobo Touch Extended Driver. It usually means the book has an error in it or something unusual in the code. The driver is discussed in
https://www.mobileread.com/forums/sho...d.php?t=211135. The first post has info on reporting bugs.