BoraxTheClean / adaptable-antelopes

Code Jam 2021 adaptable antelopes team
MIT License
1 stars 0 forks source link

Add many functionalities for folders and notes #80

Closed SharpBit closed 3 years ago

SharpBit commented 3 years ago

Notes

Also fixes the bug when the folder that the currently opened note is in or the currently opened note is renamed, moved, or deleted, and then you save it. It now will prompt a Save As since the note no longer "exists" (it may exist if it was moved or renamed, just not at the old path).

CupOfGeo commented 3 years ago

Again i get this when making a new folder but if i click ok it goes away same with the other comment i had image

CupOfGeo commented 3 years ago

I also got this error while trying to cancel honestly it was really confusing trying to move my poop.txt to my new toilet folder Unhandled exception in event loop: File "/Users/mazzeogeorge/Code/adaptable-antelopes/src/navigation/menu_bar.py", line 223, in coroutine shutil.move(item_path, move_path) File "/usr/local/Cellar/python@3.8/3.8.10/Frameworks/Python.framework/Versions/3.8/lib/python3.8/shutil.py", line 780, in move if os.path.isdir(dst): File "/usr/local/Cellar/python@3.8/3.8.10/Frameworks/Python.framework/Versions/3.8/lib/python3.8/genericpath.py", line 42, in isdir st = os.stat(s)

Exception stat: path should be string, bytes, os.PathLike or integer, not NoneType Press ENTER to continue...

CupOfGeo commented 3 years ago

Trying to delete a subfolder

Unhandled exception in event loop: File "/Users/mazzeogeorge/Code/adaptable-antelopes/src/navigation/menu_bar.py", line 444, in coroutine if self.application_state.current_path.startswith(path):

Exception 'NoneType' object has no attribute 'startswith' Press ENTER to continue...