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

Hi,
I am learning how to use ROOT model using Sample data, and get the following error:TypeError: expected str, bytes or os.PathLike object, not NoneType.

I have verified the paths to input files to ensure their existence and confirmed the validity of the working directory. Nevertheless, I have been unable to overcome this issue.

InVEST-ROOT-log-2023-10-23–10_59_27.txt (2.0 KB)

Any help would be much appreciated!
Thanks!

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.

Hi, @dave, THANK YOU so much. The issue was addressed after i added an AOI shapefile. So, the AOI may be mandatory.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.