Calibre: KeyError: "No plugin named u'qt_hack'" again

Alex V. Petrov alexvpetrov at gmail.com
Thu Oct 30 08:20:18 UTC 2014


*Bug 183808[1]* - deskutils/calibre missing dependency py-cssutils and qt_hack checked as 
"Issue Resolved FIXED"

but!:

/usr/local/bin/ebook-convert 68876.fb2 68876.pdf 

1% Конвертирую входной файл в HTML...
InputFormatPlugin: FB2 Input running
on /usr/home/alex/ALEX/down/68876.fb2
Parsing all content...
Forcing index.xhtml into XHTML namespace
Generating default TOC from spine...
34% Выполняю преобразования книги...
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 684 entries.
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'son_max.jpg' from manifest
Creating PDF Output...
67% Запускается плагин PDF Output
The cover image has an id != "cover". Renaming to work around bug in Nook Color
Traceback (most recent call last):
  File "/usr/local/bin/ebook-convert", line 20, in <module>
    sys.exit(main())
  File "/usr/local/lib/calibre/calibre/ebooks/conversion/cli.py", line 359, in main
    plumber.run()
  File "/usr/local/lib/calibre/calibre/ebooks/conversion/plumber.py", line 1194, in run
    self.opts, self.log)
  File "/usr/local/lib/calibre/calibre/ebooks/conversion/plugins/pdf_output.py", line 145, in 
convert
    self.convert_text(oeb_book)
  File "/usr/local/lib/calibre/calibre/ebooks/conversion/plugins/pdf_output.py", line 268, in 
convert_text
    'toc', None))
  File "/usr/local/lib/calibre/calibre/ebooks/conversion/plugins/pdf_output.py", line 294, in write
    writer.dump(items, out_stream, PDFMetadata(self.metadata))
  File "/usr/local/lib/calibre/calibre/ebooks/pdf/render/from_html.py", line 186, in dump
    mark_links=opts.pdf_mark_links)
  File "/usr/local/lib/calibre/calibre/ebooks/pdf/render/engine.py", line 325, in __init__
    mark_links=mark_links)
  File "/usr/local/lib/calibre/calibre/ebooks/pdf/render/engine.py", line 90, in __init__
    self.qt_hack, err = plugins['qt_hack']
  File "/usr/local/lib/calibre/calibre/constants.py", line 185, in __getitem__
    raise KeyError('No plugin named %r'%name)
KeyError: "No plugin named u'qt_hack'"


calibre-1.48.0
FreeBSD amd64 10.1-PRERELEASE #12 r273822: Wed Oct 29 21:51:28 KRAT 2014 


-- 
-----
Alex V. Petrov


--------
[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=183808


More information about the freebsd-ports mailing list