sbsdev / mdr2

Production Management Tool for DAISY Talking Books
GNU Affero General Public License v3.0
0 stars 0 forks source link

dtb/meta-data fails with FileNotFoundException if there is no ncc.html #62

Open egli opened 9 years ago

egli commented 9 years ago
mdr2.encode> (dtb/meta-data (path/recorded-path (prod/find 16666)))
FileNotFoundException /home/eglic/tmp/mdr2/production/recorded/16666/ncc.html (No such file or directory)  java.io.FileInputStream.open (FileInputStream.java:-2)
egli commented 9 years ago

This shouldn't really be a problem as such a dtb is most likely not valid. OK, granted if it was a DAISY3 DTB it would probably pass the validator. And then it would have an ncx file instead of a ncc.html. But then the whole depth function would break anyway. Let's cross this river when we get to it, i.e. when/if we ever produce DAISY3.