-
Notifications
You must be signed in to change notification settings - Fork 14
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
Found duplicates in MetaData #110
Comments
Display issue noted. Will do something about it in the fullness of time.
Your suspicion is spot on. About moving tasks around:
A depiction of your workflow would also be helpful. |
Thanks for the clarification. To make sure I understand: Is that right? The immediate solution, btw, would be to have a note per project in Obsidian and set the default project for each of those notes to match the correspondingly named project in TickTick. If all you're doing in your daily note is a dataview query, that should ought to work for you. The side effect, though, is that the tasks will move between notes in Obsidian as well. |
This is an open source project and not critical to my work flow. I'm in no rush. I'm a developer myself so feel free to spitball ideas and I'm happy to try to run them down in my free time as well.
Pretty much. Like I'd be happy if the sync just put it into one big file that I could use as a database then query with Dataview in the relevant places. That feels like a more extensible solution to me but may run into it's own problems that I don't know of.
This is exactly what I'm doing. I have a Monthly.md which lives in a directory in my root folder called ticktick and is where the problem is occurring. You can see that in the original screen shot. I genuinely have no clue why it's finding Duplicates in the metadata. Here is a snippet of that file.
I'm not sure what to do to fix the metadata problem. |
If Debug Mode is on, I believe you will get a more informative layout what duplicates are where in the console. I'm pretty sure I left that logging in there. in your favorite editor, open Search for task ID: you will see all the files TickTickSync thinks that task is in under the Delete all the entries from the files it shouldn't be in. While you're in there, please check that the |
So I found 2 copies of the task data as well as 3 references to the same task in the same fileMetadata entry. I'm wondering does the sync job lock the data.json? |
So I tried deleting the duplicates and they got put back. I need to put this down for today but I'll dig in later and see if I can figure out what's happening. |
If you mean TickTickSync syncing, yes it does. Or do you mean Obsidian's Sync? If you are comfortable doing so: send me your data.json at thesamim gmail com (redacting any sensitive information in task titles of course.) I'd like to take a look at your structure.... |
Will do. Let me vet it then I'll send something over. |
I don't see how to accomplish this in the settings. I am trying to accomplish the same thing -> Create tasks in any file with #ticktick tag to sync, then assign them to a list/project in TickTick. I'm fine with the task moving around in the project files, but on the next sync I get the duplicate task error because the task is no longer in my default project. I think the workaround I am going to temporarily going to implement is to use additional tags to identify the project and leave all the tasks in the default project in TickTick. |
Let's say you have a list called Let's say you have a file called Go to the |
Describe the bug
I have a very large list of duplicates in metadata which causes the popup to overflow. This makes it difficult to resolve the issue.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise output telling me what I need to do to find and fix the error
Screenshots

Desktop (please complete the following information):
Additional context
After looking at the source, the current message does not actually give much help in terms of resolving the issue. I don't understand what caused the metadata to be duplicated and there is no duplicates in the file so I presume that the actual issue I need to fix is more complicated. My hope is that in reporting the display bug additional debugging/troubleshooting steps will be more apparent.
I suspect this may also be because I move tasks between projects regularly because I use the time sector system.
The text was updated successfully, but these errors were encountered: