Skip to content
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

oneWaySync.py error #14

Closed
ricitron opened this issue Nov 15, 2017 · 3 comments
Closed

oneWaySync.py error #14

ricitron opened this issue Nov 15, 2017 · 3 comments

Comments

@ricitron
Copy link

Hello, I am trying to run oneWaySync.py, but I get the following error:

$ python oneWaySync.py
Traceback (most recent call last):
File "oneWaySync.py", line 51, in
tod_uniq, hab_uniq = main.get_uniqs(matchDict, tod_tasks, hab_tasks)
File "/home/ric/scripts/Habitica-todo/habiticaTodo/main.py", line 283, in get_uniqs
tid = hab.alias
File "/home/ric/scripts/Habitica-todo/habiticaTodo/hab_task.py", line 181, in alias
return self.__task_dict['alias']
KeyError: u'alias'

Any ideas? I am using python2.7. I should mention I do not have a paid todoist subscription, but I thought maybe for the oneWaySync that would be OK?

@nikitsaraf
Copy link

I am also facing the same issue. Maybe @eringiglio give us some pointers on how to move ahead.

@nikitsaraf
Copy link

@ricitron Found the Solution. You need to empty all the todo and dallies in the Habitica First. The Code assumes that Habitica would be empty to begin with

@ricitron
Copy link
Author

ricitron commented Jan 4, 2018

@nikitsaraf Awesome! Thanks so much for that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants