--> -->
 
 
KeyError
Python 3.8.10: /usr/bin/python3
Thu May 9 03:14:38 2024

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /var/www/html/metadata_xml.py in <module>
   1129 
   1130 
=> 1131 if getrecord_layer["abstract"] !='':
   1132         ABSTRACT=getrecord_layer["abstract"].encode("ascii", "xmlcharrefreplace")
   1133         ABSTRACT=ABSTRACT.decode("utf-8")
getrecord_layer = {'Administrative Area': '', 'CharacterSet': 'utf8', 'City': 'Booterstown', 'Code': '', 'CodeSpace': '', 'Country': 'Ireland', 'Date': '', 'DateStamp': '2023-12-06', 'Datetype': '', 'Delivery Point': 'Block 1, Booterstown Hall, Booterstown Avenue', ...}

KeyError: 'abstract'
      args = ('abstract',)
      with_traceback = <built-in method with_traceback of KeyError object>