Ask Your Question
0

Login problems after clean setup

asked 2013-07-31 04:30:51 -0600

Oscar Carballal gravatar image

updated 2013-07-31 04:32:39 -0600

I've installed Askbot 0.7.48 from the RPM package provided in Centos 6. After a few fixes I had it running but with one problem. I can't login in any way from the main login form, even after deactivating all the social logins and leaving the local login alone.

When I submit the form, two different errors appear, the first one is related with the database, the message is:

DatabaseError at /account/signin/ no existe la relación «django_authopenid_userassociation» LINE 1: ...penid_userassociation"."last_used_timestamp" FROM "django_au...

(Translation: The relationship django_auth... doesn't exist). I leave here a screenshot: http://i.imgur.com/n9eUnog.png

The second error is this:

----------------------------------------
Exception happened during processing of request from ('192.168.122.1', 48937)
Traceback (most recent call last):
  File "/usr/lib64/python2.6/SocketServer.py", line 560, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib64/python2.6/SocketServer.py", line 322, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.6/site-packages/django/core/servers/basehttp.py", line 139, in __init__
    super(WSGIRequestHandler, self).__init__(*args, **kwargs)
  File "/usr/lib64/python2.6/SocketServer.py", line 617, in __init__
    self.handle()
  File "/usr/lib64/python2.6/wsgiref/simple_server.py", line 130, in handle
    self.raw_requestline = self.rfile.readline()
  File "/usr/lib64/python2.6/socket.py", line 450, in readline
    data = self._sock.recv(self._rbufsize)
timeout: timed out
----------------------------------------

I can login perfectly from the admin dashboard login though.

My setup is this:

  • Centos 6 standard (core and EPEL repositories alone)
  • PostgreSQL 8.4.13
  • python-psycopg2 2.0.14
  • Askbot 0.7.48

How can I solve this problem?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2013-07-31 12:25:59 -0600

Evgeny gravatar image

You have missed database migrations, so some tables are absent. Upon install run:

python manage.py syncdb --migrate --noinput

This will build all the necessary tables and columns within.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 2013-07-31 04:30:51 -0600

Seen: 806 times

Last updated: Jul 31 '13