johannesjo / super-productivity

Super Productivity is an advanced todo list app with integrated Timeboxing and time tracking capabilities. It also comes with integrations for Jira, Gitlab, GitHub and Open Project.
http://super-productivity.com
MIT License
8.67k stars 753 forks source link

Your data seems to be damaged #3073

Open Cyber-Syntax opened 3 months ago

Cyber-Syntax commented 3 months ago

Your Environment

Expected Behavior

Current Behavior

Similar to #3059 but give for my P1 tag. I was able to open app and continue working without any errors and I haven't seen any data loss yet. I use that tag a lot and I don't want to lose things. Is there a solution to avoid losing data for now?

"subTaskIds":["c_Kcx7XJ6fO5MI2pMLD5U","6Jlt7vctUHDuNcEiJQjtj","Uhyg2XsJNiEQ3aqpCog1r","8wjTRJXyUFWafPnmqhh35"], "timeSpentOnDay":{"2024-03-05":3819000},"timeSpent":3819000,"timeEstimate":600000,"isDone":true,"doneOn":1709646912258,

"title":"[Take 10 min] do-backup-for-cloud", "notes":"", "tagIds":["TODAY","FEu9qjsHP2JtsXNmhg9Th"],"parentId":null,"reminderId":null,"created":1709270092351,"repeatCfgId":"TNd7zwx7whbINTvwbQFby","plannedAt":null,"_showSubTasksMode":2,"attachments":[],"issueId":null,"issueProviderId":null, "issuePoints":null,"issueType":null,"issueAttachmentNr":null,"issueLastUpdated":null,"issueWasUpdated":null,"issueTimeTracked":null},"YKiS


![image](https://github.com/johannesjo/super-productivity/assets/115875369/2c9aad67-f461-42bc-8c79-05a7db693bfd)

### Steps to Reproduce (for bugs)

<!--- Does the error happen once or are you able to reproduce it reliably? --->
<!--- Provide a link to a live example or an unambiguous set of steps to -->
<!--- reproduce this bug. Include code to reproduce, if relevant -->

1. Open superproductivity
2. Get error
3. Say ok
4. Continue using without visible error
5. Get same error every start.

### Can you reproduce this reliably?

I don't know how you can reproduce this behavior but I am consistently getting every start.
### Console Output

<!--- Is there any output if you press Ctrl+Shift+i (Cmd+Alt+i for mac) in the console tab? If so please post it here. -->

### Error Log (Desktop only)

<!--- For the desktop versions, there is also an error log file in case there is no console output.
Usually, you can find it here:
on Linux: ~/.config/superProductivity/logs/main.log
on macOS: ~/Library/Logs/superProductivity/main.log
on Windows: %USERPROFILE%\AppData\Roaming\superProductivity\logs\main.log

If you don't feel comfortable posting your logs here in public you can also send to me via email: contact@super-productivity.com
. -->

[2024-03-06 00:23:22.515] [info] close, isQuiting: true [2024-03-06 10:10:05.329] [info] { enabled: null, showDevTools: false, mode: 'bottom' } [2024-03-06 10:10:05.994] [info] Saving backups to /home/cyber-syntax/.config/superProductivity/backups [2024-03-06 10:10:07.079] [info] No custom styles detected at /home/cyber-syntax/.config/superProductivity/styles.css [2024-03-06 10:41:48.190] [info] close, isQuiting: undefined [2024-03-06 10:41:48.195] [info] Actions to wait for [ 'SYNC_BEFORE_CLOSE_ID', 'FINISH_DAY_BEFORE_CLOSE_EFFECT' ] [2024-03-06 10:41:49.392] [info] BEFORE_CLOSE_DONE FINISH_DAY_BEFORE_CLOSE_EFFECT [ 'SYNC_BEFORE_CLOSE_ID' ] [2024-03-06 10:41:52.116] [info] BEFORE_CLOSE_DONE SYNC_BEFORE_CLOSE_ID [] [2024-03-06 10:41:52.116] [info] close, isQuiting: undefined [2024-03-06 10:41:52.117] [info] close, isQuiting: true [2024-03-06 10:41:52.188] [info] Quit after all windows being closed [2024-03-06 10:41:54.725] [info] { enabled: null, showDevTools: false, mode: 'bottom' } [2024-03-06 10:41:55.202] [info] Saving backups to /home/cyber-syntax/.config/superProductivity/backups [2024-03-06 10:41:56.280] [info] No custom styles detected at /home/cyber-syntax/.config/superProductivity/styles.css

github-actions[bot] commented 3 months ago

Thank you very much for opening up this issue! I am currently a bit overwhelmed by the many requests that arrive each week, so please forgive me, if I fail to respond personally. I am still very likely to at least skim read your request and I'll probably try to fix all (real) bugs if possible and I will likely review every single PR being made (please, give me a heads up if you intent to do so) and I will try to work on popular requests (please upvote via thumbs up on the original issue) whenever possible, but trying to respond to every single issue over the last years has been kind of draining and I need to adjust my approach for this project to remain fun for me and to make any progress with actually coding new stuff. Thanks for your understanding!

johannesjo commented 3 months ago

Hey there! Thank you very much for reporting this!

It would be great if you could share a copy of your data to contact@super-productivity.com, so I can debug this on my computer (and please let me know here, if you send something, as those mails quite often land in the spam folder). You can create an export by navigating to "Settings" and then to "Import/Export" or you can use the "Export data" button from the error Dialog (there is also a button there which will anonymize the data before exporting).

Cyber-Syntax commented 3 months ago

@johannesjo I was tried to export with anonymize export but it seems that not work for default task note. I send (mail subject include cyber-syntax) it anyway. I don't get same error anymore. It might be related what I did for solving.

johannesjo commented 3 months ago

Didn't find your mail. Hope i did not accidentally delete it :/

Would be great if you could send me the data export if the error happens again!

Cyber-Syntax commented 3 months ago

Apparently my solution worked. I don't get any error anymore. Therefore, I think you can't produce error with my data anymore. I started getting this error when I used p1 tag in subtasks of repetitive tasks. Maybe you can produce this manually. I don't have time to reproduce this error right now, but maybe I will when I have some free time..