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 '1') #4100

Open
ZippZopp opened this issue Mar 10, 2025 · 2 comments
Open

TypeError: Cannot read properties of undefined (reading '1') #4100

ZippZopp opened this issue Mar 10, 2025 · 2 comments

Comments

@ZippZopp
Copy link

ZippZopp commented Mar 10, 2025

i can't finish my day since multiple days, which is annoying because it prevents me from using the App.
Image
it does not work in the browser(edge) as well, when i import the data, when the delete all the tasks which i finshed, so are relevant for the day report, it throws the same error

i could be completely wrong, but the reason could be "M] Migrating model "Task Archive" to version from 4.1 to 5 Object", which is allways before the error.

Image

if you want any additional information let me know.

big fan of the App, keep it up.

Error Log (Desktop only)

Console Output

Meta Info

META: SP12.0.0 __ Electron – en-US – Win32 – en-US – UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) superProductivity/12.0.0 Chrome/132.0.6834.83 Electron/34.0.0 Safari/537.36

Stacktrace

TypeError: Cannot read properties of undefined (reading '1')
    at jY (file:///C:/Program%20Files/WindowsApps/53707johannesjo.SuperProductivity_12.0.0.0_x64__ch45amy23cdv6/app/resources/app.asar/dist/browser/main-VKMXJAXA.js:286:9044)
    at cx (file:///C:/Program%20Files/WindowsApps/53707johannesjo.SuperProductivity_12.0.0.0_x64__ch45amy23cdv6/app/resources/app.asar/dist/browser/main-VKMXJAXA.js:286:8793)
    at file:///C:/Program%20Files/WindowsApps/53707johannesjo.SuperProductivity_12.0.0.0_x64__ch45amy23cdv6/app/resources/app.asar/dist/browser/main-VKMXJAXA.js:353:5047
    at Array.map (<anonymous>)
    at Object.computation (file:///C:/Program%20Files/WindowsApps/53707johannesjo.SuperProductivity_12.0.0.0_x64__ch45amy23cdv6/app/resources/app.asar/dist/browser/main-VKMXJAXA.js:353:5014)
    at Object.producerRecomputeValue (file:///C:/Program%20Files/WindowsApps/53707johannesjo.SuperProductivity_12.0.0.0_x64__ch45amy23cdv6/app/resources/app.asar/dist/browser/main-VKMXJAXA.js:72:34713)
    at UV (file:///C:/Program%20Files/WindowsApps/53707johannesjo.SuperProductivity_12.0.0.0_x64__ch45amy23cdv6/app/resources/app.asar/dist/browser/main-VKMXJAXA.js:72:31833)
    at n.e [as simpleCounterSummaryItems] (file:///C:/Program%20Files/WindowsApps/53707johannesjo.SuperProductivity_12.0.0.0_x64__ch45amy23cdv6/app/resources/app.asar/dist/browser/main-VKMXJAXA.js:72:34299)
    at template (file:///C:/Program%20Files/WindowsApps/53707johannesjo.SuperProductivity_12.0.0.0_x64__ch45amy23cdv6/app/resources/app.asar/dist/browser/main-VKMXJAXA.js:353:15135)
    at _Z (file:///C:/Program%20Files/WindowsApps/53707johannesjo.SuperProductivity_12.0.0.0_x64__ch45amy23cdv6/app/resources/app.asar/dist/browser/main-VKMXJAXA.js:79:46485)

Actions Before Error

1741587564742: [Persistence] Save to DB (3) 
1741587564743: [Task] Update Task Tags 
1741587564746: [Persistence] Save to DB (3) 
1741587564747: [Task] Update Task Tags 
1741587564750: [Persistence] Save to DB (3) 
1741587564751: [Task] Update Task Tags 
1741587564753: [Persistence] Save to DB (3) 
1741587564839: [Planner] Update Planner Dialog Last Shown 
1741587564840: [Persistence] Save to DB 
1741587610413: [Planner] Cleanup Old And Undefined Planner Tasks 
1741587610414: [Persistence] Save to DB 
1741587646586: [Task] SetSelectedTask 
1741587646596: [Layout] Hide Notes 
1741587652089: [SP_ALL] Load(import) all data 
1741587652092: [SP_ALL] All Data was loaded 
1741587652107: [Layout] Hide Notes 
1741587652132: [Task] SetSelectedTask 
1741587654955: [Layout] Hide SideBar 
1741587668665: [SP_ALL] Load(import) all data 
1741587668668: [SP_ALL] All Data was loaded 
1741587668694: [Layout] Hide Notes 
1741587668718: [Task] SetSelectedTask 
1741587697094: [Task] Toggle start 
1741587697096: [Persistence] Save to DB 
1741587697096: [Task] SetCurrentTask 
1741587697098: [Task] UnsetCurrentTask 
1741587706294: [SP_ALL] Load(import) all data 
1741587706297: [SP_ALL] All Data was loaded 
1741587711794: [Task] SetSelectedTask 
1741587711802: [Layout] Hide Notes
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!

Copy link

Hello there ZippZopp! 👋

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. 💖

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