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

Nukes cells after navigating #10

Closed
Peder2911 opened this issue May 11, 2021 · 2 comments
Closed

Nukes cells after navigating #10

Peder2911 opened this issue May 11, 2021 · 2 comments

Comments

@Peder2911
Copy link

Hey!

I am amazed at this tool. Very useful! I have unfortunately found an issue which renders it near-unusable for me.

I edit cells with an external editor, but sometimes cells "revert" to their previous content after saving and navigating away from the cell. For example, I add some code using my editor (Neovim), save the code and drop back into Euporie. Randomly, cells suddenly become empty if I navigate away from them, or run them.

Any idea why this might be? I could maybe contribute a solution if you could point me in the right direction.
P

@joouha
Copy link
Owner

joouha commented May 11, 2021

Hi - I'm so glad you like euporie 😄

Thanks for reporting this. It looks like I forgot to actually save the changed text to the notebook JSON when the editor was closed. This meant that although the screen was updated after an edit, if you navigate away from the cell then come back, the cell is redrawn from the notebook JSON data, which is why it reverted back to it's original value.

It's been fixed it in 4dcfc70, and I've made a new release, so if you upgrade to v0.1.5 euporie should be usable for you.

@joouha joouha closed this as completed May 11, 2021
@Peder2911
Copy link
Author

You are brilliant! Thank you.

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

No branches or pull requests

2 participants