Skip to content
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

encoding error : input conversion failed due to input error, bytes 0x21 0x00 0x00 0x00 #178

Open
ghost opened this issue Oct 27, 2020 · 2 comments
Labels
moreinfo Not reproducible, needs more input

Comments

@ghost
Copy link

ghost commented Oct 27, 2020

Command run:

dosage -a monkeyuser

Output:

MonkeyUser> Retrieving all strips
encoding error : input conversion failed due to input error, bytes 0x21 0x00 0x00 0x00
MonkeyUser> ERROR: XPath //div[@class="content"]/p/img not found at URL https://www.monkeyuser.com/.
MonkeyUser> WARN: XPath //div[@title="previous"]/a not found at URL https://www.monkeyuser.com/. Assuming no previous comic strips exist.

Python version:

Python 3.8.6

@TobiX
Copy link
Member

TobiX commented Oct 27, 2020

Sorry, but I cannot reproduce the problem, can you tell me a bit more about your environment? From looking around, this seems to be a libxml2 issue, but pages passed from dosage to lxml/libxml2 should already be UTF-8 clean, so I don't see how those bytes made their way to the parser...

@TobiX TobiX added the moreinfo Not reproducible, needs more input label Oct 27, 2020
@ghost
Copy link
Author

ghost commented Oct 28, 2020

OS: macOS Catalina (10.15.7)

Shell: Zsh

Terminal: iTerm2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
moreinfo Not reproducible, needs more input
Projects
None yet
Development

No branches or pull requests

1 participant