-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
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
EOFError: EOF when reading a line in v0.5.0 or v0.5.1 #60
Comments
I'm getting the same in docker :( warnings.warn('In the future version we will turn default option ignore_ncx to True.') Do you want to continue? (y/n) |
Hi @lostlost3 @michwad. Would you mind update to the latest and try it again? Besides, what's your command to run and lead to this error message. Remember if you're using docker, check https://github.com/p0n1/epub_to_audiobook?tab=readme-ov-file#using-with-docker.
|
Alternatively, add |
Thanks, I will try it.
发件人: ***@***.*** ***@***.***> 代表 shtingeri
发送时间: 2024年9月22日 1:14
收件人: p0n1/epub_to_audiobook ***@***.***>
抄送: lostlost3 ***@***.***>; Mention ***@***.***>
主题: Re: [p0n1/epub_to_audiobook] EOFError: EOF when reading a line in v0.5.0 or v0.5.1 (Issue #60)
Alternatively, add --no_prompt flag to avoid comfirmation.
—
Reply to this email directly, view it on GitHub <#60 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AZI6H4KT45C3C44LRYWPXPDZXWSLZAVCNFSM6AAAAABF34A64WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRVGI2TOMRWGM> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/AZI6H4KQTGGNU3E6P5R4ZPLZXWSLZA5CNFSM6AAAAABF34A64WWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUM7L3C6.gif> Message ID: ***@***.*** ***@***.***> >
|
When I convert epub ebook to audiobook using v0.4.3 version, it works fine. In order to use edge tts, I tried to use v0.5.0 or v0.5.1 to convert the same epub e-book, and the error occurred as follows:
/usr/local/lib/python3.11/site-packages/ebooklib/epub.py:1395: UserWarning: In the future version we will turn default option ignore_ncx to True.
warnings.warn('In the future version we will turn default option ignore_ncx to True.')
/usr/local/lib/python3.11/site-packages/bs4/builder/init.py:545: XMLParsedAsHTMLWarning: It looks like you're parsing an XML document using an HTML parser. If this really is an HTML document (maybe it's XHTML?), you can ignore or filter this warning. If it's XML, you should know that using an XML parser will be more reliable. To parse this document as XML, make sure you have the lxml package installed, and pass the keyword argument
features="xml"
into the BeautifulSoup constructor.warnings.warn(
2024-04-08 02:55:06 [INFO] Chapters count: 320.
2024-04-08 02:55:06 [INFO] Converting chapters from 1 to 320.
Estimate book voiceover would cost you roughly: $0.00
Do you want to continue? (y/n)
2024-04-08 02:55:06 [INFO] ✨ Total characters in selected book: 1595407 ✨
Traceback (most recent call last):
File "/app_src/main.py", line 139, in
main()
File "/app_src/main.py", line 135, in main
AudiobookGenerator(config).run()
File "/app_src/audiobook_generator/core/audiobook_generator.py", line 77, in run
confirm_conversion()
File "/app_src/audiobook_generator/core/audiobook_generator.py", line 14, in confirm_conversion
answer = input()
^^^^^^^
EOFError: EOF when reading a line
The text was updated successfully, but these errors were encountered: