Cannot edit file in read-only mode #10242
-
|
I open a Jupyter notebook in Positron. I have the current version sync'd with origin/main per git, and I have main checked out. But when I try to edit, i get the error message "Cannot edit in read-only editor." There's a lock symbol by the filename at the tab at the top of the editor. I've tried a dozen things. I can't figure out why the lock is there or how to unlock it. How do I make the file editable? p.s. I just tried opening it a fifth or tenth time and this time it worked. I have no idea why. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
Thanks for the issue, and happy to know it got resolved. Let us know if it happens again! |
Beta Was this translation helpful? Give feedback.
You could inspect the developer tools console (Help > Toggle Developer Tools) or any Output channels for related errors. It might also be instructive to see if you can edit the file in another editor like VS Code or a Notepad/TextEdit, or otherwise check its permissions. Or maybe run
git statusto see if there's anything strange happening.