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
Problem with todo after upgrading #124
Comments
I am not sure but there is chance that the update was not backwards compatible since #119 you can see your tasks manually with cat ~/. todo/list.txt They will not be numbered however. You can copy this list somewhere else and then run the todo clear command to erase the list file. Than try to add new elements to the newly created todo list and see if those are accessible with either |
You can also add tasks like |
Although this not the first time I have seen this error it generally stems from me switching some logic around and clearing the list seems to work. |
Sure, I use I copied the list to
See ^. After adding, old tasks were listed too. Now, if I add another one, it displays only two new tasks (both after adding and via
If clearing the list and starting over is an official workaround, you can close it. |
Ok, it's not done. When trying to add 8th task:
"some task" was still added to |
Not sure why the 08 thing is an error but it is an easy fix that I applied here 608cab1 As for the other error that seems very strange, it has been a little so I don't remember exactly what the difference in the logic is but I do remember that I did not build it to be able to handle bulk removal. When I added this option a lot of logic had to move around to make this work, I still don't think it should have broken backwards compatibility but its very possible. A solution to prevent any future errors (except the one you currently see about the 08 until the update comes out) would be just to move the current todo list file to the trash |
Released with Version 1.19.1 this has already been merged over to homebrew-core 🎉 |
Issue Label:
Description:
I worked with
1.17.2
version of todo:My todo list had 21 elements. I realised the version is quite old, so I decided to bump it:
Now, todo fails to do anything with the existing list:
Looks like some kind of BC break.
OS and OS version:
OS Version:
OS Version: 10.12.5
The text was updated successfully, but these errors were encountered: