TypeError
Python 3.10.12: /usr/bin/python3
Sun Jun 2 19:29:30 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.

 /data/www/public_html/submission_system/metadata_upload.py in <module>
     48 
     49     mdp   = ymd.metadata(tempdir+"/"+mdfilename, silent=False)
=>   50     data  = mdp.parse()
     51     check = mdp.check()
     52    
data undefined, mdp = <yamlMetadata.metadata.metadata object>, mdp.parse = <bound method metadata.parse of <yamlMetadata.metadata.metadata object>>
 /var/www/.local/lib/python3.10/site-packages/yamlMetadata/metadata.py in parse(self=<yamlMetadata.metadata.metadata object>)
     63         #print(self.metadata)
     64         for entry in self.metadata:
=>   65             if "author" in entry['type'].lower():
     66                 self.authors.append(entry)
     67             elif "method" in entry['type'].lower():
entry = '<', ].lower = <built-in method lower of str object>

TypeError: string indices must be integers
      args = ('string indices must be integers',)
      with_traceback = <built-in method with_traceback of TypeError object>