[storm] can i supress mysql warnings from reaching the terminal ?

Gustavo Niemeyer gustavo at niemeyer.net
Tue Jul 31 20:34:49 BST 2007


Hello Shawn,

> /usr/lib/python2.4/site-packages/storm-0.9-py2.4.egg/storm/database.py:120:
> Warning: Truncated incorrect INTEGER value: '6W'
> /usr/lib/python2.4/site-packages/storm-0.9-py2.4.egg/storm/database.py:120:
> Warning: Truncated incorrect INTEGER value: '1B'
(...)
> However, i would like it a lot if i could suppress these messages from going
> to my terminal.

This is MySQL telling you that you're casting to integer something that
is not an integer.  I suggest investigating ways to extract the numeric
prefix before casting, if that's indeed what you want.

-- 
Gustavo Niemeyer
http://niemeyer.net



More information about the storm mailing list