AttributeError: 'NoneType' object has no attribute 'layout'

hi @efremfer
Welcome to the community :wave:

I’m confident that @allsyntax and @Skiks will be able to support you in finding an answer.

For any questions you ask in the future, I highly recommend you read over this post. It will help make your posts more readable and even easier to understand and respond to.