wusung / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

UnicodeDecodeError on calendar output #298

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. google calendar list --cal Family

Traceback (most recent call last):
  File "/usr/bin/google", line 676, in <module>
    main()
  File "/usr/bin/google", line 662, in main
    run_once(options, args)
  File "/usr/bin/google", line 504, in run_once
    task.run(client, options, args)
  File "/usr/lib/pymodules/python2.6/googlecl/calendar/service.py", line 490, in _run_list
    _list(client, options, args, date)
  File "/usr/lib/pymodules/python2.6/googlecl/calendar/service.py", line 470, in _list
    delimiter=options.delimiter)
  File "/usr/lib/pymodules/python2.6/googlecl/base.py", line 603, in compile_entry_string
    return_string += val.replace(delimiter, ' ') + delimiter
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 15: 
ordinal not in range(128)

Original issue reported on code.google.com by sebastian.dietzold on 26 Sep 2010 at 5:13

GoogleCodeExporter commented 8 years ago

Original comment by tom.h.mi...@gmail.com on 28 Sep 2010 at 8:34