Error Metadata Generation Failed Pyqt5