I am not yet familiar enough with your code to know where to add debugging, but I think I know what is going on. When I run ebook-convert from the command line, it segfaults right after it finishes. Same as exiting from calibre. This is probably what makes the gui think it failed. If I can get to the bottom of the segfault, I will probably have my solution.
|