Edward Kam's picture

just realized the error message is actually tell me exactly what's wrong.  Got a packet bigger than 'max_allowed_packet' bytes Traceback.  increasing the 'max_allowed_packet' variable in mysql to 100MB and the problem fixed.