Public bug reported: Binary package hint: calibre
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. ** Affects: calibre (Ubuntu) Importance: Undecided Status: New -- ebook-convert from html to pdf crashes https://bugs.launchpad.net/bugs/428933 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs