I tried the solution, but changing the type
and the daemonize
does not resolve the problem. I tried a lot of different ways but the error still persists. Then I ran the pkill -f frappe-bench
command and the error was resolved. I believe this would be helpful.