Seems more like a TypeError than a ValueError.