Hi, I am getting the following errors on some of the web pages
----------------------------------------------------------- 'NoneType' object is unsubscriptable Request Method: GET Request URL: http://nerd.hoonur.com/mypage/4605f1e14430950e07b74b5374472f00 Exception Type: TypeError Exception Value: 'NoneType' object is unsubscriptable Exception Location: /home/balaji/new-staging-setup/trunk/hydra_classifieds/root/balaji_classifieds/classifieds/views.py in get_gadget_data, line 2570 Python Executable: /usr/bin/python Python Version: 2.6.2 Python Path: ['/home/balaji/new-staging-setup/trunk/hydra_classifieds/root/', '/usr/local/lib/python2.6/dist-packages/pymongo-1.7-py2.6-linux-x86_64.egg', '/usr/local/lib/python2.6/dist-packages/simplejson-2.1.1-py2.6.egg', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/PIL', '/var/lib/python-support/python2.6', '/var/lib/python-support/python2.6/gtk-2.0', '/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode', '/usr/local/lib/python2.6/dist-packages', path('/home/balaji/new-staging-setup/trunk/python_modules'), path('/home/balaji/new-staging-setup/trunk/hydra_classifieds/root/balaji_classifieds/python_modules')] Server time: Wed, 1 Jun 2011 12:51:55 +0530 ----------------------------------------------------------- I tried putting the code line where the error was occuring under try-catch-exception but still the error exits. What could be the reason for the above error and possible solution to get rid of above error? Help would be highly appreciated ! -- View this message in context: http://old.nabble.com/getting-%27NoneType%27-object-is-unsubscriptable-errors-tp31747339p31747339.html Sent from the django-users mailing list archive at Nabble.com. -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.