Re: Help debugging Django/MySQLdb exception

2007-12-06 Thread Brian Morton
I am running with DEBUG = True. That's a good find. Thanks. I figured out the problem, but I think there is a bug here. The field from the data that I believed to be the primary key was really not a key, and duplicated itself. I had that field set as primary_key=True in the model. Thus, the

Help debugging Django/MySQLdb exception

2007-12-04 Thread Brian Morton
I'm not sure what could be causing this problem. This is a loader script that is loading a CSV and using the Django ORM to do lookups and inserts. This is on a workstation with 1GB of memory running Ubuntu Gutsy (the MySQL server is local also). I'm using MySQLdb 1.2.2 and there do not seem to