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

shawn bright nephish at gmail.com
Tue Jul 31 20:51:08 BST 2007


yeah, i hate it too, some of them are not even remotely integers, like the
letter 'j'
this is to order how the names of sites will be listed in the application.
Thanks !

shawn

On 7/31/07, Gustavo Niemeyer <gustavo at niemeyer.net> wrote:
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/storm/attachments/20070731/08a546fd/attachment-0001.htm 


More information about the storm mailing list