TypeError: int() can't convert non-string with explicit base

NoSuchKey