Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "venv/lib/python3.6/site-packages/jedi/api/__init__.py", line 174, in completions

completions = completion.completions()


 "venv/lib/python3.6/site-packages/jedi/api/completion.py", line 98, in completions

completion_names = self._get_context_completions()


 "venv/lib/python3.6/site-packages/jedi/api/completion.py", line 197, in _get_context_completions

completion_names += self._trailer_completions(dot.get_previous_leaf())


 "venv/lib/python3.6/site-packages/jedi/api/completion.py", line 232, in _trailer_completions

contexts = evaluate_call_of_leaf(evaluation_context, previous_leaf)


 "venv/lib/python3.6/site-packages/jedi/evaluate/helpers.py", line 73, in evaluate_call_of_leaf

return context.eval_node(leaf)


 "venv/lib/python3.6/site-packages/jedi/evaluate/base_context.py", line 145, in eval_node

return self.evaluator.eval_element(self, node)


 "venv/lib/python3.6/site-packages/jedi/evaluate/__init__.py", line 194, in eval_element

return self._eval_element_if_evaluated(context, element)


 "venv/lib/python3.6/site-packages/jedi/evaluate/__init__.py", line 206, in _eval_element_if_evaluated

return self._eval_element_cached(context, element)


 "venv/lib/python3.6/site-packages/jedi/evaluate/cache.py", line 40, in wrapper

rv = function(obj, *args, **kwargs)


 "venv/lib/python3.6/site-packages/jedi/evaluate/__init__.py", line 210, in _eval_element_cached

return eval_node(context, element)


 "venv/lib/python3.6/site-packages/jedi/debug.py", line 79, in wrapper

return func(*args, **kwargs)


 "venv/lib/python3.6/site-packages/jedi/evaluate/syntax_tree.py", line 48, in wrapper

return func(context, *args, **kwargs)


 "venv/lib/python3.6/site-packages/jedi/evaluate/syntax_tree.py", line 146, in eval_node

return eval_or_test(context, element)


 "venv/lib/python3.6/site-packages/jedi/evaluate/syntax_tree.py", line 337, in eval_or_test

iterator = iter(or_test.children)
AttributeError: 'FStringEnd' object has no attribute 'children'

Traceback (most recent call last):


 "/home/alito/apps/thonny/lib/python3.7/tkinter/__init__.py", line 1705, in __call__

return self.func(*args)


 "/home/alito/apps/thonny/lib/python3.7/site-packages/thonny/tktextext.py", line 229, in dispatch

return fun(event)


 "/home/alito/apps/thonny/lib/python3.7/site-packages/thonny/tktextext.py", line 541, in perform_tab

return self.perform_midline_tab(event)


 "/home/alito/apps/thonny/lib/python3.7/site-packages/thonny/plugins/autocomplete.py", line 321, in patched_perform_midline_tab

_handle_autocomplete_request_for_text(text)


 "/home/alito/apps/thonny/lib/python3.7/site-packages/thonny/plugins/autocomplete.py", line 309, in _handle_autocomplete_request_for_text

text.autocompleter.handle_autocomplete_request()


 "/home/alito/apps/thonny/lib/python3.7/site-packages/thonny/plugins/autocomplete.py", line 58, in handle_autocomplete_request

filename=self._get_filename(),


 "/home/alito/apps/thonny/lib/python3.7/site-packages/thonny/running.py", line 268, in send_command

response = self._proxy.send_command(cmd)


 "/home/alito/apps/thonny/lib/python3.7/site-packages/thonny/plugins/micropython/__init__.py", line 184, in send_command

return super().send_command(cmd)


 "/home/alito/apps/thonny/lib/python3.7/site-packages/thonny/running.py", line 961, in send_command

self._send_msg(cmd)


 "/home/alito/apps/thonny/lib/python3.7/site-packages/thonny/running.py", line 964, in _send_msg

self._proc.stdin.write(serialize_message(msg) + "\n")
AttributeError: 'NoneType' object has no attribute 'stdin'
