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

nb crashed and it does not open anymore #292

Closed
ouyama-sa opened this issue Nov 22, 2023 · 2 comments
Closed

nb crashed and it does not open anymore #292

ouyama-sa opened this issue Nov 22, 2023 · 2 comments

Comments

@ouyama-sa
Copy link

Problem: nb is not starting.
I was trying to rename a todo entry with the --to-title option, when it crashed completely and closed. After that the nb command does not work, neither with options such as --show.
I tried to reboot the terminal and even the whole DE with no success.

I am sorry for not providing more information, I am not familiarized with the program yet.

@ouyama-sa
Copy link
Author

Additional information:

I was able to reproduce the crash:

(on a new notebook)

  1. nb todo add "todo1"
  2. nb rename 1 --to-title
  3. nb duplicate 1
  4. change the name of the duplicated todo
  5. nb rename 2 --to-title
  6. output: "! Move index update failed."

The crash happens after this.

Solution: cd into .nb and manually delete the notebook folder.

Again, I am sorry if this is a major error on my part, I am still learning to use this program and I have not seen anything on the documentation about this.

[PRINTS OF THE PROCEDURE]

image
image

@xwmx
Copy link
Owner

xwmx commented Nov 28, 2023

@ouyama-sa Thanks for the detailed information. It looks like this was due to an issue with bracket handling when updating the index. This should be fixed as of version 7.9.0. If it still isn’t functioning, you can try running nb index reconcile and see if it fixes the index. Let me know if you run into any more issues with this. Thanks!

@xwmx xwmx closed this as completed Nov 28, 2023
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