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

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

Open
ryanjkemper opened this issue Nov 18, 2024 · 1 comment
Open

Comments

@ryanjkemper
Copy link

Steps to Reproduce

  1. Re-installed via snap after upgrading Ubuntu 24. Previously this crashed and was getting the error as related to "Cannot access database" error on startup #3521
  2. After Re-install and attempting to import from backup, hit Text display issue with Import file dialog (and exit dialog) #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
Copy link

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!

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

1 participant