Traceback (most recent call last):


 "C:\ProgramData\Anaconda3\lib\site-packages\traitlets\traitlets.py", line 528, in get

value = obj._trait_values[self.name]
KeyError: 'context'


Traceback (most recent call last):


 "testpy.py", line 4, in <module>

im.thumbnail((240,180))


 "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 1843, in thumbnail

im = self.resize(size, resample)


 "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 1541, in resize

self.load()


 "/usr/lib/python2.7/dist-packages/PIL/Image
.py", line 244, in load

raise_ioerror(err_code)


 "/usr/lib/python2.7/dist-packages/PIL/Image
.py", line 59, in raise_ioerror

raise IOError(message + " when reading image file")

IOError: codec configuration error when reading image file
