Closed almenjonatan closed 7 years ago
I have the same problem - all the Russian characters in google tasks return the same error when using tasky. To fix this problem I added manually .encode('utf-8') for each print(...) function in tasky.pl.
Me too with the same problem - german umlauts in a tasklist title make tasky crash in
print ('%s %s (%s)' % ( self.taskLists.keys().index(taskListId), self.idToTitle[taskListId], len(self.taskLists[taskListId])))
Fix would be very much appreciated:)
Could you try now? It seems to work for me:
$ python tasky.py
0 Personal
0 [ ]
1 Grocery List
0 [ ] test
1 [ ] Pay my phone bill
[-a]dd, [-c]lear, [-d]elete, [-e]dit, [-r]emove task, [-m]ove, [-n]ew list/re[-n]ame, [-s]ummary, [-t]oggle, [-q]uit: -a --title "café" --tasklist 1 -p 1
Adding task...
0 Personal
0 [ ]
1 Grocery List
0 [ ] test
1 [ ] Pay my phone bill
2 [ ] café
[-a]dd, [-c]lear, [-d]elete, [-e]dit, [-r]emove task, [-m]ove, [-n]ew list/re[-n]ame, [-s]ummary, [-t]oggle, [-q]uit: -n --title "Néw list"
Creating new task list...
0 Personal
0 [ ]
1 Grocery List
0 [ ] test
1 [ ] Pay my phone bill
2 [ ] café
2 Néw list (empty)
Cannot handle é. I tasky crashes trying to do anything with the tasklist containing that char. the tasklist was created when I did not put anything and it defaulted to my name