Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/home/kuba/.anaconda3/envs/test/lib/python3.6/site-packages/pytesseract/pytesseract.py", line 341, in image_to_string

}[output_type]()


 "/home/kuba/.anaconda3/envs/test/lib/python3.6/site-packages/pytesseract/pytesseract.py", line 340, in <lambda>

Output.STRING: lambda: run_and_get_output(*args),


 "/home/kuba/.anaconda3/envs/test/lib/python3.6/site-packages/pytesseract/pytesseract.py", line 238, in run_and_get_output

temp_name, input_filename = save_image(image)


 "/home/kuba/.anaconda3/envs/test/lib/python3.6/site-packages/pytesseract/pytesseract.py", line 157, in save_image

raise TypeError('Unsupported image format/type')
TypeError: Unsupported image format/type

Traceback (most recent call last):


 "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main

"__main__", fname, loader, pkg_name)


 "/usr/lib/python2.7/runpy.py", line 72, in _run_code

exec code in run_globals


 "/home/cjf/bin/youtube-dl/__main__.py", line 19, in <module>


 "/home/cjf/bin/youtube-dl/youtube_dl/__init__.py", line 474, in main


 "/home/cjf/bin/youtube-dl/youtube_dl/__init__.py", line 464, in _real_main


 "/home/cjf/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2008, in download


 "/home/cjf/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 807, in extract_info


 "/home/cjf/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 861, in process_ie_result


 "/home/cjf/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1642, in process_video_result


 "/home/cjf/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1707, in process_info
TypeError: object of type 'NoneType' has no len()
