I solved the problem.  The problem is that I set up my project with south.
 So, I have to use south migration to set up the proper database schema for
social_auth.

Thanks,
Jeff


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

> Hello Serdar,
>
>        Thank you so much, I do use postgresql as my database.  The problem
> might be what you listed above, I'll take deep look at it.  If I have more
> questions, I'll post it in that group.  Thank you!
>
> Jeff
>
>
> On Mon, Apr 15, 2013 at 1:36 AM, Serdar Dalgic <s...@serdardalgic.org>wrote:
>
>> 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 a topic in the
>> Google Groups "Django users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/django-users/9YkrCD2veRQ/unsubscribe?hl=en
>> .
>> To unsubscribe from this group and all its topics, 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.
>>
>>
>>
>
>

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