Is your file_exists method always returning a fixed value? What happens if you change it so it returns True if the file exists and False if it doesn’t?
Notebook creation fails through. I think notebook creation happens here and it seems like file_exists should always return true and dir_exists should always return false yet this configuration causes infinite loop described above.
What are you using for your Checkpoints? When I wrote my ContentsManager I also needed to write a Checkpoints class before saving notebooks would work properly.
@manics checkpoints don’t matter, but thank you for the advice. Here’s the answer: exist - false exist_dir for dir - true exist_dir for file - false
That’s the ticket