mrvladus / Errands

Todo application for those who prefer simplicity.
MIT License
288 stars 66 forks source link

Help Help! I added one new todo item and now all my todos are GONE? #186

Closed kobaz closed 7 months ago

kobaz commented 7 months ago

I was manually copying from my old todo app (xpad) and making new todo items in Errands one by one.

All of a sudden all my TODOs are missing from all my categories are gone.

Where is the data stored for errands? And how do I get my todos back?

Thanks.

mrvladus commented 7 months ago

Data stored in sqlite database at ~/.var/app/io.github.mrvladus.List/data/errands/data.db

mrvladus commented 7 months ago

How exactly you copied tasks? Just writing them or imported?

mrvladus commented 7 months ago

Can you add more info? Like version, is it a fresh install, is sync enabled, steps to reproduce, terminal output or log file at ~/.var/app/io.github.mrvladus.List/data/errands/log.txt

kobaz commented 7 months ago

I was copying tasks via just copy/paste. I had added about 75 tasks across 7 lists already. I added a new task, hit save... and then all my tasks were deleted except for 3

I loaded up the database at ~/.var/app/io.github.mrvladus.List/data/errands/data.db sqlite> select count() from lists; 7 sqlite> select count() from tasks; 3

Everything is gone :( I've lost months and months and months of todo task collections. My process of migration was, any time I added a new task to errands, I removed it from my old app.

I found the log files, but they are mostly internal debug related. Is there any log of what text was added into the lists?

Version is 45.1.5 Sync is not enabled

log.old.txt

log.txt doesn't have much of anything, but log.old.txt does (attached)

mrvladus commented 7 months ago

I'm very sorry to hear that... That's sucks. Did you use drag n drop? Because this version has this stupid bug when dragging task in one list deleted all the other tasks in all lists. As soon as I found that, I immediately released new version with bugfix on flathub.

mrvladus commented 7 months ago

I did not put task text in logs because of the privacy reasons, but I'll add backups from now on.

kobaz commented 7 months ago

"Did you use drag n drop? "

This rings a bell. I think that's what happened. I kind of remember seeing a todo floating around. When it released, that's when everything went away.

mrvladus commented 7 months ago

Closing as problem was fixed in recent releases