Any person violating any part of this chapter, upon conviction, shall be punished as for a misdemeanor.