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
[TW-1625] recurring tasks appear multiple times #1649
Comments
Migrated metadata:
|
Tomas Babej on 2015-06-19T21:01:56Z says: Thanks for reporting! However, I am not able to reproduce this, so I doubt this is a generic error. We will need some more information as to how to reproduce the issue. Please let us know if you were able to track down the problem. You might be interested in reading more about reccurences, check our docs on taskwarrior.org for that. |
Johannes Wienke on 2015-06-19T21:04:33Z says: Tracking this down will probably be a real issue since I have no idea what is causing this. In case I end up in that situation again, I could send you my data files. Maybe this might help to find out what is going on? |
Tomas Babej on 2015-06-20T13:22:31Z says: First let's investigate the offending tasks - can you share the output of the 'info' command for the duplicate tasks? E.g.:
Attributes like mask index, or creation date might tell us more. |
Johannes Wienke on 2015-06-21T17:28:32Z says: Unfortunately, I don't have the state available from that time anymore since I resolved the issues manually to get back to work. Once I end up in a similar situation again, I will post the required information here. |
Johannes Wienke on 2015-06-23T19:38:47Z says: Ok, back in the same situation. Here are the info ouputs:
|
Tomas Babej on 2015-06-24T13:25:05Z says: Okay, so we can see that: 1.) both task have the same parent 567eb98f-db4a-46be-b182-7833c5b45052, which is good, since it means there are not two duplicate template tasks So the presence of 2.0000 is the culprit here I believe. Are you really sure that Mirakel is not causing this behaviour? I encountered some problems with Mirakel of this nature. |
Johannes Wienke on 2015-06-24T13:39:21Z says: Mirakel is not even installed anymore on my phone. It used to be connected to this account. Can this still be a relic? |
Tomas Babej on 2015-06-25T16:37:02Z says: Maybe.. the task recurs weekly. How long since you removed the Mirakel app? Additionally, can we have a look at the parent task?
|
Johannes Wienke on 2015-06-26T12:51:04Z says: I am quite sure that I completely deleted the recurring task including all occurrences the last time I fixed this after deleting mirakel. And in any case, the instance of the recurring task with the offending mask has been created just recently without mirakel being installed anymore. Deinstallation of mirakel was several weeks ago.
|
Johannes Wienke on 2015-06-29T10:19:04Z says: I just got another copy of the offending tasks. This time mask index was 3.0000. And I am quite sure that I did not see them yesterday on a different computer. So it might be related to syncing. |
Johannes Wienke on 2015-06-29T10:43:50Z says: Ok, another examination. All imask values in the *.data files are floating point numbers. Maybe this is really still a relic from mirakel. I tried to convert all of them to integers. However, these changes don't propagate to the task server. Therefore I tried to do a sync init, which fails with a lot of warnings about broken ancestors. So something must be completely messed up in my data. |
Johannes Wienke on 2015-06-29T11:08:48Z says: Ok, definitely a sync prblem as far as I can tell. I completely wiped everything on two clients and the task server. Afterwards I rebuilt all my tasks from scratch on one computer. All imasks are integers. I did a sync init and on the still empty computer a sync. The downloaded data contains all floating point numbers for imask values. imask values in the tx.data file on the server for this user are still integers, not float. So something must be breaking when downloading. |
Johannes Wienke on 2015-07-05T15:23:08Z says: No I am back at duplicated tasks, after a completely starting from scratch with the config files. Any way I can help to sort this out? |
Paul Beckingham on 2015-07-07T15:06:30Z says: Taskd bug. Taskserver 1.2 should resolve this, but right now has not. |
Johannes Wienke on 2015-07-07T15:15:17Z says: Does this mean there is also no fix in git master? |
Paul Beckingham on 2015-07-07T20:23:34Z says: That's right - this is not fixed yet. |
Johannes Wienke on 2015-10-26T22:55:14Z says: Any progress on this? I had a look at the server side and implemented a custom rule to treat imasks as integers. However, in the client the mask still ends up as a floating point number. So there is probably also an issue there. |
Johannes Wienke on 2015-11-23T22:18:39Z says: This patch adds a temporary workaround on the client side to interpret imasks always as integers. |
Johannes Wienke on 2015-11-30T08:55:24Z says: It seems this also doesn't help. I still see multiple instances of the same recurring task and all my clients are patched to have integer masks. |
Johannes Wienke on 2016-01-08T07:33:28Z says: Can someone please mark this as a duplicate of TD-44. This seems to be the origin or at least these issues should be related. |
Paul Beckingham on 2016-04-09T14:56:31Z says: See TD-44 for workaround. |
[TD-44] - GothenburgBitFactory/taskserver#46 |
Still an issue with taskwarrior 2.5.1 and taskd 1.1.0. I confirm that here the issue is also an integer / float mask index. I use task sync to synchronise two computers. |
I get also always problems with recurring tasks. Mostly it happens when I modify a spawned task that is a child from a recurring task and then he asks me to modify the parent too and then he creates new instances in a weird way. |
So, I spent some time trying to get to the point where I can duplicate this issue. I have a pending.data file which a) has been stripped of anything but the parent entries for 35 of my recurring tasks and b) have no personal details in them. pending.data.without-child.txt Using this pending.data file, I run task 2.5.1 once, and a mess of entries get created and listed as unwaited, then I run task again to see the results, and I have a mess of records which are duplicated. Looking at them, I see that it is creating entries for last week, and this week. When running normally, I will get 2-4 entries for the same day:
If needed, I can supply my .taskrc |
+1, I had a daily recurrent task that I resolved every day for about a week. Then, I did |
I am on TW 2.5.1 and also encounter this problem (with recurring tasks). I sync with http://inthe.am . |
Having the same here as well - I am also syncing to inthe.am. However the same happens with syncs to freecinc... Thanks for any help |
@debian-stormwatch I am testing TaskWarrior-Web and I am trying to see whether by explicitly deleting the double entries, they are reappearing. After an initial test, they did not. |
Same started to happen with me after a sync to the inthe.am service |
I have a personal taskd server for syncing. Many, many duplicates. Will forego using recurrence for now and watch this thread. |
Interestingly, the following snippet from the man page is missing here:
Yeah, requires picking the primary client. Also, I reduced the trouble by using relative recurrence for suitable tasks. |
Same issue here, taskd 1.1.0, taskwarrior 2.6.2. It's not an issue with multiple clients having recurrence on, because there are only two machines involved here and only one of them has recurrence on. As others have reported earlier here, they all have floating-point mask indices rather than integer. |
The new sync support in 3.0 should fix this..
…On Sun, Jul 30, 2023, 10:43 AM B. Kelly ***@***.***> wrote:
Same issue here, taskd 1.1.0, taskwarrior 2.6.2.
It's not an issue with multiple clients having recurrence on, because
there are only two machines involved here and only one of them has
recurrence on. As others have reported earlier here, they all have
floating-point mask indices rather than integer.
—
Reply to this email directly, view it on GitHub
<#1649 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAHAAPPTWGQAD5BZOAUB3DXSZXILANCNFSM4EQVNAZA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
And I'm looking forward to it, but I need workarounds in the meantime. What seemed to work for me was:
A bit of a blunt instrument, but the problem hasn't recurred since. |
Johannes Wienke on 2015-06-18T11:51:32Z says:
Once in a while I end up with the situation that I have multiple occurrences of recurring tasks for the same day.
I could not really track down what is causing this. My initial thought that mirakel is the origin was wrong, because this also appears without mirakel.
In any case, a fix for this would really be good since recovery always takes some time. I am using recurring tasks for many things so there are often affected tasks.
The text was updated successfully, but these errors were encountered: