thesamim / TickTickSync

GNU General Public License v3.0
159 stars 12 forks source link

Tasks sync from Obsidian but not to Obsidian #185

Closed ArtofGaming closed 3 weeks ago

ArtofGaming commented 3 weeks ago

Tasks created in TickTick do not sync to Obsidian. However it may recognize them in some form as it seems they are added to the cache but just never leave

Steps to reproduce the behavior:

  1. Create task in TickTick
  2. Add #ticktick as tag
  3. Open Obsidian
  4. Tick on debug mode
  5. Either wait for auto sync or press manual sync

I expected my TickTick task to appear in the appropriate note in Obsidian

thesamim commented 3 weeks ago
  • Do you have a Default Folder Location? Yes

  • Do you have a Default project? Yes

Do you have a file in the default folder with the default project associated with it? image

If not, please try that. If yes. please turn on "Debug Mode" in settings, force a sync, send me the console log.

willmanduffy commented 3 weeks ago

I'm also having a similar issue. I can create tasks in Obsidian and they sync to TickTick perfectly. However, if I create a tasks in TickTick it does not sync back.

Unlike the reporter of this issue I do not see them in the cache.

https://github.com/user-attachments/assets/ab2a6fc2-9e22-4213-ada7-28df7f3bd799

thesamim commented 3 weeks ago

@willmanduffy : you situation might be slightly different.

Please try this:

In the <vault>\.obsidian\plugins\TickTickSync\data.json file change: "checkPoint": 1356998400000, //(Current number not important to "checkPoint": 1727553846,

Explanation: The checkpoint number is a Unix date. It used to be that a sufficiently old date would bring back all the tasks. TickTick has apparently changed their back end and if the date is too old it will bring nothing back.

1727553846 is: Sat Sep 28 2024 20:04:06 GMT+0000

Hopefully, this will now bring back ALL the TickTick tasks. If it does not, please let me know.

@ArtofGaming : if setting the default project for the file doesn't work, please also try the checkpoint change above.

lyovson commented 3 weeks ago

Got the same issue here,

@willmanduffy : you situation might be slightly different.

Please try this:

In the <vault>\.obsidian\plugins\TickTickSync\data.json file change: "checkPoint": 1356998400000, //(Current number not important to "checkPoint": 1727553846,

Explanation: The checkpoint number is a Unix date. It used to be that a sufficiently old date would bring back all the tasks. TickTick has apparently changed their back end and if the date is too old it will bring nothing back.

1727553846 is: Sat Sep 28 2024 20:04:06 GMT+0000

Hopefully, this will now bring back ALL the TickTick tasks. If it does not, please let me know.

@ArtofGaming : if setting the default project for the file doesn't work, please also try the checkpoint change above.

Got the same issue, this solution didn't help //

Is this your first time using TickTickSycn? Yes Is your Vault shared across devices? Yes. If it is: What Vault synchronization method are you using (eg: Obsidan Sync, Syncthing...)? Obsidian Sync. Do you have a Default Folder Location? Yes Do you have a Default project? Yes Do you have "Full Vault Sync" enabled? No Do you have "Debug Mode" enabled? Yes Do you have either of the "Limit Synchronization" settings set? No

willmanduffy commented 3 weeks ago

@thesamim I tried this out and it didn't seem to help. It's worth nothing that after the first sync it instantly changed to 1356998400000 again.

Let me know if creating a separate would be helpful!

thesamim commented 3 weeks ago

@willmanduffy , @ArtofGaming :

Please report further findings in #186