Traceback (most recent call last):


 "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner

self.run()


 "/usr/lib/python2.7/threading.py", line 754, in run

self.__target(*self.__args, **self.__kwargs)


 "/usr/local/lib/python2.7/dist-packages/paddle/v2/reader/decorator.py", line 271, in handle_worker

r = mapper(sample)


 "/usr/local/lib/python2.7/dist-packages/paddle/v2/dataset/flowers.py", line 63, in default_mapper

img = load_image_bytes(img)


 "/usr/local/lib/python2.7/dist-packages/paddle/v2/image.py", line 113, in load_image_bytes

img = cv2.imdecode(file_bytes, flag)
AttributeError: 'NoneType' object has no attribute 'imdecode'

Traceback (most recent call last):


 "c:\users\rithvij\appdata\local\programs\python\python38\lib\runpy.py", line 192, in _run_module_as_main

return _run_code(code, main_globals, None,


 "c:\users\rithvij\appdata\local\programs\python\python38\lib\runpy.py", line 85, in _run_code

exec(code, run_globals)


 "C:\Users\Rithvij\AppData\Local\Programs\Python\Python38\Scripts\gallery-dl.exe\__main__.py", line 7, in <module>


 "c:\users\rithvij\appdata\local\programs\python\python38\lib\site-packages\gallery_dl\__init__.py", line 112, in main

output.replace_std_streams()


 "c:\users\rithvij\appdata\local\programs\python\python38\lib\site-packages\gallery_dl\output.py", line 153, in replace_std_streams

stream.buffer,
AttributeError: 'NoneType' object has no attribute 'buffer'
