Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Mejituu
Copy link

@Mejituu Mejituu commented Nov 15, 2023

#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

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