Re: Cannot catch _mysql_exceptions.OperationalError

2008-01-22 Thread Bob
..>>> tryget() > > get failed with OperationalError: (1054, "Unknown column 'mini_authors.Xtra' > in 'field list'")>>> import django > >>> django.VERSION > > (0, 96.094, None) > > > > My MySQLdb is version 1.2.2. > > I don&#

Re: Cannot catch _mysql_exceptions.OperationalError

2008-01-18 Thread Karen Tracey
. print 'get succeeded, a = ' + str(a) ... >>> tryget() get failed with OperationalError: (1054, "Unknown column 'mini_authors.Xtra' in 'field list'") >>> import django >>> django.VERSION (0, 96.094, None) >>>

Cannot catch _mysql_exceptions.OperationalError

2008-01-18 Thread Robert Swerdlow
I posted this note at comp.lang.python and the response there was that this all works outside of Django. What is the problem with using MySQL OperationalErrors with Django? - In our database code (we are using django v0.96) we wanted to catch and handle MySQL OperationalErrors. We us