Hi!
I've got a fresh checkout of hyperkitty and log in no longer works. This is the error I get on the console:
DatabaseError: no such table: social_auth_usersocialauth
This is the full traceback from the browser: http://fpaste.org/62648/
I have django-social-auth installed in my virtualenv... is there some other new dependency needed?
Karen is running into this too, so I don't think it's a problem specific to my environment.
Thanks, ~m
I tried to set up hyperkitty on my machine after a long time, just to see how things are going!
On Wed, Dec 18, 2013 at 1:57 AM, Máirín Duffy duffy@redhat.com wrote:
Hi!
I've got a fresh checkout of hyperkitty and log in no longer works. This is the error I get on the console:
DatabaseError: no such table: social_auth_usersocialauth
This is the full traceback from the browser: http://fpaste.org/62648/
I have django-social-auth installed in my virtualenv... is there some other new dependency needed?
Karen is running into this too, so I don't think it's a problem specific to my environment.
I didn't get the error you mentioned above. And, it doesn't really sound like a problem with dependency. I guess you forgot to run syncdb command to create tables in database.
I followed development.rst [1] to set up on my machine and it works fine with minor glitches.
[1] https://github.com/hyperkitty/hyperkitty/blob/master/doc/development.rst
Hey how are you doing Aamir!
On Tue, Dec 17, 2013 at 4:24 PM, Aamir Khan syst3m.w0rm@gmail.com wrote:
I didn't get the error you mentioned above. And, it doesn't really sound like a problem with dependency. I guess you forgot to run syncdb command to create tables in database.
Nope, we both definitely did the syncdb. Because on the first attempt to syncdb, it gave a traceback that it was missing django.core.management - had to install django-coreutils to get that done. That's why I'm so sure I did the sync. :)
~m
Hey!
There's been a recent change in the doc to cover this problem: https://hyperkitty.readthedocs.org/en/latest/install.html#setting-up-the-dat... The "syncdb" command does not create every database table, not the ones for hyperkitty nor django-social-auth. Those are created with the "migrate" command. Until recently the doc told the user to run the "migrate" command with the "hyperkitty" argument, which would create hyperkitty's tables and leave django-social-auth out in the cold. Please run: django-admin migrate --pythonpath hyperkitty_standalone --settings settings and tell me if it fixes it for you (no argument to "migrate" will create all the tables from all apps using this command).
Aurélien P.S.: hey Aamir! :-)
Hm, so I think it helped, but I'm still running intro trouble?
I ran both: django-admin syncdb --pythonpath hyperkitty_standalone --settings settings and django-admin migrate --pythonpath hyperkitty_standalone --settings settings
But now I get a different error (404): http://fpaste.org/62779/87352127/
This happens right after I login with mozilla's persona. It looks like it works since it says I've been authenticated but then my browser refreshes (http://localhost:8000) and I get a 404 error. And refreshing the page doesn't seem to help.
Is there something else that I should be doing to make things work?
Also, is this (http://fpaste.org/62781/52315138/) the right output from running the django-admin migrate command? I noticed that it just says: "Installed 0 object(s) from 0 fixture(s)" which maybe seemed like it might not have worked for me?
Karen
On Wed, Dec 18, 2013 at 1:51 AM, Aurelien Bompard abompard@fedoraproject.org wrote:
Hey!
There's been a recent change in the doc to cover this problem: https://hyperkitty.readthedocs.org/en/latest/install.html#setting-up-the-dat... The "syncdb" command does not create every database table, not the ones for hyperkitty nor django-social-auth. Those are created with the "migrate" command. Until recently the doc told the user to run the "migrate" command with the "hyperkitty" argument, which would create hyperkitty's tables and leave django-social-auth out in the cold. Please run: django-admin migrate --pythonpath hyperkitty_standalone --settings settings and tell me if it fixes it for you (no argument to "migrate" will create all the tables from all apps using this command).
Aurélien P.S.: hey Aamir! :-)
hyperkitty-devel mailing list hyperkitty-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/hyperkitty-devel
But now I get a different error (404): http://fpaste.org/62779/87352127/
Ah, that's another bug. Here's the fix: http://paste.fedoraproject.org/62787/35326913/ (I'll commit it)
Aurélien
On Dec 18, 2013 3:17 AM, "Máirín Duffy" duffy@redhat.com wrote:
Hey how are you doing Aamir!
I'm pretty good actually. Transitioned from being a student to full time developer. Liking it so far, trying to keep pace!
I'm really happy to see the pace of development of HyperKitty. A lot has changed really, and UI looks much more matured now! (compared to what we had last year)
On Tue, Dec 17, 2013 at 4:24 PM, Aamir Khan syst3m.w0rm@gmail.com wrote:
I didn't get the error you mentioned above. And, it doesn't really sound
like a problem with dependency. I guess you forgot to run syncdb command to create tables in database.
Nope, we both definitely did the syncdb. Because on the first attempt to
syncdb, it gave a traceback that it was missing django.core.management - had to install django-coreutils to get that done. That's why I'm so sure I did the sync. :)
~m
hyperkitty-devel@lists.fedorahosted.org