Traceback (most recent call last):


 "/home/ly/.envs/xq/lib/python3.5/site-packages/jpeg4py/_py.py", line 215, in __del__

if self.decompressor is not None:
AttributeError: 'JPEG' object has no attribute 'decompressor'

Traceback (most recent call last):


 "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/thonny/workbench.py", line 1449, in event_generate

handler(event)


 "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/thonny/plugins/debugger.py", line 1055, in _handle_debugger_progress

_current_debugger.handle_debugger_progress(msg)


 "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/thonny/plugins/debugger.py", line 152, in handle_debugger_progress

self.bring_out_frame(self._last_progress_message.stack[-1].id, force=True)


 "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/thonny/plugins/debugger.py", line 187, in bring_out_frame

self._last_progress_message, frame_info


 "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/thonny/plugins/debugger.py", line 521, in _update_this_frame

FrameVisualizer._update_this_frame(self, msg, frame_info)


 "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/thonny/plugins/debugger.py", line 389, in _update_this_frame

self._tag_range(frame_info.current_statement, stmt_tag)


 "/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/thonny/plugins/debugger.py", line 424, in _tag_range

"%d.0" % self._translate_lineno(text_range.lineno),
AttributeError: 'NoneType' object has no attribute 'lineno'
