make_vector.py handle err