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

Task deleted when adding note #25

Closed
geek-merlin opened this issue Dec 15, 2018 · 2 comments
Closed

Task deleted when adding note #25

geek-merlin opened this issue Dec 15, 2018 · 2 comments

Comments

@geek-merlin
Copy link

What are the minimum necessary steps to reproduce this issue?

  • on ubuntu linux 1804
  • (if it matters: install in userland as introduced in "Unable to find resource" #24)
  • add a task "foo"
  • doubleclick to edit, add note "bar", clock "OK"

What happens?

todo.txt loses some tasks
(not all, it looks like the edited and all following)

What were you expecting to happen?

;-)

Please paste any error or log messages here

"Task updated"
"Unable to save tasks: FIle or directory nor found (OS error 2)

Any other details

@cypa
Copy link

cypa commented Feb 24, 2021

My todo.txt file was truncated, only 3 lines left.
I've had a file like this

(I) русский текст в строке
(L) ещё одна строка
(I) ещё больше строка даже с английскими буквами немножко foo:foo
- и много строк с минусами в начале
- ещё ....
- и ещё ...
- 20 more lines with minuses

and all the lines starting with '-' were truncated on first save event in effitask
(btw I have a backup copy of the file so I lost nothing)

@sanpii
Copy link
Collaborator

sanpii commented Feb 28, 2021

Sorry, I forgot this issue…

This bug occurs when the notes directory doesn’t exist. Now I create the directory if doesn’t exist and I continue to save task if this fail.

@sanpii sanpii closed this as completed Feb 28, 2021
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

3 participants