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

Re: Help debugging Django/MySQLdb exception

2007-12-05 Thread Karen Tracey
On 12/4/07, Brian Morton <[EMAIL PROTECTED]> wrote: > > > 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

Re: Help debugging Django/MySQLdb exception

2007-12-05 Thread Thejaswi Puthraya
> self.errorhandler(self, exc, value) > File "/var/lib/python-support/python2.5/MySQLdb/connections.py", > line 35, in defaulterrorhandler > raise errorclass, errorvalue > _mysql_exceptions.InterfaceError: (0, '') >From what I could make out from the PEP 249[1], you seem to have a probl

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