Matthew-J-Bennett/Topological-Navigation-Editor

Error Node Deletion

Closed this issue · 0 comments

When deleting nodes with the shortcut backspace, these errors fill the console. The node is deleted but an error still shows

Traceback (most recent call last):
File "E:\Python\lib\tkinter_init_.py", line 1705, in call
return self.func(*args)
File "E:\Github\Topological-Navigation-Editor\Topological-Navigation-Editor\Topological-Navigation-Editor\frames\MainFrame.py", line 221, in delete_canvas_node_event
self.delete_canvas_node(self.master.clicked_item)
File "E:\Github\Topological-Navigation-Editor\Topological-Navigation-Editor\Topological-Navigation-Editor\frames\MainFrame.py", line 331, in delete_canvas_node
tmap.delete_node(self, node)
File "E:\Github\Topological-Navigation-Editor\Topological-Navigation-Editor\Topological-Navigation-Editor\tmap.py", line 121, in delete_node
pos = get_node_pos(self, node_name)
File "E:\Github\Topological-Navigation-Editor\Topological-Navigation-Editor\Topological-Navigation-Editor\tmap.py", line 145, in get_node_pos
logger.info("Position not found for node " + node_name)