ericphanson / arxiv-search

Elasticsearch-backed rewrite of arxiv-sanity
MIT License
4 stars 1 forks source link

Queries with unicode accents cause a server error #24

Open EdAyers opened 6 years ago

EdAyers commented 6 years ago

Reproduction

Type the query "Özgür Açık". Look at server logs. I got:

UnicodeEncodeError: 'ascii' codec can't encode character '\xd6' in position 95: ordinal not in range(128)
-7626696693452858257
ericphanson commented 6 years ago

which logs are you referring to? I just tried on master and got "no results" but no errors.

On Sun, Mar 18, 2018 at 1:01 PM Ed Ayers notifications@github.com wrote:

Assigned #24 https://github.com/ericphanson/arxiv-search/issues/24 to @ericphanson https://github.com/ericphanson.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/ericphanson/arxiv-search/issues/24#event-1527222689, or mute the thread https://github.com/notifications/unsubscribe-auth/AFk15Yt9neJUtd03xDnLNWzbqw44OSxpks5tflqkgaJpZM4SvMDg .

EdAyers commented 6 years ago

The thing which says "starting tornado". It then crashes the server.

ericphanson commented 6 years ago

Okay, let's discuss in person when we're in the office-- might be easier to figure out then, since I couldn't reproduce here.