I can't tell from your post but have you tried doing all the work from within one directory, possibly using subdirs for temp files? Meaning, you create a directory for your ebook, move the ebook there, set TEMP and TMP (why both?) to that dir or some subdir and call the converter from that directory.
Should remedy the error message but I'm really just guessing.
|