Wednesday, June 1, 2011

Re: getting 'NoneType' object is unsubscriptable errors

On Wednesday, 1 June 2011 08:48:13 UTC+1, saureen adani wrote:

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 

<snip>


You didn't think it would be useful to show us some of the actual code?

Although to be honest, if your views.py is over 2570 lines long, you've got more problems than we can sort here.
--
DR. 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/MVZVN0hWU2M0d3dK.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment