At the end of the stacktrace there's written:

ValueError: invalid literal for int() with base 10: 'None'

You can debug that code and see what happens.


On Aug 7, 10:20 pm, Pankaj Singh <singh.pankaj.iitkg...@gmail.com>
wrote:
> Hi i m getting this error
>
> *******************************************************************
> Traceback (most recent call last):
>
>  File "/usr/local/alwaysdata/python/
> django/1.2.1/django/core/handlers/base.py", line 100, in get_response
>    response = callback(request, *callback_args, **callback_kwargs)
>
>  File
> "/usr/local/alwaysdata/python/django/1.2.1/django/utils/decorators.py", line
> 76, in _wrapped_view
>    response = view_func(request, *args, **kwargs)
>
>  File "<string>", line 1, in <lambda>
>
>  File "/home/pankajsingh/company_site/fbapp/facebook/djangofb/__init__.py",
> line 94, in newview
>    return view(request, *args, **kwargs)
>
>  File "/home/pankajsingh/company_site/fbapp/views.py", line 23, in canvas
>    user = User.objects.get_current()
>
>  File "/home/pankajsingh/company_site/fbapp/models.py", line 13, in
> get_current
>    user, created = self.get_or_create(id=int(facebook.uid))
>
> ValueError: invalid literal for int() with base 10: 'None'
> ***********************************************************************
>
> need help to get out of this
>
> --
> --
> --
> Thanking You,
>
> Pankaj Kumar Singh,
> 3rd Year Undergraduate Student,
> Department of Agricultural and Food Engineering,
> Indian Institute of Technology,
> Kharagpur
>
> Mobile - (+91) 8001231685

-- 
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.

Reply via email to