Hi;<br>I'm trying to avoid the mortal sin of blank excepts. I intentionally threw this error:<br><br>Traceback (most recent call last):<br>  File "/var/www/html/<a href="http://angrynates.com/cart/createAssociations2.py">angrynates.com/cart/createAssociations2.py</a>", line 137, in ?<br>
    createAssociations2()<br>  File "/var/www/html/<a href="http://angrynates.com/cart/createAssociations2.py">angrynates.com/cart/createAssociations2.py</a>", line 108, in createAssociations2<br>    cursor.execute(sql)<br>
  File "/usr/lib64/python2.4/site-packages/MySQLdb/cursors.py", line 163, in execute<br>    self.errorhandler(self, exc, value)<br>  File "/usr/lib64/python2.4/site-packages/MySQLdb/connections.py", line 35, in defaulterrorhandler<br>
    raise errorclass, errorvalue<br>ProgrammingError: (1146, "Table 'test.productsAssociations' doesn't exist")<br><br>However, "ProgrammingError" is not an error. How do I discover the real error, so I can write the appropriate except statement?<br>
TIA,<br>beno<br clear="all"><br>-- <br>The Logos has come to bear<br><a href="http://logos.13gems.com/">http://logos.13gems.com/</a><br>