pythondjangoamazon-web-serviceszappa

New deploy with django and zappa only returns the error "NoneType object has no attribute read"


I've been using Django + zappa + aws perfectly for a few years now. However, when trying to deploy a new project using the latest versions of Django(4.2.1) and zappa(0.56.1) the project deploy only returns:

"Error: Warning! Status check on the deployed lambda failed. A GET request to '/' yielded a 500 response code."

And using the zappa tail command just returns:

"NoneType object has no attribute read"


Solution

  • See https://github.com/zappa/Zappa/issues/1230 where this issue is logged and there is a workaround.