question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Repeating task not created

See original GitHub issue

Edit: Changing this issue to be a tracking issue for all circumstances where repeating tasks are currently not created:


Original message

Your Environment

  • Version used: v7.10.1, NixOS package
  • Operating System and version: NixOS 21.11
  • Desktop Environment: Gnome

Expected & Current Behavior

I started using Super Productivity 7.6 (on electron 13) on Wednesday. I created a few (10-15) repeated tasks, migrating them from my previous org-mode setup. i also completed them. I finished my day after midnight, and left Super Productivity running overnight.

On Thursday, to the best of my knowledge the repeated tasks were properly scheduled. On Thursday evening, I wanted to try out the ICS sync feature to have Super Productivity also be an interface for my meetings, so I upgraded to Super Productivity 7.10.1 (on electron 17). I tried out the feature (which deserves being marked as experimental I guess, but this is not the topic here 😅 ), finished my day before midnight, and left Super Productivity running overnight, with a few restarts in-between (including maybe one around midnight? I’m not sure).

Today, on Friday, I came back to Super Productivity to not see (all or any? not totally sure) the repeated tasks created. So I restarted it, thinking it probably needs a restart, and after the restart it asked me if it should schedule for today the repeated tasks. Except not all tasks that were scheduled on today were actually in the list it asked me to schedule: it is missing at least two that I can easily remember.

These two tasks are still in the “Repeated tasks” list with “Every day” repeat interval, so they were not lost. I tried restarting Super Productivity, as well as starting it from a terminal to get access to the logs, but there’s nothing of notice there.

Relatedly, this seems somehow similar to the thing mentioned in the first paragraph of this comment, though the issue topic is something else: https://github.com/johannesjo/super-productivity/issues/1902#issuecomment-1030914644

I’m wondering if this maybe has something to do with the other issue, like full-day tasks being scheduled at midnight and so not being recreated if the app is not open at this exact point in time?

Steps to Reproduce (for bugs)

Not sure how I can reproduce, as it’s something that only happens once a day, but I’ll let you know if some tasks don’t repeat tomorrow again.

Console Output

action-logger.reducer.ts:11 @ngrx/store/update-reducers 
Object
app.component.ts:278 Persistence already allowed
app.component.ts:307 4 out of 105423 MiB used (0%)
reminder.service.ts:89 loaded reminders from database 
Array(18)
model-version.ts:36 [M] Migrating model "SimpleCounter" to version from undefined to 2 
Object
model-version.ts:36 [M] Migrating model "Improvement" to version from undefined to 1 
Object
model-version.ts:36 [M] Migrating model "Obstruction" to version from undefined to 1 
Object
action-logger.reducer.ts:11 [SP_ALL] Load(import) all data 
Object
action-logger.reducer.ts:11 [SP_ALL] All Data was loaded 
Object
persistence.service.ts:338 LOAD COMPLETE false
model-version.ts:36 [M] Migrating model "SimpleCounter" to version from undefined to 2 
Object
model-version.ts:36 [M] Migrating model "Improvement" to version from undefined to 1 
Object
model-version.ts:36 [M] Migrating model "Obstruction" to version from undefined to 1 
Object
persistence.service.ts:338 LOAD COMPLETE false
model-version.ts:36 [M] Migrating model "SimpleCounter" to version from undefined to 2 
Object
model-version.ts:36 [M] Migrating model "Improvement" to version from undefined to 1 
Object
model-version.ts:36 [M] Migrating model "Obstruction" to version from undefined to 1 
Object
persistence.service.ts:338 LOAD COMPLETE false
model-version.ts:36 [M] Migrating model "SimpleCounter" to version from undefined to 2 
Object
model-version.ts:36 [M] Migrating model "Improvement" to version from undefined to 1 
Object
model-version.ts:36 [M] Migrating model "Obstruction" to version from undefined to 1 
Object
action-logger.reducer.ts:11 [Layout] Toggle SideBar 
Object
persistence.service.ts:338 LOAD COMPLETE false
model-version.ts:36 [M] Migrating model "SimpleCounter" to version from undefined to 2 
Object
model-version.ts:36 [M] Migrating model "Improvement" to version from undefined to 1 
Object
model-version.ts:36 [M] Migrating model "Obstruction" to version from undefined to 1 
Object
persistence.service.ts:338 LOAD COMPLETE false
model-version.ts:36 [M] Migrating model "SimpleCounter" to version from undefined to 2 
Object
model-version.ts:36 [M] Migrating model "Improvement" to version from undefined to 1 
Object
model-version.ts:36 [M] Migrating model "Obstruction" to version from undefined to 1 
Object
persistence.service.ts:338 LOAD COMPLETE false
model-version.ts:36 [M] Migrating model "SimpleCounter" to version from undefined to 2 
Object
model-version.ts:36 [M] Migrating model "Improvement" to version from undefined to 1 
Object
model-version.ts:36 [M] Migrating model "Obstruction" to version from undefined to 1 
Object
persistence.service.ts:338 LOAD COMPLETE false
model-version.ts:36 [M] Migrating model "SimpleCounter" to version from undefined to 2 
Object
model-version.ts:36 [M] Migrating model "Improvement" to version from undefined to 1 
Object
model-version.ts:36 [M] Migrating model "Obstruction" to version from undefined to 1 
Object
persistence.service.ts:338 LOAD COMPLETE false
model-version.ts:36 [M] Migrating model "SimpleCounter" to version from undefined to 2 
Object
model-version.ts:36 [M] Migrating model "Improvement" to version from undefined to 1 
Object
model-version.ts:36 [M] Migrating model "Obstruction" to version from undefined to 1 
Object
persistence.service.ts:338 LOAD COMPLETE false
model-version.ts:36 [M] Migrating model "SimpleCounter" to version from undefined to 2 
{ids: Array(2), entities: {…}}
model-version.ts:36 [M] Migrating model "Improvement" to version from undefined to 1 
{ids: Array(0), entities: {…}, hideDay: null, hiddenImprovementBannerItems: Array(0)}
model-version.ts:36 [M] Migrating model "Obstruction" to version from undefined to 1 
{ids: Array(0), entities: {…}

Error Log (Desktop only)

Today’s log plus yesterday’s last log line:

[censored github http request failure log just before, to the best of my understanding related to the empty stack just below that is the last line of yesterday's logs]
[2022-02-10 22:24:08.741] [error] Frontend Error Stack:
[2022-02-11 10:35:11.231] [info]  close, isQuiting: undefined
[2022-02-11 10:35:11.234] [info]  Actions to wait for  [ 'FINISH_DAY_BEFORE_CLOSE_EFFECT' ]
[2022-02-11 10:35:11.236] [info]  BEFORE_CLOSE_DONE FINISH_DAY_BEFORE_CLOSE_EFFECT []
[2022-02-11 10:35:11.237] [info]  close, isQuiting: undefined
[2022-02-11 10:35:11.238] [info]  close, isQuiting: true
[2022-02-11 10:35:11.248] [info]  Quit after all windows being closed
[2022-02-11 10:35:16.518] [info]  { enabled: null, showDevTools: false, mode: 'bottom' }
[2022-02-11 10:35:16.620] [info]  Saving backups to /home/ekleog/.config/superProductivity/backups
[2022-02-11 10:35:17.325] [info]  No custom styles detected at /home/ekleog/.config/superProductivity/styles.css
[2022-02-11 10:36:41.106] [info]  close, isQuiting: undefined
[2022-02-11 10:36:41.118] [info]  Actions to wait for  [ 'FINISH_DAY_BEFORE_CLOSE_EFFECT' ]
[2022-02-11 10:36:47.305] [info]  BEFORE_CLOSE_DONE FINISH_DAY_BEFORE_CLOSE_EFFECT []
[2022-02-11 10:36:47.306] [info]  close, isQuiting: undefined
[2022-02-11 10:36:47.307] [info]  close, isQuiting: true
[2022-02-11 10:36:47.314] [info]  Quit after all windows being closed
[2022-02-11 10:36:50.933] [info]  { enabled: null, showDevTools: false, mode: 'bottom' }
[2022-02-11 10:36:51.047] [info]  Saving backups to /home/ekleog/.config/superProductivity/backups
[2022-02-11 10:36:51.786] [info]  No custom styles detected at /home/ekleog/.config/superProductivity/styles.css
[2022-02-11 10:56:24.001] [info]  close, isQuiting: undefined
[2022-02-11 10:56:24.003] [info]  Actions to wait for  [ 'FINISH_DAY_BEFORE_CLOSE_EFFECT' ]
[2022-02-11 10:56:25.722] [info]  BEFORE_CLOSE_DONE FINISH_DAY_BEFORE_CLOSE_EFFECT []
[2022-02-11 10:56:25.723] [info]  close, isQuiting: undefined
[2022-02-11 10:56:27.218] [info]  BEFORE_CLOSE_DONE FINISH_DAY_BEFORE_CLOSE_EFFECT []
[2022-02-11 10:56:27.219] [info]  close, isQuiting: undefined
[2022-02-11 10:56:27.264] [info]  close, isQuiting: true
[2022-02-11 10:56:27.265] [info]  close, isQuiting: true
[2022-02-11 10:56:27.282] [info]  Quit after all windows being closed
[2022-02-11 10:56:34.641] [info]  { enabled: null, showDevTools: false, mode: 'bottom' }
[2022-02-11 10:56:34.765] [info]  Saving backups to /home/ekleog/.config/superProductivity/backups
[2022-02-11 10:56:35.439] [info]  No custom styles detected at /home/ekleog/.config/superProductivity/styles.css
[2022-02-11 10:56:42.834] [info]  close, isQuiting: undefined
[2022-02-11 10:56:42.850] [info]  Actions to wait for  [ 'FINISH_DAY_BEFORE_CLOSE_EFFECT' ]
[2022-02-11 10:56:43.936] [info]  BEFORE_CLOSE_DONE FINISH_DAY_BEFORE_CLOSE_EFFECT []
[2022-02-11 10:56:43.937] [info]  close, isQuiting: undefined
[2022-02-11 10:56:43.938] [info]  close, isQuiting: true
[2022-02-11 10:56:43.944] [info]  Quit after all windows being closed
[2022-02-11 10:56:46.807] [info]  { enabled: null, showDevTools: false, mode: 'bottom' }
[2022-02-11 10:56:46.928] [info]  Saving backups to /home/ekleog/.config/superProductivity/backups
[2022-02-11 10:56:47.586] [info]  No custom styles detected at /home/ekleog/.config/superProductivity/styles.css
[2022-02-11 11:18:21.199] [info]  close, isQuiting: undefined
[2022-02-11 11:18:21.201] [info]  Actions to wait for  [ 'FINISH_DAY_BEFORE_CLOSE_EFFECT' ]

Is there anything I can do to help debugging this? As it’s pretty problematic for me if repeated tasks were to be unreliably created, and Super Productivity as a whole seemed like an awesome piece of software!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Ekleogcommented, Mar 16, 2022

Thank you for your feedback! I’ve just opened tasks for each sub-issue, and transformed this task into a tracking issue that lists all the circumstances where one repeated task could end up not being created 😃

0reactions
github-actions[bot]commented, Nov 14, 2022

This issue has not received any updates in 90 days. Please comment, if this still relevant!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Manage repeating tasks in Google Tasks & Google Calendar
Open the Google Calendar app Calendar . Tap an existing task or create a new task. Tap Edit Edit . Below the date,...
Read more >
Create recurring tasks - Microsoft Support
Create a recurring task ... Click Task, click the bottom part of the Task button and then click Recurring Task. ... In the...
Read more >
Recurring tasks are not automatically going to the "Later ...
Recurring tasks are not automatically going to the "Later" Section · Ensure hack is turned off. · Complete a recurring task. · Review...
Read more >
Handling recurring / repeating Google Tasks
Use the Google Task integration to create recurring Tasks in Reclaim. ... Google Tasks has a recurrence feature that allows for a task...
Read more >
How to create or edit repeating or recurring tasks | Help Center
If you want the task to be created in the same list within the space when it repeats, click the switch next to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found