Ubuntu version : Karmic (9.10)
Package version : 0.6.10+dfsg-0ubuntu1
Expected : To convert html input to pdf output
What happened : ebook-convert crashed with the following output
$ ebook-convert 0-Readme.html 0-Readme.pdf
1% Converting input to HTML...
InputFormatPlugin: HTML Input running on /home/srikanth/work/projects/library-build-system/scripts/0-Readme.html
Language not specified
Creator not specified
Building file list...
34% Running transforms on ebook...
Merging user specified metadata...
Detecting structure...
Detected chapter: E-Book Library Build System
Detected chapter: PART I - GOALS
Detected chapter: PART II - IMPLEMENTATION
Auto generated TOC with 7 entries.
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Creating PDF Output...
67% Creating PDF Output
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/calibre/ebooks/pdf/writer.py", line 129, in _render_html
self._render_book()
File "/usr/lib/python2.6/dist-packages/calibre/ebooks/pdf/writer.py", line 104, in _render_book
self._write()
File "/usr/lib/python2.6/dist-packages/calibre/ebooks/pdf/writer.py", line 140, in _write
outPDF = PdfFileWriter(title=self.metadata.title, author=self.metadata.author)
TypeError: __init__() got an unexpected keyword argument 'title'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/apport_python_hook.py", line 85, in apport_excepthook
if pr.check_ignored():
File "/usr/lib/python2.6/dist-packages/apport/report.py", line 753, in check_ignored
dom = self._get_ignore_dom()
File "/usr/lib/python2.6/dist-packages/apport/report.py", line 714, in _get_ignore_dom
dom = xml.dom.getDOMImplementation().createDocument(None, 'apport', None)
File "/usr/lib/python2.6/dist-packages/cssutils/__init__.py", line 137, in createDocument
raise NotImplementedError
NotImplementedError
Original exception was:
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/calibre/ebooks/pdf/writer.py", line 129, in _render_html
self._render_book()
File "/usr/lib/python2.6/dist-packages/calibre/ebooks/pdf/writer.py", line 104, in _render_book
self._write()
File "/usr/lib/python2.6/dist-packages/calibre/ebooks/pdf/writer.py", line 140, 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/srikanth/work/projects/library-build-system/scripts/0-Readme.pdf
Output saved to /home/srikanth/work/projects/library-build-system/scripts/0-Readme.pdf
This happens while trying to convert any html file to pdf.
Binary package hint: calibre
Ubuntu version : Karmic (9.10) dfsg-0ubuntu1
Package version : 0.6.10+
Expected : To convert html input to pdf output
What happened : ebook-convert crashed with the following output
$ ebook-convert 0-Readme.html 0-Readme.pdf work/projects/ library- build-system/ scripts/ 0-Readme. html python2. 6/dist- packages/ calibre/ ebooks/ pdf/writer. py", line 129, in _render_html _render_ book() python2. 6/dist- packages/ calibre/ ebooks/ pdf/writer. py", line 104, in _render_book python2. 6/dist- packages/ calibre/ ebooks/ pdf/writer. py", line 140, in _write title=self. metadata. title, author= self.metadata. author) python2. 6/dist- packages/ apport_ python_ hook.py" , line 85, in apport_excepthook python2. 6/dist- packages/ apport/ report. py", line 753, in check_ignored ignore_ dom() python2. 6/dist- packages/ apport/ report. py", line 714, in _get_ignore_dom getDOMImplement ation() .createDocument (None, 'apport', None) python2. 6/dist- packages/ cssutils/ __init_ _.py", line 137, in createDocument
1% Converting input to HTML...
InputFormatPlugin: HTML Input running on /home/srikanth/
Language not specified
Creator not specified
Building file list...
34% Running transforms on ebook...
Merging user specified metadata...
Detecting structure...
Detected chapter: E-Book Library Build System
Detected chapter: PART I - GOALS
Detected chapter: PART II - IMPLEMENTATION
Auto generated TOC with 7 entries.
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Creating PDF Output...
67% Creating PDF Output
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self._write()
File "/usr/lib/
outPDF = PdfFileWriter(
TypeError: __init__() got an unexpected keyword argument 'title'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
if pr.check_ignored():
File "/usr/lib/
dom = self._get_
File "/usr/lib/
dom = xml.dom.
File "/usr/lib/
raise NotImplementedError
NotImplementedError
Original exception was: python2. 6/dist- packages/ calibre/ ebooks/ pdf/writer. py", line 129, in _render_html _render_ book() python2. 6/dist- packages/ calibre/ ebooks/ pdf/writer. py", line 104, in _render_book python2. 6/dist- packages/ calibre/ ebooks/ pdf/writer. py", line 140, in _write title=self. metadata. title, author= self.metadata. author) work/projects/ library- build-system/ scripts/ 0-Readme. pdf work/projects/ library- build-system/ scripts/ 0-Readme. pdf
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self._write()
File "/usr/lib/
outPDF = PdfFileWriter(
TypeError: __init__() got an unexpected keyword argument 'title'
PDF output written to /home/srikanth/
Output saved to /home/srikanth/
This happens while trying to convert any html file to pdf.