Traceback (most recent call last):


 "/home/jens/.local/share/virtualenvs/thonny-6qUXfC5h/lib/python3.6/site-packages/thonny/__init__.py", line 166, in launch

bench.mainloop()


 "/usr/lib/python3.6/tkinter/__init__.py", line 1283, in mainloop

self.tk.mainloop(n)


 "/home/jens/.local/share/virtualenvs/thonny-6qUXfC5h/lib/python3.6/site-packages/thonny/tktextext.py", line 45, in _dispatch_tk_operation

return f(*args)


 "/home/jens/.local/share/virtualenvs/thonny-6qUXfC5h/lib/python3.6/site-packages/thonny/shell.py", line 821, in intercept_insert

if get_runner().is_waiting_toplevel_command():
AttributeError: 'NoneType' object has no attribute 'is_waiting_toplevel_command'

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'
