Thanks for the tip. Here is the output of that command. I have no idea how to fix these errors.
Code:
kenny@Kenny-Laptop:~/Calibre Library/J. R. R. Tolkien/The Two Towers (5)$ ebook-convert LOTR2.epub LOTR2.pdf
1% Converting input to HTML...
InputFormatPlugin: EPUB Input running
on /home/kenny/Calibre Library/J. R. R. Tolkien/The Two Towers (5)/LOTR2.epub
Parsing all content...
Property: Invalid value for "CSS Fonts Module Level 3 @font-face properties/CSS Level 2.1" property: itlaic [50:2: font-style]
Guide reference 'OEBPS/cover-mono.xml' not found
34% Running transforms on ebook...
Merging user specified metadata...
Detecting structure...
Detected chapter: Chapter 1
Detected chapter: Chapter 2
Detected chapter: Chapter 3
Detected chapter: Chapter 4
Detected chapter: Chapter 5
Detected chapter: Chapter 6
Detected chapter: Chapter 7
Detected chapter: Chapter 8
Detected chapter: Chapter 9
Detected chapter: Chapter 10
Detected chapter: Chapter 11
Detected chapter: Chapter 1
Detected chapter: Chapter 2
Detected chapter: Chapter 3
Detected chapter: Chapter 4
Detected chapter: Chapter 5
Detected chapter: Chapter 6
Detected chapter: Chapter 7
Detected chapter: Chapter 8
Detected chapter: Chapter 9
Detected chapter: Chapter 10
Flattening CSS and remapping font sizes...
Source base font size is 9.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Property: Invalid value for "CSS Fonts Module Level 3 @font-face properties/CSS Level 2.1" property: itlaic [206:1: font-style]
Creating PDF Output...
67% Creating PDF Output
Traceback (most recent call last):
File "/usr/lib/calibre/calibre/ebooks/pdf/writer.py", line 130, in _render_html
self._render_book()
File "/usr/lib/calibre/calibre/ebooks/pdf/writer.py", line 105, in _render_book
self._write()
File "/usr/lib/calibre/calibre/ebooks/pdf/writer.py", line 141, in _write
outPDF = PdfFileWriter(title=self.metadata.title, author=self.metadata.author)
TypeError: __init__() got an unexpected keyword argument 'title'
PDF output written to /home/kenny/Calibre Library/J. R. R. Tolkien/The Two Towers (5)/LOTR2.pdf
Output saved to /home/kenny/Calibre Library/J. R. R. Tolkien/The Two Towers (5)/LOTR2.pdf
To determine file size I issued this command:
Code:
kenny@Kenny-Laptop:~/Calibre Library/J. R. R. Tolkien/The Two Towers (5)$ stat -c %s LOTR2.pdf
0
The result is 0. Here is a screenshot of the file browser in the GUI which confirms that result: