python-social-auth icon indicating copy to clipboard operation
python-social-auth copied to clipboard

Toronodo-Facebook oauth

Open guruganesh26 opened this issue 12 years ago • 1 comments

Hi, I taken, example toronodo given in "python-social-auth" and given my facebook app key,secret. when i tried to login via facebook, i got following traceback,

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1270, in _when_complete
    callback()
      File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 951, in _execute_context
    context)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 436, in do_execute
    cursor.execute(statement, parameters)
OperationalError: (OperationalError) no such table: users u'SELECT count(*) AS count_1 \nFROM (SELECT users.id AS users_id, users.username AS users_username, users.first_name AS users_first_name, users.last_name AS users_last_name, users.email AS users_email, users.password AS users_password \nFROM users \nWHERE users.username = ?) AS anon_1' (u'GaneshPandi',)

I guess, this is caused because of "there is no table "USER in sqlalchemy database, but i did syncdb also.

Please help me, what wrong i am doing?

guruganesh26 avatar Aug 07 '14 13:08 guruganesh26

@guruganesh26, I've push a fix for that user table sync. Try again.

omab avatar Aug 07 '14 16:08 omab