Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: django.db.models.fields.subclassing.JSONField #35

Closed
aldorodz opened this issue Sep 20, 2013 · 5 comments
Closed

Error: django.db.models.fields.subclassing.JSONField #35

aldorodz opened this issue Sep 20, 2013 · 5 comments

Comments

@aldorodz
Copy link

When I try to install the databases in django 1.5.4 I get this:
PicklingError: Can't pickle <class 'django.db.models.fields.subclassing.JSONField'>: attribute lookup django.db.models.fields.subclassing.JSONField failed

--EDIT
This error appears when not use south

@aldorodz aldorodz reopened this Sep 20, 2013
@omab
Copy link
Owner

omab commented Sep 20, 2013

I cannot reproduce it:

$ pip freeze | grep Django
Django==1.5.4
$ python manage.py syncdb --noinput
Creating tables ...
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table auth_user_groups
Creating table auth_user_user_permissions
Creating table auth_user
Creating table django_admin_log
Creating table django_content_type
Creating table django_session
Creating table django_site
Creating table social_auth_usersocialauth
Creating table social_auth_nonce
Creating table social_auth_association
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)

Some more details? Maybe something related with another installed app?

@aldorodz
Copy link
Author

I have these apps installed: 'tastypie', 'suit', 'django_evolution' and before I had the django_social_auth, i think it occurs because has a incompatibility with 'django_evolution', well i changed to south and was solved

@omab
Copy link
Owner

omab commented Sep 20, 2013

Any chance you have the full traceback?

@aldorodz
Copy link
Author

./manage.py syncdb
Syncing...
Creating tables ...
PicklingError: Can't pickle <class 'django.db.models.fields.subclassing.JSONField'>: attribute lookup django.db.models.fields.subclassing.JSONField failed

that's all

@omab
Copy link
Owner

omab commented Sep 21, 2013

@ArmyZRdz, the change above fixes the incompatibility with django-evolution.

@omab omab closed this as completed Sep 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants