Bug #2611
UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 4: ordinal not in range(128)
Start date:
03/06/2020
Due date:
% Done:
100%
Description
Not Found: /api/search/None
History
#1 Updated by Luke Murphey over 4 years ago
Performing a search, page=1, page_len=10, include_related_forms=False, search_query="None " Search query parsed, default_search_field="content", raw_query="content:<none>" Looking for variations of the search term in order to perform a search, word=none
#2 Updated by Luke Murphey over 4 years ago
Qs:
- No: Does the issue repro locally?
- Yes: What happens if I reindex two works, will the indexes be persisted?
- Yes
- No: Does re-indexing a work fix this for that one work?
- backed up indexes using "sudo tar -czvf indexes.tar.gz indexes/"
- Got a 404 when reindexing
- The indexes did get changed in that some new files got created
- Error is no different
- Are others having this issue?
- Get an error when trying to index a work on the prod server
- Handle the content as Unicode in UTF-8
- The indexes need to be recreated
- Recreating one with "python manage.py make_search_indexes -c -w against-apion"
- That worked
- docker exec -it pedantic_goldberg python manage.py make_search_indexes -c
#3 Updated by Luke Murphey over 4 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100