Ask Your Question

login error:relation "django_authopenid_association" does not exist

asked 2011-10-24 10:12:48 -0600

photon's avatar

updated 2011-10-25 03:56:54 -0600

I have a problem to login with superuser created with syncdb, then I tried to chose other method to login, such as google signin, and then I saw this error. Maybe the two problems are related, but I feel it better to seperate the two problems before the doubt is confirmed. detail as below:

OS: fedora 13
askbot: askbot-0.7.26, installed with easy_install.
db: postgres, client 8.4.5, server 9.0, psycopg2


Request Method: POST
Request URL: http://localhost:8000/account/signin/

Django Version: 1.3
Python Version: 2.6.4
Installed Applications:
Installed Middleware:

File "/usr/lib/python2.6/site-packages/django/core/handlers/" in getresponse
111. response = callback(request, *callback
args, *callback_kwargs)
File "/usr/lib/python2.6/site-packages/django/utils/" in _wrapped_view
93. response = view_func(request, *args, *
File "/usr/lib/python2.6/site-packages/askbot-0.7.26-py2.6.egg/askbot/deps/djangoauthopenid/" in signin
391. sreg
File "/usr/lib/python2.6/site-packages/askbot-0.7.26-py2.6.egg/askbot/deps/django
authopenid/" in askopenid
156. auth
request = consumer.begin(openidurl)
File "/usr/lib/python2.6/site-packages/python
openid-2.2.5-py2.6.egg/openid/consumer/" in begin
353. return self.beginWithoutDiscovery(service, anonymous) File "/usr/lib/python2.6/site-packages/pythonopenid-2.2.5-py2.6.egg/openid/consumer/" in beginWithoutDiscovery
376. auth
req = self.consumer.begin(service)
File "/usr/lib/python2.6/site-packages/pythonopenid-2.2.5-py2.6.egg/openid/consumer/" in begin
598. assoc = self.
File "/usr/lib/python2.6/site-packages/python
openid-2.2.5-py2.6.egg/openid/consumer/" in getAssociation
1158. assoc =
File "/usr/lib/python2.6/site-packages/askbot-0.7.26-py2.6.egg/askbot/deps/djangoauthopenid/" in getAssociation
79. if not assocs:
File "/usr/lib/python2.6/site-packages/django/db/models/" in nonzero
113. iter(self).next()
File "/usr/lib/python2.6/site-packages/django/db/models/" in _result
107. self.fillcache()
File "/usr/lib/python2.6/site-packages/django/db/models/" in fillcache
772. self.resultcache.append(
File "/usr/lib/python2.6/site-packages/django/db/models/" in iterator
273. for row in compiler.results
File "/usr/lib/python2.6/site-packages/django/db/models/sql/" in resultsiter
680. for rows in self.execute
File "/usr/lib/python2.6/site-packages/django/db/models/sql/ ... (more)

edit retag flag offensive close merge delete


yes, the two problems are related. After I run the syncdb and migrate commands again, the two problems both disappear.

photon's avatar photon  ( 2011-10-24 10:29:47 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2011-10-24 10:19:20 -0600

Evgeny's avatar

updated 2011-10-24 12:43:43 -0600

Same story - python migrate right after syncdb should solve this issue.

edit flag offensive delete link more


Thanks. Ran into this problem just and and the migrate still fixes it.

thinkwell's avatar thinkwell  ( 2013-12-18 14:16:37 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-10-24 10:12:48 -0600

Seen: 509 times

Last updated: Oct 25 '11