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
11.39k stars 885 forks source link

Your data seems to be damaged ("Inconsistent Task State: Lonely Sub Task) #3059

Closed sripwoud closed 6 months ago

sripwoud commented 7 months ago

Your Environment

Expected Behavior

superproductivity should start and show my tasks.

Current Behavior

superproductivity doesn't start. A pop shows very briefly the following message and closes itself. I don't have time to click 'OK" image

Steps to Reproduce (for bugs)

  1. rm -rf ~/.local/superProductivity
  2. settings > Sync & Export > Import/Export > Import from file
  3. import super-productivity-backup-anon.json
  4. Finish Day > save and go home > aye aye! shutdown
  5. Try to start superProductivity again
  6. Message pop up is shown

If instead of step 4 I just quit the app (tray icon > quit), I can start superProductivity without problems again.

Can you reproduce this reliably?

Yes

Console Output

Can't access it as the app doesn't start

Error Log (Desktop only)

`main.log` ``` [2024-02-27 10:03:47.241] [info] { enabled: null, showDevTools: false, mode: 'bottom' } [2024-02-27 10:03:47.359] [info] Saving backups to /home/sripwoud/.config/superProductivity/backups [2024-02-27 10:03:47.989] [info] No custom styles detected at /home/sripwoud/.config/superProductivity/styles.css [2024-02-27 10:03:48.042] [info] Error: Global Shortcut registration failed: Ctrl+Shift+X at errorHandlerWithFrontendInform (/opt/superProductivity/resources/app.asar/electron/error-handler-with-frontend-inform.js:10:18) at /opt/superProductivity/resources/app.asar/electron/ipc-handler.js:181:101 at Array.forEach () at registerShowAppShortCuts (/opt/superProductivity/resources/app.asar/electron/ipc-handler.js:140:18) at IpcMainImpl. (/opt/superProductivity/resources/app.asar/electron/ipc-handler.js:110:9) at IpcMainImpl.emit (node:events:517:28) at WebContents. (node:electron/js2c/browser_init:2:77364) at WebContents.emit (node:events:517:28) [2024-02-27 10:03:48.043] [error] Global Shortcut registration failed: Ctrl+Shift+X Error: Global Shortcut registration failed: Ctrl+Shift+X at errorHandlerWithFrontendInform (/opt/superProductivity/resources/app.asar/electron/error-handler-with-frontend-inform.js:10:18) at /opt/superProductivity/resources/app.asar/electron/ipc-handler.js:181:101 at Array.forEach () at registerShowAppShortCuts (/opt/superProductivity/resources/app.asar/electron/ipc-handler.js:140:18) at IpcMainImpl. (/opt/superProductivity/resources/app.asar/electron/ipc-handler.js:110:9) at IpcMainImpl.emit (node:events:517:28) at WebContents. (node:electron/js2c/browser_init:2:77364) at WebContents.emit (node:events:517:28) [2024-02-27 10:03:48.043] [info] Additional Error info: Ctrl+Shift+X [2024-02-27 10:04:04.693] [info] Error: Global Shortcut registration failed: Ctrl+Shift+X at errorHandlerWithFrontendInform (/opt/superProductivity/resources/app.asar/electron/error-handler-with-frontend-inform.js:10:18) at /opt/superProductivity/resources/app.asar/electron/ipc-handler.js:181:101 at Array.forEach () at registerShowAppShortCuts (/opt/superProductivity/resources/app.asar/electron/ipc-handler.js:140:18) at IpcMainImpl. (/opt/superProductivity/resources/app.asar/electron/ipc-handler.js:110:9) at IpcMainImpl.emit (node:events:517:28) at WebContents. (node:electron/js2c/browser_init:2:77364) at WebContents.emit (node:events:517:28) [2024-02-27 10:04:04.693] [error] Global Shortcut registration failed: Ctrl+Shift+X Error: Global Shortcut registration failed: Ctrl+Shift+X at errorHandlerWithFrontendInform (/opt/superProductivity/resources/app.asar/electron/error-handler-with-frontend-inform.js:10:18) at /opt/superProductivity/resources/app.asar/electron/ipc-handler.js:181:101 at Array.forEach () at registerShowAppShortCuts (/opt/superProductivity/resources/app.asar/electron/ipc-handler.js:140:18) at IpcMainImpl. (/opt/superProductivity/resources/app.asar/electron/ipc-handler.js:110:9) at IpcMainImpl.emit (node:events:517:28) at WebContents. (node:electron/js2c/browser_init:2:77364) at WebContents.emit (node:events:517:28) [2024-02-27 10:04:04.693] [info] Additional Error info: Ctrl+Shift+X [2024-02-27 10:04:18.666] [info] close, isQuiting: true [2024-02-27 10:04:27.313] [info] { enabled: null, showDevTools: false, mode: 'bottom' } [2024-02-27 10:04:27.439] [info] Saving backups to /home/sripwoud/.config/superProductivity/backups [2024-02-27 10:04:28.052] [info] No custom styles detected at /home/sripwoud/.config/superProductivity/styles.css [2024-02-27 10:04:28.074] [info] Error: Global Shortcut registration failed: Ctrl+Shift+X at errorHandlerWithFrontendInform (/opt/superProductivity/resources/app.asar/electron/error-handler-with-frontend-inform.js:10:18) at /opt/superProductivity/resources/app.asar/electron/ipc-handler.js:181:101 at Array.forEach () at registerShowAppShortCuts (/opt/superProductivity/resources/app.asar/electron/ipc-handler.js:140:18) at IpcMainImpl. (/opt/superProductivity/resources/app.asar/electron/ipc-handler.js:110:9) at IpcMainImpl.emit (node:events:517:28) at WebContents. (node:electron/js2c/browser_init:2:77364) at WebContents.emit (node:events:517:28) [2024-02-27 10:04:28.074] [error] Global Shortcut registration failed: Ctrl+Shift+X Error: Global Shortcut registration failed: Ctrl+Shift+X at errorHandlerWithFrontendInform (/opt/superProductivity/resources/app.asar/electron/error-handler-with-frontend-inform.js:10:18) at /opt/superProductivity/resources/app.asar/electron/ipc-handler.js:181:101 at Array.forEach () at registerShowAppShortCuts (/opt/superProductivity/resources/app.asar/electron/ipc-handler.js:140:18) at IpcMainImpl. (/opt/superProductivity/resources/app.asar/electron/ipc-handler.js:110:9) at IpcMainImpl.emit (node:events:517:28) at WebContents. (node:electron/js2c/browser_init:2:77364) at WebContents.emit (node:events:517:28) [2024-02-27 10:04:28.075] [info] Additional Error info: Ctrl+Shift+X [2024-02-27 10:05:23.855] [info] close, isQuiting: true ```
github-actions[bot] commented 7 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!

github-actions[bot] commented 7 months ago

Hello there sripwoud! 👋

Thank you and congratulations 🎉 for opening your very first issue in this project! 💖

In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. 👀

For more open ended discussions and/or specific questions, please visit the discussions page. 💖

johannesjo commented 7 months ago

Thank you very much!

I was unable to reproduce the behavior with the dialog (maybe it is somewhere in the background???), but I was able to fix the issue that was causing it to appear in the first place.

I am leaving this open, since the original issue isn't solved.

Btw I love your profile picture! :)

sripwoud commented 7 months ago

Thanks for the reactivity! Is there a way I can help test the fix? I am not sure how I should build the app from source in this case? with https://github.com/johannesjo/super-productivity/blob/69c5a70ef0efb6f12e71547a43244edfda14534f/package.json#L81 ?

johannesjo commented 7 months ago

Thanks for the offer! There is an edge channel for the snap releases. Apart from that building from the sources is the only way. There is a short guide in the readme how to do it.

sripwoud commented 6 months ago

I confirm I haven't experienced this issue anymore since I have been using 8.0.1. :ok_hand: