omab/django-social-auth — Issue #252: InternalError at /complete/facebook (current transaction is aborted)
Author: dennisai
Created: 2012-02-15 07:30:10+00:00
State: open

Hi, I am processing Facebook user accounts, and I wrote some code to save the profile picture to the user profile I created that extends the User model. This code executes when the socialauth_registered signal is sent.

The pictures are correctly saved to the User Profile, and everything else in the signal handler executes correctly as well. However, I get the following error and it never redirects me to my LOGIN_URL. Note that I am using 0.6.1.

InternalError at /complete/facebook/
current transaction is aborted, commands ignored until end of transaction block
Request Method:	GET
Request URL:	http://localhost:8000/complete/facebook/?code=AQBt-LPt7sSKrlXBG29ptPmvHHd3qZiYqTwPWzRcrc9o79ZI0QZPrx_qss6nAruTSkpZpXqZn8bxEbcu3r7Jlgbvh1p9mS8IUMLRXhNR-uhOF2LkC3eHoEl6yrp0LdwsJ4k4o1jyyBdUa4YDow5mQaXK674CpnXoFEckoJ7UPTqcSpsJjh85lHFQbswoTYAGYIA