MySQLdb: ValueError Something Stupid

Carsten Haese carsten at uniqsys.com
Fri Sep 7 09:11:30 EDT 2007


On Fri, 2007-09-07 at 05:52 -0700, mcl wrote:
> > ValueError: invalid literal for int(): 0-
> >       args = ('invalid literal for int(): 0-',)
> >
> > =========================================
> > Thanks Richard
> 
> Sort of solved it.
> 
> On that particular table it did not like * for all fields.
> 
> Any reason why that would be the case ?

None that we can divine without more information. What's the schema for
the table in question, which column(s) are you excluding to make the
query work, and what kind of data is in the column(s) you're excluding?

-- 
Carsten Haese
http://informixdb.sourceforge.net





More information about the Python-list mailing list