Skip to content

Instantly share code, notes, and snippets.

@euphoris
Created December 27, 2013 16:15
Show Gist options
  • Save euphoris/8149148 to your computer and use it in GitHub Desktop.
Save euphoris/8149148 to your computer and use it in GitHub Desktop.
ERROR:earthreader.web.app:Exception on /feeds/ [POST]
Traceback (most recent call last):
File "/Users/jae-myoungyu/ENV/earthweb1/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/Users/jae-myoungyu/ENV/earthweb1/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/Users/jae-myoungyu/ENV/earthweb1/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/Users/jae-myoungyu/ENV/earthweb1/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/Users/jae-myoungyu/ENV/earthweb1/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/Users/jae-myoungyu/repo/earthreader/earthweb/earthreader/web/app.py", line 298, in add_feed
stage.subscriptions = cursor.subscriptionlist
File "/Users/jae-myoungyu/ENV/earthweb1/lib/python2.7/site-packages/libearth/stage.py", line 618, in __set__
obj.write(key, value)
File "/Users/jae-myoungyu/ENV/earthweb1/lib/python2.7/site-packages/libearth/stage.py", line 345, in write
repository.write(key, bytearray, _type_hint=type(document))
File "/Users/jae-myoungyu/ENV/earthweb1/lib/python2.7/site-packages/libearth/stage.py", line 409, in write
bytearray = b''.join(iterable)
File "/Users/jae-myoungyu/ENV/earthweb1/lib/python2.7/site-packages/libearth/schema.py", line 1914, in export
for chunk in subiter:
File "/Users/jae-myoungyu/ENV/earthweb1/lib/python2.7/site-packages/libearth/schema.py", line 1914, in export
for chunk in subiter:
File "/Users/jae-myoungyu/ENV/earthweb1/lib/python2.7/site-packages/libearth/schema.py", line 1839, in export
yield encode(quoteattr(encoded_attr_value))
File "/Users/jae-myoungyu/ENV/earthweb1/lib/python2.7/site-packages/libearth/schema.py", line 1793, in <lambda>
encode = staticmethod(lambda s: s.encode('utf-8'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 17: ordinal not in range(128)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment