Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

UnicodeEncodeError? #1

typeshige opened this Issue Feb 1, 2011 · 0 comments


None yet
1 participant

I have about 1000 pieces of media, most images.

Whenever I do this:


I always get this:

/home/django/.virtualenvs/proj/lib/python2.6/genericpath.pyc in exists(path)
     16     """Test whether a path exists.  Returns False for broken symbolic links"""
     17     try:
---> 18         st = os.stat(path)
     19     except os.error:
     20         return False

UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 138: ordinal not in range(128)

If I repeat, I get the same error, but by the time I repeat a third time, it seems to finish without a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment