Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Showcase plugin makes Error 500 searches on tags containing special characters #46

Open
gsueur opened this issue Oct 14, 2016 · 1 comment

Comments

@gsueur
Copy link

gsueur commented Oct 14, 2016

If the showcase plugin is loaded and you have tags containing special characters, like the french "é", you go into error 500 when you try to filter on this tag.
It comes from line 253 of plugin.py
fq = "{0} -dataset_type:{1}".format(search_params.get('fq', ''),
DATASET_TYPE_NAME)
which runs into UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 13: ordinal not in range(128)
I didn't find the way to fix it, sorry.

@torfsen
Copy link
Contributor

torfsen commented Oct 15, 2016

That sounds like #34 and should already be fixed (see #35). However, it seems that there hasn't been a release since then -- try using the latest version from GitHub. Perhaps @brew can prepare a new release 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants