I use SQLObject-0.10.4, Python-2.6.1, MySQL-5.1.31, MySQLdb-1.2.2 on PLD Linux. I have a problem with exceptions. In sources of the SQLObject there is something like:
def new(cls, e, append_msg=''):
obj = str.new(cls, e + append_msg)
obj.code = int(e)
obj.module = e.module
obj.exception = e.class.name
but there is no e and this exception causes another exception Tuple Index Out of Range.
Sorry, that there is no sample code, just do for example an IntegrityError.
Are you able to reproduce it?
Log in to post a comment.