hassanakbar4 / mailarchive-tickets

0 stars 0 forks source link

KeyError 'fields' #305

Closed hassanakbar4 closed 2 years ago

hassanakbar4 commented 3 years ago

component_MailArchive: User Interface resolution_fixed type_defect | by rcross@amsl.com


Internal Server Error: /arch/search/

KeyError at /arch/search/ 'fields'

Request Method: GET Request URL: https://mailarchive.ietf.org/arch/search/?email_list=mobopts&token=bvpXF7pHyrXcllQ6


Issue migrated from trac:3087 at 2021-09-22 16:57:10 +0500

hassanakbar4 commented 3 years ago

@hassanakbar4 commented


Another example:

Request Method: GET Request URL: https://mailarchive.ietf.org/arch/search/?q=%2BAFs-Mipshop

hassanakbar4 commented 3 years ago

@hassanakbar4 changed status from new to closed

hassanakbar4 commented 3 years ago

@hassanakbar4 changed resolution from ` tofixed`

hassanakbar4 commented 3 years ago

@hassanakbar4 commented


Identified the cause of this issue to be a number of messages in the mobopts list that contained non utf8 (corrupted or unknown codec). Since the index code now handles this better, since moving to Python 3, just re-indexed (saved) the problematic messages.