todoist-habitrpg icon indicating copy to clipboard operation
todoist-habitrpg copied to clipboard

"Sync completed successfully" but nothing on Habitica changes

Open cartere6 opened this issue 8 years ago • 8 comments

I am trying to set up the sync between Todoist and Habitica, I am able to install and run everything correctly, but despite getting the message "Sync completed successfully" every time I run the program nothing is ever updated on Habitica. I edited the Habitica API url as suggested in #58 but that didn't seem to help.

todoist-habitrpg.json.txt

cartere6 avatar May 27 '17 01:05 cartere6

try deleting .todoist-habitrpg.json then running todoist-habitrpg command again. todoist api provides incremental sync (only add newly made changes), so nothing will get added if you try running the command repeatedly.

chae9214 avatar Jun 14 '17 10:06 chae9214

@chae9214 I am having the same problem. My .todoist-habitrpg.json is populated with well formulated contents. However, none of these legitimate contents are "pushed" to the tasks (or, any other places that I looked up) on https://habitica.com/. Could you confirm that the code is no longer working at this point?

The clauses that I have used goes along the following format:

todoist-habitrpg -u habitRpgUserId -t habitRpgApiToken -a todoistApiToken -f ~/temp/Habitica_Todoist

And, it is in the ~/temp/Habitica_Todoist directory that I found the .todoist-habitrpg.json file.

Hope you could help setup the synchronization: a friend of mine brought me on board, but it is really a pain in the ass to add all the tasks manually from Todoist to Habitica.

All the best,

-Linfeng

llinfeng avatar Sep 05 '17 02:09 llinfeng

The code no longer works for me too, as of Sept. 7th.

ricitron avatar Sep 19 '17 00:09 ricitron

Same - it says "Sync completed successfully." but I do not see changes on Habitica.

XuanLi-Leong avatar Sep 19 '17 01:09 XuanLi-Leong

I think it may have to do with habitica's recent site design update. Any solutions yet?

ricitron avatar Oct 10 '17 16:10 ricitron

Same problem.

rickstaa avatar Oct 13 '17 09:10 rickstaa

Is anyone aware of what changed in the recent update, or any direction about what could be causing the problem?

XuanLi-Leong avatar Nov 06 '17 18:11 XuanLi-Leong

There's an alternative code that works: https://github.com/eringiglio/Habitica-todo

Run by updating the auth.cfg file with your respective keys, and then running 'python oneWaySync.py'. Note that you have to delete all habits and tasks in habitica first, otherwise you will get an error.

I found the way that oneWaySync treats dailies was annoying, and prefer to manage dailies only in habitica, so in main.py, below line 218, I added an additional 'pass' for item.category == 'daily'.

ricitron avatar Jan 04 '18 19:01 ricitron