[limo@asus Downloads]$ calibre
Convert book 1 of 1 (Buddhist Economic Thoughts Buddhist Economic Thoughts ( PDFDrive ))
Conversion options changed from defaults:
read_metadata_from_opf: '/tmp/calibre_6.15.1_tmp_si6lga1q/5ivi8zau.opf'
cover: '/tmp/calibre_6.15.1_tmp_si6lga1q/fcas27tl.jpeg'
verbose: 2
Resolved conversion options
calibre version: 6.15.1
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': 'original',
'chapter': "//*[((name()='h1' or name()='h2') and re:test(., "
"'\\s*((chapter|book|section|part)\\s+)|((prolog|prologue|epilogue)(\\s+|$))', "
"'i')) or @class = 'chapter']",
'chapter_mark': 'pagebreak',
'comments': None,
'cover': '/tmp/calibre_6.15.1_tmp_si6lga1q/fcas27tl.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: PDF Input running
on /tmp/calibre_6.15.1_tmp_si6lga1q/no4j_cx3.pdf
Converting file to html...
pdftohtml log:
Page-1
Page-2
Page-3
Page-4
Page-5
Page-6
Retrieving document metadata...
Generating manifest...
Rendering manifest...
Parsing all content...
Parsing index.html ...
Generating default TOC from spine...
Traceback (most recent call last):
File "/usr/bin/calibre-parallel", line 21, in <module>
sys.exit(main())
File "/usr/lib/calibre/calibre/utils/ipc/worker.py", line 215, in main
result = func(*args, **kwargs)
File "/usr/lib/calibre/calibre/gui2/convert/gui_conversion.py", line 38, in gui_convert_override
gui_convert(input, output, recommendations, notification=notification,
File "/usr/lib/calibre/calibre/gui2/convert/gui_conversion.py", line 25, in gui_convert
plumber.run()
File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 1143, in run
from calibre.ebooks.html_transform_rules import transform_conversion_book
File "/usr/lib/calibre/calibre/ebooks/html_transform_rules.py", line 7, in <module>
from html5_parser import parse
File "/usr/lib/python3.10/site-packages/html5_parser/__init__.py", line 31, in <module>
raise RuntimeError(
RuntimeError: html5-parser and lxml are using different versions of libxml2. This happens commonly when using pip installed versions of lxml. Use pip install --no-binary lxml lxml instead. libxml2 versions: html5-parser: (2, 10, 3) != lxml: (2, 9, 14)