Skip to content

Instantly share code, notes, and snippets.

@jennjenn
Created February 3, 2012 21:34
Show Gist options
  • Save jennjenn/1732810 to your computer and use it in GitHub Desktop.
Save jennjenn/1732810 to your computer and use it in GitHub Desktop.
Processing 906 of 3975 2768847584.json ...
Traceback (most recent call last):
File "import.py", line 66, in <module>
main()
File "import.py", line 44, in main
resp = client.post('/photo/upload.json', params)
File "/Library/Python/2.7/site-packages/openphoto-0.1-py2.7.egg/openphoto/__init__.py", line 41, in post
body = urllib.urlencode(params)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 1294, in urlencode
v = quote_plus(str(v))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe7' in position 77: ordinal not in range(128)
@jmathai
Copy link

jmathai commented Feb 3, 2012

Being tracked in openphoto/openphoto-python#7

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