Repeating task not created
See original GitHub issueEdit: 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:
 - Created 2 years ago
 - Reactions:1
 - Comments:12 (3 by maintainers)
 

Top Related StackOverflow Question
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 😃
This issue has not received any updates in 90 days. Please comment, if this still relevant!