vj57 / googlecl

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

UnicodeEncodeError occurs on Windows #374

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I try to delete Picasa Web Album which has Unicode(kanji) album title.
However, UnicodeEncodeError occur.

command and error message as follows:
===============================================
C:\tools\googlecl-0.9.11-win32\dist>google picasa delete -title ".*ほげ.*"
Traceback (most recent call last):
  File "google", line 812, in <module>
  File "google", line 798, in main
  File "google", line 577, in run_once
  File "googlecl\picasa\service.pyo", line 457, in _run_delete
  File "googlecl\base.pyo", line 98, in delete_entry_list
UnicodeEncodeError: 'ascii' codec can't encode characters in position 39-42: 
ordinal not in range(128)
===============================================

googlecl is 0.9.11, running on Windows XP SP3 32bit

Could you fix UnicodeEncodeError as quick as you can?

Thank you, in advance, for your help.

Original issue reported on code.google.com by backy0...@gmail.com on 5 Mar 2011 at 1:49

GoogleCodeExporter commented 9 years ago
This seems to be fixed in 0.9.12, but I unfortunately haven't made a 0.9.12 
windows executable yet.

I will hopefully get an executable built soon, but in the meantime, use the 
0.9.12 version from the tarball if you can.

Original comment by tom.h.mi...@gmail.com on 9 Mar 2011 at 2:40

GoogleCodeExporter commented 9 years ago
Has this been solved with 0.9.13?

Original comment by tom.h.mi...@gmail.com on 1 Apr 2011 at 1:21

GoogleCodeExporter commented 9 years ago
Hello tom,

Unfortunately, Unicode related error still occur.

C:\tools\googlecl-win32-0.9.13>google.exe picasa delete -title ".*げほ.*"
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 220, in _run_delete
  File "googlecl\base.pyo", line 109, in delete_entry_list
  File "googlecl\__init__.pyo", line 233, in safe_encode
googlecl.SafeEncodeError: Passed a non-unicode string to safe_encode!

C:\tools\googlecl-win32-0.9.13>

Original comment by backy0...@gmail.com on 1 Apr 2011 at 2:07

GoogleCodeExporter commented 9 years ago
Unfortunately, the support for Unicode still doesn't work. I want create an 
album as "München". But doesn't work because of the umlaut. Please fix the 
issue. Thank you!

Original comment by praetor...@gmail.com on 9 Jun 2012 at 8:46

GoogleCodeExporter commented 9 years ago
I have the same problem with the Danish letters "æ" "ø" "å"

Original comment by Gyvelve...@gmail.com on 16 Sep 2012 at 1:07

GoogleCodeExporter commented 9 years ago
googlecl seems to no activity for a year. :-(

Then, I published free tool for Picasa Web Album that handle albums with 
UNICODE.
http://translate.google.co.jp/translate?sl=ja&tl=en&js=n&prev=_t&hl=ja&ie=UTF-8&
layout=2&eotf=1&u=http%3A%2F%2Fwww.vector.co.jp%2Fsoft%2Fwinnt%2Fnet%2Fse491457.
html

Original comment by backy0...@gmail.com on 16 Sep 2012 at 10:40

GoogleCodeExporter commented 9 years ago
setting - change language - english...  ok?

Original comment by ilovet...@gmail.com on 31 Aug 2014 at 7:40