Pyqgis Python Error When Batching A Graphical Modeler Script Qgis 3

Pyqgis Python Error When Batching A Graphical Modeler Script Qgis 3