MySQLdb: ValueError Something Stupid

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Sat Sep 8 01:33:46 EDT 2007


In message <1189163332.990248.134080 at d55g2000hsg.googlegroups.com>, mcl
wrote:

> ValueError: invalid literal for int(): 0-

Could it be you have a MySQL column that is declared as some integer type,
but contains this funny "0-" value? So when MySQLdb tries to return it as a
Python integer, it fails to convert.



More information about the Python-list mailing list