Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: Current Version
-
Fix Version/s: Near Future
-
Component/s: OIOIOI
-
Labels:
Description
To reproduce:
Open this link: https://szkopul.edu.pl/get_search_hints/public/?q=kr
Switch to Polish language.
https://sentry.io/organizations/the-sio2-project/issues/1105451667/?referrer=jira_plugin
{code}
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 28: ordinal not in range(128)
(3 additional frame(s) were not displayed)
...
File "oioioi/base/utils/__init__.py", line 549, in inner
data = view(*args, **kwargs)
File "oioioi/problems/views.py", line 787, in get_search_hints_view
+ get_origininfovalue_hints(query)
File "oioioi/problems/views.py", line 722, in get_origintag_hints
res += get_origintag_category_hints(res[0]['value'])
File "oioioi/problems/views.py", line 673, in get_origintag_category_hints
} for category in origintag.info_categories.all()
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 28: ordinal not in range(128)
{code}
Open this link: https://szkopul.edu.pl/get_search_hints/public/?q=kr
Switch to Polish language.
https://sentry.io/organizations/the-sio2-project/issues/1105451667/?referrer=jira_plugin
{code}
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 28: ordinal not in range(128)
(3 additional frame(s) were not displayed)
...
File "oioioi/base/utils/__init__.py", line 549, in inner
data = view(*args, **kwargs)
File "oioioi/problems/views.py", line 787, in get_search_hints_view
+ get_origininfovalue_hints(query)
File "oioioi/problems/views.py", line 722, in get_origintag_hints
res += get_origintag_category_hints(res[0]['value'])
File "oioioi/problems/views.py", line 673, in get_origintag_category_hints
} for category in origintag.info_categories.all()
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 28: ordinal not in range(128)
{code}
Activity
- All
- Comments
- History
- Activity
- Transitions
- Commits