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
10.12k stars 826 forks source link

Error: Project cB8oY126_5zArLOa86-j9 not found #3331

Open marcitqualab opened 1 month ago

marcitqualab commented 1 month ago

Steps to Reproduce

  1. Note: Sorry I am not sure about the exact steps. The error popped out while working on the today tasks. Ordering and editing the tasks.

Error Log (Desktop only)

Console Output

Meta Info

META: SP8.0.10 Electron – en-GB – Linux x86_64 – Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) superProductivity/8.0.10 Chrome/122.0.6261.156 Electron/29.4.2 Safari/537.36

Stacktrace

Error (webpack:///src/app/features/project/store/project.selectors.ts:57:12)
memoize(function (webpack:///node_modules/@ngrx/store/fesm2015/ngrx-store.mjs:757:29)
isArgumentsChanged (webpack:///node_modules/@ngrx/store/fesm2015/ngrx-store.mjs:645:39)
defaultStateFn (webpack:///node_modules/@ngrx/store/fesm2015/ngrx-store.mjs:664:38)
defaultMemoize(function (webpack:///node_modules/@ngrx/store/fesm2015/ngrx-store.mjs:760:35)
isArgumentsChanged (webpack:///node_modules/@ngrx/store/fesm2015/ngrx-store.mjs:645:39)
source$.pipe(pluck (webpack:///node_modules/@ngrx/store/fesm2015/ngrx-store.mjs:542:51)
_next (webpack:///node_modules/rxjs/_esm2015/internal/operators/map.js:29:34)
next (webpack:///node_modules/rxjs/_esm2015/internal/Subscriber.js:49:17)
super._subscribe (webpack:///node_modules/rxjs/_esm2015/internal/BehaviorSubject.js:14:23)

Actions Before Error

1722821099767: [Tag] Update Work End for Tag 
1722821099768: [Persistence] Save to DB (3) 
1722821100765: [Task] Add time spent 
1722821100767: [Project] Update Work End 
1722821100767: [Tag] Update Work End for Tag 
1722821100768: [Persistence] Save to DB (3) 
1722821101766: [Task] Add time spent 
1722821101767: [Project] Update Work End 
1722821101767: [Tag] Update Work End for Tag 
1722821101767: [Persistence] Save to DB (3) 
1722821102765: [Task] Add time spent 
1722821102766: [Project] Update Work End 
1722821102767: [Tag] Update Work End for Tag 
1722821102767: [Persistence] Save to DB (3) 
1722821103175: [WorkContext] Set Active Work Context 
1722821103176: [Task] SetSelectedTask 
1722821103766: [Task] Add time spent 
1722821103768: [Project] Update Work End 
1722821103768: [Tag] Update Work End for Tag 
1722821103769: [Persistence] Save to DB (3) 
1722821104767: [Task] Add time spent 
1722821104768: [Project] Update Work End 
1722821104769: [Tag] Update Work End for Tag 
1722821104769: [Persistence] Save to DB (3) 
1722821104984: [Task][Issue] Add Task 
1722821104988: [Persistence] Save to DB (3) 
1722821104988: [Task] Schedule 
1722821104989: [Persistence] Save to DB (2) 
1722821104989: [Task] Update Task 
1722821104989: [Persistence] Save to DB
github-actions[bot] commented 1 month 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!

marcitqualab commented 1 month ago

I think that the crash occurred after creating a task from a calendar event from a google calendar registerded to a project.

johannesjo commented 1 month ago

Has the project you configured as default for the calenddar been deleted by any chance?

johannesjo commented 1 month ago

If so, to avoid this in the future you should go to your calendar cfgs and set another project as default. I'll also provide a fix for this, that should do this automatically in the future.

marcitqualab commented 1 month ago

Hello Johannes

I think that I had two calendars configured and because I synchronise/share meetings between them the superproductivity app was crashing when I click the event template in the today screen. Somehow the shared meetings create a data problem. Thanks

Merci, Thanks, Gracias :-)

Marc Andreu from IT Quality Lab Ltd.

On Thu, 8 Aug 2024 at 20:18, Johannes Millan @.***> wrote:

If so, to avoid this in the future you should go to your calendar cfgs and set another project as default. I'll also provide a fix for this, that should do this automatically in the future.

— Reply to this email directly, view it on GitHub https://github.com/johannesjo/super-productivity/issues/3331#issuecomment-2275572819, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWKC4A3TKHLD2MBJEW4HW7DZQNH2FAVCNFSM6AAAAABL7KVBDOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZVGU3TEOBRHE . You are receiving this because you authored the thread.Message ID: @.***>