django-blog-zinnia / cmsplugin-zinnia

Bridge between django-blog-zinnia and django-cms
BSD 3-Clause "New" or "Revised" License
53 stars 46 forks source link

Reverse for 'cms_usersettings_change' with arguments '()' and keyword arguments '{}' not found #31

Closed rakeshgohel01 closed 9 years ago

rakeshgohel01 commented 9 years ago

I have been facing the below issue whenver I try to include cmsplugin_zinnia in INSTALLED_APP in DEBUG mode True, but with DEBUG mode False, things work ok. I can access ?edit url for django cms when this plugin is disable, but not so otherwise.

Exception Type: NoReverseMatch Exception Value:
Reverse for 'cms_usersettings_change' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []

Could I get some help please?

Requirements

Django==1.6.5 Pillow==2.5.1 South==1.0 argparse==1.2.1 beautifulsoup4==4.3.2 cmsplugin-filer==0.9.9 cmsplugin-zinnia==0.6 django-appconf==0.6 django-blog-zinnia==0.14.1 django-classy-tags==0.5.1 django-cms==3.0.3 django-debug-toolbar==1.2.1 django-filer==0.9.7 django-mptt==0.6.1 django-polymorphic==0.5.6 django-reversion==1.8.1 django-sekizai==0.7 django-tagging==0.3.2 django-xmlrpc==0.1.5 djangocms-admin-style==0.2.2 djangocms-column==1.3 djangocms-file==0.0.1 djangocms-flash==0.0.2 djangocms-googlemap==0.0.5 djangocms-inherit==0.0.1 djangocms-link==1.3.5 djangocms-picture==0.0.2 djangocms-style==1.3 djangocms-teaser==0.0.1 djangocms-text-ckeditor==2.1.6 djangocms-video==0.0.1 easy-thumbnails==2.0.1 html5lib==0.999 psycopg2==2.5.3 pyparsing==2.0.2 pytz==2014.4 six==1.7.3 sqlparse==0.1.11 uWSGI==2.0.6 wsgiref==0.1.2 zinnia-threaded-comments==0.2

rakeshgohel01 commented 9 years ago

I fixed it by changing version to django cms 3.0 & django reversion 1.8 and completely recreating the database. I have tried to incrementally add the app and its cmsplugin, which I suspect the reason for its failure. It's better to add both of them together and run syncdb --all and migrate --fake. Thanks anyway.

Fantomas42 commented 9 years ago

Hello,

if I understand well, the issue appears with the most recent version of Django-CMS ?

I will take a look on my side.

Fantomas42 commented 9 years ago

Everything works fine for me with django-cms 3.0.4. But I do not use django-reversion.

Regards

rakeshgohel01 commented 9 years ago

I had to downgrad django-reversion because while moving from django-cms 3.0.3 to 3.0, it threw some errors like below

RegistrationError at /en/admin/cms/page/add/ <class 'cms.models.titlemodels.Title'> has not been registered with django-reversion Request Method:POSTRequest URL:http://127.0.0.1:8000/en/admin/cms/page/add/?language=enDjango Version:1.6.5Exception Type:RegistrationErrorException Value: <class 'cms.models.titlemodels.Title'> has not been registered with django-reversion

so I am not sure about this.

Fantomas42 commented 9 years ago

I'm not really aware of django-reversion, I cannot help you on this point.