-
Notifications
You must be signed in to change notification settings - Fork 14
Cannot Read Property 'type' of Undefined #44
Comments
Odd that If you can provide any info about the task that you were trying to sync, that'd help me cut debugging time down. |
As I just posted in my edit: Seems like I accidentally ticked a repeating monthly task off in Habitica. The missing monthly task was the cause of the error. Deleting that task in Todoist and remaking it solved the problem. |
Ah. I must have missed HabitRPG adding repeating monthlies. That shouldn't be too hard to support. |
The repeating monthly is on the Todoist side. It creates a regular task that just shifts the task's to do date on HabitRPG every time it is completed on Todoist. |
I'm also getting this error after mistakenly ticking off a few things in Habitica:
Is there any way to track down the task that needs to be recreated in todoist? |
I'm getting the same error after clearing out old tasks in Habitica and Todoist. Now I have zero "monthlies" and a few dailies, but I still get this error.
|
+1 for this error. Was working fine for me yesterday and now I get it every time I run the sync.
|
Same here... I just set it up and was doing some testing. Just standard tasks. Ticked a few off in habitica then tried to add a few more then got this error...
BTW, these are tasks I have put into a specific board on Trello, then used IFTTT to copy them to Todoist. Only really using todoist as a way to get tasks into Habitica. Was testing this out, looking eventually to be running this script on my Synology Server as a cron job. |
I published If people could upgrade to 1.0.1, run it, then post the corresponding error message (should look like: |
BTW, clearing the JSON file fixed the problem for me. But luckily i only had a few tasks to play with (I deleted all my tasks on habitica). I will let you know any errors should they come up. My mistake I think was that I checked off tasks directly in Habitica. It was not clear when I started using this script that i had to check off the tasks in todoist. What I actually wanted was to be able to sync only 'today's' tasks onto Habitica. That way I could use just one tool for today's tasks... ideally checking them off in habitica. But I realise that this is not how this script is intended to be used. |
I've updated to the new script and it is now throwing up the following error |
That's a doozy... I switched out the |
I've uploaded the new update and it seems to be working ok so far. |
The latest build of the script is throwing an error. Any idea on what's going on?
Edit: Seems like I accidentally ticked a repeating monthly task off in Habitica. Deleting that task in Todoist and remaking it solved the problem.
The text was updated successfully, but these errors were encountered: