We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在将word文档转换txt格式时可以正常运行,但将epub转换成txt时出现了错误,并显示不支持epub格式 这是报错情况: Traceback (most recent call last): File "C:\Users\HP\PycharmProjects\pythonProject\文本转换.py", line 4, in markdown_content, time_cost = converter.convert(r"C:\Users\HP\Desktop\实验\Anvil (Patton Dirk).epub", conv_timeout=300) File "C:\Users\HP\anaconda3\envs\py310torch\lib\site-packages\magic_doc\docconv.py", line 202, in convert conv: BaseConv = self.__select_conv(doc_path, byte_content) File "C:\Users\HP\anaconda3\envs\py310torch\lib\site-packages\magic_doc\docconv.py", line 137, in __select_conv raise ConvException("Unsupported file format.") magic_doc.docconv.ConvException: Unsupported file format.
The text was updated successfully, but these errors were encountered:
magic-doc does not support epub now. the section about magic-doc in the readme of MinerU is out of date and will update to date recently
epub
magic-doc
MinerU
Sorry, something went wrong.
No branches or pull requests
在将word文档转换txt格式时可以正常运行,但将epub转换成txt时出现了错误,并显示不支持epub格式
这是报错情况:
Traceback (most recent call last):
File "C:\Users\HP\PycharmProjects\pythonProject\文本转换.py", line 4, in
markdown_content, time_cost = converter.convert(r"C:\Users\HP\Desktop\实验\Anvil (Patton Dirk).epub", conv_timeout=300)
File "C:\Users\HP\anaconda3\envs\py310torch\lib\site-packages\magic_doc\docconv.py", line 202, in convert
conv: BaseConv = self.__select_conv(doc_path, byte_content)
File "C:\Users\HP\anaconda3\envs\py310torch\lib\site-packages\magic_doc\docconv.py", line 137, in __select_conv
raise ConvException("Unsupported file format.")
magic_doc.docconv.ConvException: Unsupported file format.
The text was updated successfully, but these errors were encountered: