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

Unidentified image error #8

Open
MOLLARDAmbre opened this issue Mar 9, 2020 · 2 comments
Open

Unidentified image error #8

MOLLARDAmbre opened this issue Mar 9, 2020 · 2 comments

Comments

@MOLLARDAmbre
Copy link

There was a problem with the command, a python error, here is the log

Traceback (most recent call last):
File "/home/selene/.local/bin/xkcd", line 11, in
load_entry_point('xkcd==0.1', 'console_scripts', 'xkcd')()
File "/home/selene/.local/lib/python3.6/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/home/selene/.local/lib/python3.6/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/selene/.local/lib/python3.6/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/selene/.local/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/selene/.local/lib/python3.6/site-packages/xkcd.py", line 29, in cli
img = Image.open(BytesIO(res.content))
File "/home/selene/.local/lib/python3.6/site-packages/PIL/Image.py", line 2862, in open
"cannot identify image file %r" % (filename if filename else fp)
PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x7f61173b5938>

I understand if you don't want to take time to fix this, but if you want to fix it you have the log now.
It doesn't seem easily reproductible, and happened with the xkcd --random command

@TheTechRobo
Copy link
Contributor

Do you know which xkcd was used?

@MOLLARDAmbre
Copy link
Author

No sorry, it's from a long time ago too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants