On Wed, Sep 22, 2010 at 11:18 PM, Howard Wolf <hwrd...@gmail.com> wrote:
> I'm fairly new to django and I'm trying to restart an old database. > > When I run the command run manage.py syncdb > > I get the following error: > > >run manage.py syncdb > Creating table slide_taxonomyphylum > ERROR: An unexpected error occured while tokenizing input > The following traceback may be be corrupted or invalid > The error message is: ('EOF in multi-line statement', (72,0)) > > ERROR: Internal Python error in the inspect module > Below is the traceback from this internal error > > Traceback (most recent call last): > File "/usr/lib/pymodules/python2.6/IPython/ultraTB.py", line > 667, in text > locals, formatvalue=var_rep)) > File "/usr/lib/python2.6/inspect.py", line 875, in > formatargvalues > specs.append(strseq(args[i], convert, join)) > File "/usr/lib/python2.6/inspect.py", line 830, in strseq > return convert(objects) > File "/usr/lib/python2.6/inspect.py", line 872, in convert > return formatarg(name) + formatvalue(locals[name]) > KeyError: 'connection' > > Not sure what this means. Help is greatly appreciate. I looked on > google for some help but didn't find much. > > First, where does the "Operational Error 1060 Duplicate column name" that you have in the title of this thread come in? I don't see it anywhere in your output. Second, the traceback indicates you are running IPython, and the error message suggests some internal-to-python error. I'd try with regular Python and see what it does. The title of the thread suggests an error involving a model with a duplicate column name (though how that could happen isn't clear -- you model definition for this table might help clarify). It's possible IPython is somehow tripping up on reporting the raised error and regular Python would give a less confusing error message, but since you don't show that database error anywhere in the output I'm not even sure that error from the thread title is related to the problem you have described in the email. Karen -- http://tracey.org/kmt/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.