gcalcli crashes on list

Bug #427484 reported by tdn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcalcli (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

This is the command I used:
gcalcli --user ******@gmail.com --pw ********** list

This is the output:

/var/lib/python-support/python2.6/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha

 Access Title
 ------ -----
  owner Thomas Damgaard Nielsen
Traceback (most recent call last):
  File "/usr/bin/gcalcli", line 1114, in <module>
    DoooooItHippieMonster()
  File "/usr/bin/gcalcli", line 1028, in DoooooItHippieMonster
    gcal.ListAllCalendars()
  File "/usr/bin/gcalcli", line 740, in ListAllCalendars
    format % (cal.access_level.value, cal.title.text))
  File "/usr/bin/gcalcli", line 207, in PrintMsg
    sys.stdout.write(msg)
  File "/usr/lib/python2.6/codecs.py", line 351, in write
    data, consumed = self.encode(object, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 10: ordinal not in range(128)

Revision history for this message
Unit 193 (unit193) wrote :

Howdy,

Seems was one of those lovely unicode errors that py2 was plagued with. Luckily, gcalcli was ported to python 3 long ago, so this no longer happens.

Changed in gcalcli (Ubuntu):
status: New → 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.