Hi,

On Mon, Apr 15, 2013 at 9:01 AM, Jeff Hsu <jyhsu1...@gmail.com> wrote:

> Hi, I just pip installed django-social-auth from omab today on
> github(beginner here).  I think I can almost get it to work with facebook
> login, but I always have this "InternalError: Exception Value: current
> transaction is aborted, commands ignored until end of transaction block",
> after I log in with my facebook account and before I redirect to the
> profile page.  The request url shows
>
> http://127.0.0.1:8000/complete/facebook/?redirect_state=xxx&code=xxx&state=xxx.
>  I'm using Django 1.5.  Can anybody give me some directions to debug this?
>
>
Your question is Django-Social-Auth specific. If you ask that question
http://groups.google.com/group/django-social-auth you would get more
accurate and fast answer. I'd suggest you to do so.

I've met the same error while using postgresql as the database, and the
reason was that, when a transaction meets an error, it changes its
stabilized state. If you do not rollback this transaction, further
transactions after this one gives such error. You should find the
problematic transaction to get rid of this error. For details, see
https://docs.djangoproject.com/en/dev/topics/db/transactions/#handling-exceptions-within-postgresql-transactions

More info about this issue from Django Social Auth users/developers would
appear on Django Social Auth mailing list.

-- 
- Serdar Dalgıç <s...@serdardalgic.org>
FLOSS Developer, Life & Nature Hacker
twitter: https://twitter.com/serdaroncode

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to