Traceback (most recent call last):


 "/home/user/ansible/venv/bin/ansible-lint", line 8, in <module>

sys.exit(main())


 "/home/user/ansible/venv/lib/python3.8/site-packages/ansiblelint/__main__.py", line 116, in main

matches.extend(runner.run())


 "/home/user/ansible/venv/lib/python3.8/site-packages/ansiblelint/runner.py", line 73, in run

for child in ansiblelint.utils.find_children(arg, self.playbook_dir):


 "/home/user/ansible/venv/lib/python3.8/site-packages/ansiblelint/utils.py", line 159, in find_children

items = _playbook_items(playbook_ds)


 "/home/user/ansible/venv/lib/python3.8/site-packages/ansiblelint/utils.py", line 134, in _playbook_items

return [item for play in pb_data for item in play.items()]


 "/home/user/ansible/venv/lib/python3.8/site-packages/ansiblelint/utils.py", line 134, in <listcomp>

return [item for play in pb_data for item in play.items()]
AttributeError: 'NoneType' object has no attribute 'items'

Traceback (most recent call last):


 "/home/pi/GassistPi/src/main.py", line 508, in <module>

main()


 "/home/pi/GassistPi/src/main.py", line 399, in main

radio(str(usrcmd).lower())


 "/home/pi/GassistPi/src/actions.py", line 222, in radio

say("Tuning into " + name)


 "/home/pi/GassistPi/src/actions.py", line 165, in say

words= translator.translate(words, dest=language)


 "/home/pi/env/lib/python3.4/site-packages/googletrans/client.py", line 172, in translate

data = self._translate(text, dest, src)


 "/home/pi/env/lib/python3.4/site-packages/googletrans/client.py", line 75, in _translate

token = self.token_acquirer.do(text)


 "/home/pi/env/lib/python3.4/site-packages/googletrans/gtoken.py", line 180, in do

self._update()


 "/home/pi/env/lib/python3.4/site-packages/googletrans/gtoken.py", line 59, in _update

code = unicode(self.RE_TKK.search(r.text).group(1)).replace('var ', '')
AttributeError: 'NoneType' object has no attribute 'group'
