Sen2Cor missing a file needed for processing?

I can confirm that automated configuration is not working in some cases. This topic
describes another error I’ve had:

After varying the parameters Aerosol_Type , Mid_Latitude and Ozone_Content in the L2A_GIPP.xml,
I found out that the error only occurs when Aerosol_Type or Mid_Latitude are set to AUTO. This doesn’t happen with every tile of every image, but it happens. Trying to find out what was causing the error I added 2 print statements below line 3955 in L2A_Config.py:

print("OZONE MEASURED: " + str(self.ozoneMean))
print("MID LATITUDE: " + str(self.midLatitude))

This is the error output:
L2A_error (11.1 KB)