On Sat, 2007-04-28 at 22:55 +0530, Parthan SR wrote: > > Hello, > > I was trying to do the tutorial again and was in tutorial 2 when I met > with a strange error. As per the tutorial I was adding the choices on > to the edit polls page. Now, when I select an existing poll (which was > created with the shell) and try to add another choice, it gives me a > type error saying that the int object is unsubscriptable. I tried > asking the guys at #django, but they too had no clue of the cause of > the error. > > Here is the pastebin of the code (models.py) and the error shown in > the browser with traceback - http://paste.ubuntu-nl.org/18127/ > > Hope some of you might be able to find where the problem is. FYI, am > using Python 2.5, Psycopg2, PostgreSQL 8.2 and Djanga 0.96 svn head.
Are you using a Python 2.5 final release and not a pre-release? The reason I'm asking is because there was a bug in Python-2.5.1 pre-releases (including the 2.5.1c1 version that shipped with betas of Ubuntu Feisty) that caused problems with Django. It's not something we are going to fix, because it's a Python bug and fixed in 2.5.1-final. Ubuntu already have a Python update out that upgrade to 2.5.1-final. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

