ROOT error:TypeError: expected str, bytes or os.PathLike object, not NoneType

Hi @tandong , welcome to the community. From your logfile it looks like the AOI shapefile might be missing? That input should be optional, I think, but the code seems to be treating it as required.