TypeError: object of type 'NoneType' has no len()

ok, I resolved it. I check the command: L2A_Process.bat --help, and I found I just input the data instead the directory of data. After replacing the dir, it works.