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.97k stars 929 forks source link

TypeError: Cannot read properties of undefined (reading 'entities') #3697

Open ryanjkemper opened 2 hours ago

ryanjkemper commented 2 hours ago

Steps to Reproduce

  1. Re-installed via snap after upgrading Ubuntu 24. Previously this crashed and was getting the error as related to #3521
  2. After Re-install and attempting to import from backup, hit #1770 and resolved it via the steps in that Issue.
  3. Selected the main.json from the latest backup, before the crash. It asked if I wanted to migrate legacy data and I said yes.
  4. Hit this error and am reporting it now.

Error Log (Desktop only)

Console Output

Meta Info

META: SP10.1.1 Electron – en-US – Linux x86_64 – Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) superProductivity/10.1.1 Chrome/128.0.6613.162 Electron/32.1.2 Safari/537.36

Stacktrace

TypeError: Cannot read properties of undefined (reading 'entities')
    at u7e (file:///snap/superproductivity/2133/resources/app.asar/dist/browser/main-4LYYPQAI.js:163:11648)
    at file:///snap/superproductivity/2133/resources/app.asar/dist/browser/main-4LYYPQAI.js:163:9522
    at Array.forEach (<anonymous>)
    at o7e (file:///snap/superproductivity/2133/resources/app.asar/dist/browser/main-4LYYPQAI.js:163:9505)
    at mhe (file:///snap/superproductivity/2133/resources/app.asar/dist/browser/main-4LYYPQAI.js:163:9348)
    at e.repairData (file:///snap/superproductivity/2133/resources/app.asar/dist/browser/main-4LYYPQAI.js:163:16119)
    at e.<anonymous> (file:///snap/superproductivity/2133/resources/app.asar/dist/browser/main-4LYYPQAI.js:170:8536)
    at Generator.next (<anonymous>)
    at o (file:///snap/superproductivity/2133/resources/app.asar/dist/browser/main-4LYYPQAI.js:1:1821)
    at a.invoke (file:///snap/superproductivity/2133/resources/app.asar/dist/browser/polyfills-KL5Y42F4.js:1:38702)

Actions Before Error

1731972957818: [FocusMode] Set focus session elapsed time 
1731972957934: [SP_ALL] Load(import) all data 
1731972957936: [SP_ALL] All Data was loaded 
1731973054715: [FocusMode] Set focus session elapsed time 
1731973054830: [SP_ALL] Load(import) all data 
1731973054833: [SP_ALL] All Data was loaded 
1731973142054: [FocusMode] Set focus session elapsed time 
1731973142153: [SP_ALL] Load(import) all data 
1731973142156: [SP_ALL] All Data was loaded 
1731973143966: [Layout] Toggle SideBar 
1731973171130: [FocusMode] Set focus session elapsed time 
1731973171247: [SP_ALL] Load(import) all data 
1731973171249: [SP_ALL] All Data was loaded 
1731973191425: [Persistence] Save to DB
github-actions[bot] commented 2 hours 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!