hello there friends,<br><br>i have a weird sort order i am trying to pull off, it works, but pipes a lot of junk to my terminal, and makes it hard to find debugging lines that i have in my stuff ( every minute this can happen a few hundred times )
<br><br>here is the query<br>sql = "select `id` from `sites` where `group_id` = '16' order by cast(`site_name` as unsigned), `site_name` "<br>store.execute(sql) <br><br>here is what i get:<br>/usr/lib/python2.4/site-packages/storm-
0.9-py2.4.egg/storm/database.py:120: Warning: Truncated incorrect INTEGER value: '6W'<br>/usr/lib/python2.4/site-packages/storm-0.9-py2.4.egg/storm/database.py:120: Warning: Truncated incorrect INTEGER value: '1B'
<br><br>now, it still works. I am able to use the objects that i have selected, even though mysql doesn't like how i have sorted them. <br>Also, i know this is not a storm issue, because i was getting the same thing with just the python-mysqldb module.
<br><br>However, i would like it a lot if i could suppress these messages from going to my terminal.<br><br>any tips would be appreciated.<br><br>thanks<br><br>shawn<br>