Comments (9)
I'm able to reproduce this issue using MySQL 5.6.22. OP reported he was using 5.6.17 here. OP is running Django 1.6.x and Python 2.7.9.
from aldryn-newsblog.
Tested some more with MySQL query logging on. I've taken part of the log that seems to be migration 0016. What I see is that the entire migration is completed, but then the constraint is added again which gives the error and a rollback.
I've tested with MySQL 5.6.23 and 5.5.41, both seem to have the same problems. I use Django 1.6, South 1.0.2 and MySQL-python 1.2.5.
from aldryn-newsblog.
I've now tried it with and without using 'init_command': 'SET storage_engine=INNODB'
... no difference. All tests run fine. It'd be easy enough for me to make the change that I suggested to make it work, but I think its more important to understand why. Also, can you supply the output of a pip freeze
?
from aldryn-newsblog.
Django==1.6.10
MySQL-python==1.2.5
Pillow==2.7.0
South==1.0.2
Unidecode==0.04.17
YURL==0.13
aldryn-apphooks-config==0.1.4
aldryn-boilerplates==0.6
aldryn-categories==0.1.2
aldryn-common==0.1.1
aldryn-newsblog==0.3.0
aldryn-people==0.5
aldryn-reversion==0.0.1
backport-collections==0.1
cmsplugin-filer==0.10.1
django-appconf==1.0.1
django-appdata==0.1.4
django-classy-tags==0.6.1
django-cms==3.0.12
django-filer==0.9.9
django-mptt==0.6.1
django-parler==1.3
django-phonenumber-field==0.7.2
django-polymorphic==0.6.1
django-reversion==1.8.5
django-sekizai==0.8.1
django-sortedm2m==0.9.4
django-taggit==0.12.3
django-treebeard==3.0
djangocms-admin-style==0.2.5
djangocms-text-ckeditor==2.4.3
easy-thumbnails==2.2
html5lib==0.999
phonenumbers==7.0.2
python-dateutil==2.4.1
pytz==2014.10
six==1.9.0
vobject==0.6.6
wheel==0.24.0
from aldryn-newsblog.
@Nalanae are you able to run the tests in the aldryn-newsblog package?
pip install -r test_requirements/django-1.6.txt
./test
from aldryn-newsblog.
When I run the tests against SQLite or MySQL they run fine. However, when I check a MySQL query log of just the testrun, I can't find any mention of the problematic constraints. I'll investigate further into the log.
If you want to have a look into the log: https://dl.dropboxusercontent.com/u/6635899/mysql.log.zip
from aldryn-newsblog.
When I change the call to djangocms-helper to use migrations I can force the error.
djangocms-helper aldryn_newsblog --cms test --migrate --extra-settings=test_settings $@
from aldryn-newsblog.
@Nalanae, @mrgix Very useful, thanks to both of you.
from aldryn-newsblog.
Should be fixed by #132
from aldryn-newsblog.
Related Issues (20)
- Blog post list by author page title
- Create button on toolbar does not contain "Article" option HOT 2
- Missing breadcrumb for newly created post
- Bootstrap 4 boilerplate templates HOT 4
- django taggit dropped support for django <1.11 which is causing installation issues HOT 2
- Search data won`t be updated for specific plugins without context
- Adding NewsBlog apphook to page breaks login: 405 error HOT 2
- Is this repo maintained? HOT 6
- djangocms-link 2.2.1 breaks NewsBlog HOT 2
- Update translation files from Transifex HOT 1
- System check reported issues HOT 1
- Ignore me...
- 'NoneType' object has no attribute 'get_config' for page with added Newsblog menu
- FieldError: Invalid field name(s) for model Person: 'name'. HOT 1
- Author field for Add Article form uses integer values instead of friendly usernames
- 'CMSToolbar' object has no attribute 'edit_mode' HOT 5
- Untranslated articles shouldn’t show on Latest Articles plugin when hide_untranslated is set
- How to override aldryn-newsblog plugin's models.py and admin.py
- Exclude atricles from Navigation menu
- Latest master release? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aldryn-newsblog.