I installed my app to webfaction I am getting this error on many of my pages, these pages are data entry pages with dropdowns with ModelChoiceFields.
Any clue how can I find what is causing this error. I added data to all the tables which are linked to ModelChoiceFields. My database in settings.py point to localhost. and DB is on MYSQL - same server as my app on webfaction. Ashish IndexError at /case/viewall/ list index out of range Request Method: GET Request URL: http://www.woodranchit.com/case/viewall/ Exception Type: IndexError Exception Value: list index out of range Exception Location: /home/pmc/webapps/django/lib/django/db/models/ query.py in __getitem__, line 129 Python Executable: /usr/local/bin/python Python Version: 2.5.1 Python Path: ['/home/pmc/webapps/django', '/home/pmc/webapps/django/ lib', '/usr/local/lib/python2.5/site-packages/MySQL_python-1.2.2-py2.5- linux-i686.egg', '/usr/local/lib/python2.5/site-packages/ setuptools-0.6c8-py2.5.egg', '/home/pmc/webapps/django/lib', '/', '/ usr/local/lib/python25.zip', '/usr/local/lib/python2.5', '/usr/local/ lib/python2.5/plat-linux2', '/usr/local/lib/python2.5/lib-tk', '/usr/ local/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site- packages', '/usr/local/lib/python2.5/site-packages/PIL'] Server time: Thu, 15 May 2008 17:30:50 -0500 Traceback Switch to copy-and-paste view /home/pmc/webapps/django/lib/django/core/handlers/base.py in get_response response = callback(request, *callback_args, **callback_kwargs) ... ▶ Local vars /home/pmc/webapps/django/lib/django/db/models/query.py in __getitem__ return list(qs)[0] ... ▼ Local vars Variable Value k 0 qs [] self [] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---