silpol / googlecl

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

youtube tag trying to modify current non-ascii tags fails with codec can't decode byte message #445

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. googlecl youtube tag --title ".*P1070524" --tags test
(referencing video http://www.youtube.com/watch?v=Kyo2WHJsM58 which already has 
tags containing non-ascii characters)

What is the expected output? What do you see instead?

I would expect tag "test" to be added to the video, but I get this error:
Traceback (most recent call last):
  File "google", line 849, in <module>
  File "google", line 835, in main
  File "google", line 627, in run_once
  File "googlecl\youtube\__init__.pyo", line 127, in _run_tag
  File "googlecl\youtube\service.pyo", line 174, in tag_videos
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 111: 
ordinal not in range(128)

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

googlecl 0.9.13 on Windows
python-gdata supplied with googlecl 0.9.13

Original issue reported on code.google.com by karel.fa...@gmail.com on 10 Nov 2011 at 1:22

GoogleCodeExporter commented 8 years ago
The same error occurs on Picasa -- when I try to modify current non-ascii tags 
there.

Traceback (most recent call last):
  File "google", line 849, in <module>
  File "google", line 835, in main
  File "google", line 627, in run_once
  File "googlecl\picasa\__init__.pyo", line 282, in _run_tag
  File "googlecl\picasa\service.pyo", line 361, in tag_photos
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 61: 
ordinal not in range(128)

Original comment by karel.fa...@gmail.com on 12 Apr 2012 at 2:37