salimoha / googlecl

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

UnicodeDecodeError: 'ascii' codec can't decode byte ( in listing contacts ) #305

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. google contacts add "山本, foo@example.com" #including non-ascii, 
utf-8-encoded characters.
2. google contacts list name

What version of the product are you using? On what operating system? What
version of gdata-python-client (aka python-gdata)?

google 0.9.10
Python 2.6.5
python-gdata
1.2.4-0ubuntu2
Ubuntu 10.04.01 Lucid Lynx

Please provide any additional information below.

The traceback was diffrent from issue 195.

Traceback (most recent call last):
  File "/usr/bin/google", line 677, in <module>
    main()
  File "/usr/bin/google", line 663, in main
    run_once(options, args)
  File "/usr/bin/google", line 505, in run_once
    task.run(client, options, args)
  File "/usr/lib/pymodules/python2.6/googlecl/contacts/base.py", line 203, in _run_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 0xe5 in position 0: ordinal 
not in range(128)

Original issue reported on code.google.com by whosekit...@gmail.com on 2 Oct 2010 at 3:51

GoogleCodeExporter commented 9 years ago

Original comment by thmil...@google.com on 4 Oct 2010 at 7:46