Traceback (most recent call last):


 "C:\Users\micro\AppData\Local\Programs\Thonny\lib\site-packages\thonny\plugins\cpython\cpython_backend.py", line 1789, in _trace

return self._trace_and_catch(frame, event, arg)


 "C:\Users\micro\AppData\Local\Programs\Thonny\lib\site-packages\thonny\plugins\cpython\cpython_backend.py", line 1834, in _trace_and_catch

self._handle_progress_event(frame.f_back, event, marker_function_args, node)


 "C:\Users\micro\AppData\Local\Programs\Thonny\lib\site-packages\thonny\plugins\cpython\cpython_backend.py", line 1892, in _handle_progress_event

self._save_current_state(frame, event, args, node)


 "C:\Users\micro\AppData\Local\Programs\Thonny\lib\site-packages\thonny\plugins\cpython\cpython_backend.py", line 1942, in _save_current_state

or not range_contains_smaller_or_equal(prev_root_expression, focus)


 "C:\Users\micro\AppData\Local\Programs\Thonny\lib\site-packages\thonny\common.py", line 139, in range_contains_smaller_or_equal

return range_contains_smaller(one, other) or one == other


 "C:\Users\micro\AppData\Local\Programs\Thonny\lib\site-packages\thonny\common.py", line 123, in range_contains_smaller

this_start = (one.lineno, one.col_offset)
AttributeError: 'NoneType' object has no attribute 'lineno'

Traceback (most recent call last):


 "/usr/lib/python3.6/site-packages/werkzeug/serving.py", line 209, in run_wsgi

execute(self.server.app)


 "/usr/lib/python3.6/site-packages/werkzeug/serving.py", line 197, in execute

application_iter = app(environ, start_response)


 "/usr/lib/python3.6/site-packages/moto/server.py", line 92, in __call__

return backend_app(environ, start_response)


 "/usr/lib/python3.6/site-packages/flask/app.py", line 1997, in __call__

return self.wsgi_app(environ, start_response)


 "/usr/lib/python3.6/site-packages/flask/app.py", line 1985, in wsgi_app

response = self.handle_exception(e)


 "/usr/lib/python3.6/site-packages/flask/app.py", line 1540, in handle_exception

reraise(exc_type, exc_value, tb)


 "/usr/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise

raise value


 "/usr/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app

response = self.full_dispatch_request()


 "/usr/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/usr/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/usr/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise

raise value


 "/usr/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request

rv = self.dispatch_request()


 "/usr/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request

return self.view_functions[rule.endpoint](**req.view_args)


 "/usr/lib/python3.6/site-packages/moto/core/utils.py", line 131, in __call__

result = self.callback(request, request.url, {})


 "/usr/lib/python3.6/site-packages/moto/core/responses.py", line 111, in dispatch

return cls()._dispatch(*args, **kwargs)


 "/usr/lib/python3.6/site-packages/moto/core/responses.py", line 179, in _dispatch

return self.call_action()


 "/usr/lib/python3.6/site-packages/moto/dynamodb2/responses.py", line 32, in call_action

response = getattr(self, endpoint)()


 "/usr/lib/python3.6/site-packages/moto/dynamodb2/responses.py", line 298, in query

index = table.schema
AttributeError: 'NoneType' object has no attribute 'schema'
