If any officer fail to perform any duty required of him by this chapter and there be no other penalty imposed by law for such failure, he shall forfeit for every such failure not less than $10 nor more than $50.