shibats/japanesenames — Issue #1: make_data.py doesn't work for me :(
Author: japboy
Created: 2011-12-22 07:17:40+00:00
State: open

Any help?

...
Processing 44 of 44
Got 7771 names
./make_data.py:38: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
bl.sort(lambda x, y: cmp(x.split()[1], y.split()[1]))
Traceback (most recent call last):
File "./make_data.py", line 38, in
bl.sort(lambda x, y: cmp(x.split()[1], y.split()[1]))
File "./make_data.py", line 38, in
bl.sort(lambda x, y: cmp(x.split()[1], y.split()[1]))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 0: ordinal not in range(128)