The issue is that there are some ePubs are made with a directory that is invalidly named and when the script tries to write out this directory, it fails. The solution is to get this directory out of the ePub file. ZIP would fix it. Another way is to extract all the other files/directories and then remake the ePub without the invalid directories. Then run the script to remove the DRM and you should be good to go.
|