View Single Post
Old 11-04-2011, 11:38 AM   #3
nimblebooks
Enthusiast
nimblebooks began at the beginning.
 
Posts: 28
Karma: 10
Join Date: May 2010
Device: Kindle
This is the command that invokes:

sudo ebook-convert tmp/temptoc.html zz_delivery/zimzaztest.epub

(run without options to isolate errors)

this is the directory it is running against

rw-r--r-- 1 bitnami root 105892 2011-11-04 14:21 1.html
-rw-r--r-- 1 bitnami root 318260 2011-11-04 14:21 2.html
-rw-r--r-- 1 bitnami root 47016 2011-11-04 14:21 3.html
-rw-r--r-- 1 bitnami root 204 2011-11-04 14:21 temptoc.html

I did a little digging around and used od -b to convert these files to octal, then grep ' 000' to see if there are any null characters; nope.

So I'm stumped.

The full script is pretty long and doing a lot of stuff to gather the html files so I am trying to avoid posting it.
nimblebooks is offline   Reply With Quote