Thursday, May 2, 2013

Re: Installing django-allauth

I upgraded from 0.8.3 I believe to 0.10.1

actually the problem was that my own installation on my dev virtualenv got polluted not sure how.
In any case I migrated until the problematic migrations, migrate the problematic migration with --fake and then simply ran the rest of the migrations

so far so good

thanks anyway


On Thu, May 2, 2013 at 7:59 PM, Sam Solomon <sssbox@gmail.com> wrote:
Hello,

What version of allauth are you trying to install and where did you get it from?

https://github.com/pennersr/django-allauth/tree/0.10.0/allauth/socialaccount/migrations is the most recent version on pypi and has more than 2 migrations.

Could it be that you have another app installed that also has a socialaccount app, meaning you will not be able to use the apps together? Please respond with your INSTALLED_APPS.


On Wednesday, May 1, 2013 4:51:56 PM UTC-7, אברהם סרור wrote:
Hi,

I'm trying to install django-allauth in a new project (if anyone can recommend something else for any reason I'm open to suggestions)

when running syncdb it says that I need to use south migrate for the allauth apps

when running it throws an exception: django.db.utils.DatabaseError: table "socialaccount_socialapp" already exists

Apparently allauth has it's internal migrations in the vcs, but it doesn't support migrations

it looks like the app socialaccount has migration 1 - initial and then migration 7 - initial
so of course when trying to run 7 it tries to create the table again, and fails.

an easy solution would be to delete allauth migration folder, but this would mean to clone it and maintain yet another fork, and having headaches when updating it.

does anyone reccomend a workaround/solution to this?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment