Skip to content

Fix an issue where modifying a snapshot or unknown circumstances caused node.children to be None#63

Open
Mejituu wants to merge 2 commits into
ricardomv:masterfrom
Mejituu:master
Open

Fix an issue where modifying a snapshot or unknown circumstances caused node.children to be None#63
Mejituu wants to merge 2 commits into
ricardomv:masterfrom
Mejituu:master

Conversation

@Mejituu

@Mejituu Mejituu commented Nov 15, 2023

Copy link
Copy Markdown

#62 #59 #58
node children python TypeError: 'NoneType' object does not support item assignment

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/snappergui/changesWindow.py", line 145, in on_idle_init_paths_tree
self.add_path_to_tree(str(entry[0]), int(entry[1]), files_tree)
File "/usr/lib/python3/dist-packages/snappergui/changesWindow.py", line 70, in add_path_to_tree
node.children[parts[-1]] = changesWindow.TreeNode(path, None, status, False)

TypeError: 'NoneType' object does not support item assignment 

@stelcodes

Copy link
Copy Markdown

Any update on this? I'm unable to view any diffs because of this bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants