Project

General

Profile

Bug #2611

UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 4: ordinal not in range(128)

Added by Luke Murphey about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
03/06/2020
Due date:
% Done:

100%


Description

Not Found: /api/search/None

History

#1 Updated by Luke Murphey about 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 about 4 years ago

Qs: Obs:
  • Get an error when trying to index a work on the prod server
Solns:
  • 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 about 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF