GTG

tagname can't be utf8. gtcli report error.

Bug #655514 reported by yayv.cn@gmail.com
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTG
Fix Released
Low
Unassigned

Bug Description

When I use a utf8 tagname, I use gtcli list , I get a error message:

Traceback (most recent call last):
  File "./gtcli", line 309, in <module>
    list_tasks(criteria, False)
  File "./gtcli", line 252, in list_tasks
    tags.append(str(tag))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 1-2: ordinal not in range(128)

version 924, trunk.

Tags: patch
Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

This looks like a gtgcli bug.

Changed in gtg:
assignee: nobody → Bryce Harrington (bryceharrington)
Revision history for this message
Thibault Févry (thibaultfevry) wrote :

Looks like a trivial fix, attached a patch (Not going to publish a branch for 5 letters...) that works for me.

Changed in gtg:
status: New → In Progress
importance: Undecided → Low
Revision history for this message
Thibault Févry (thibaultfevry) wrote :
Changed in gtg:
milestone: none → 0.3
tags: added: patch
Bryce Harrington (bryce)
Changed in gtg:
assignee: Bryce Harrington (bryce) → nobody
Changed in gtg:
assignee: nobody → Lionel Dricot (ploum)
Changed in gtg:
milestone: 0.3 → 0.2.9
status: In Progress → Confirmed
Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

fixed in rev.940, thanks Thibault !

Changed in gtg:
status: Confirmed → Fix Committed
Izidor Matušov (izidor)
Changed in gtg:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.