ERROR: ‘dict’ object has no attribute ‘len’

This error sometimes appears when running ATK 10.8 in interactive mode. To solve it, upgrade to ATK 11.2.