-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
If Nextcloud has more than 200 tasks, the app crashes #1479
Comments
I've around 477 tasks in 9 lists. My biggest list has about 134 tasks. I also use subtasks. I also have Fedora 41 with Planify 4.11.6. I sync my tasks with my nextcloud instance on pikapods. It does not crash. When you run Planify from the terminal (e.g. Does it open for you at all? Does it freeze and then go out of memory? |
It just freezes, see screenshot. I reinstalled it a few times, makes no difference. The terminal says: ** (io.github.alainm23.planify:2): CRITICAL **: 09:51:03.891: objects_item_get_item_type: assertion 'self != NULL' failed ** (io.github.alainm23.planify:2): CRITICAL **: 09:51:03.891: objects_item_get_completed: assertion 'self != NULL' failed ** (io.github.alainm23.planify:2): Gtk-CRITICAL **: 09:51:03.904: gtk_text_buffer_set_text: assertion 'text != NULL' failed BEGIN:VCALENDAR and then it lists alot of the tasks like here until it just stops. It still uses a lot of CPU Power and Memory, but nothing happens. |
Creating bigger lists in the GUI takes some time and the app will allocate more memory. You should be able to see that bump in ram allocation relatively fast. But when it just consumes CPU and nothing else seems to happen, it might be an endless loop in your task dependencies. Does your today view within the Nextcloud calendar app work? How many lists do you have within your 500-tasks-account? In order to identify the broken list, you could delete it within the Nextcloud calendar web app, reconnect planify so that it fetches everything again, and restore/undelete the list again (NC calendar app has a trashcan). This is how I narrowed my faulty lists down. You initially said that it would crash, but it rather sounds like it "never finishes", right? I mean, I cannot see a segfault or something within your output. |
Thank you very much for your detailed tips. I still don't know what the problem was, but I took it as an opportunity to delete old tasks (I still had 3000 completed ones) and simply start a new list with a new provider. The app works great, thank you! |
I have over 500 tasks on my Nexcloud from thegood.cloud. My account with only 30 tasks works fine. My account with 500 tasks crashes when I try to connect it.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The app doesn't crash, it just synchronises the tasks.
Desktop:
Thank you for everything: Love your app!
The text was updated successfully, but these errors were encountered: