{"action":"created","issue":{"url":"https://api.github.com/repos/nephila/djangocms-blog/issues/217","repository_url":"https://api.github.com/repos/nephila/djangocms-blog","labels_url":"https://api.github.com/repos/nephila/djangocms-blog/issues/217/labels{/name}","comments_url":"https://api.github.com/repos/nephila/djangocms-blog/issues/217/comments","events_url":"https://api.github.com/repos/nephila/djangocms-blog/issues/217/events","html_url":"https://github.com/nephila/djangocms-blog/issues/217","id":138325657,"number":217,"title":"AlreadyRegisteredException: A wizard has already been registered for model: Post","user":{"login":"bxm156","id":136036,"avatar_url":"https://avatars.githubusercontent.com/u/136036?v=3","gravatar_id":"","url":"https://api.github.com/users/bxm156","html_url":"https://github.com/bxm156","followers_url":"https://api.github.com/users/bxm156/followers","following_url":"https://api.github.com/users/bxm156/following{/other_user}","gists_url":"https://api.github.com/users/bxm156/gists{/gist_id}","starred_url":"https://api.github.com/users/bxm156/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bxm156/subscriptions","organizations_url":"https://api.github.com/users/bxm156/orgs","repos_url":"https://api.github.com/users/bxm156/repos","events_url":"https://api.github.com/users/bxm156/events{/privacy}","received_events_url":"https://api.github.com/users/bxm156/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2016-03-03T23:12:11Z","updated_at":"2016-04-29T09:02:10Z","closed_at":"2016-03-10T11:28:55Z","body":"On my instance of django-cms, I added 2 instances of the djangocms-blog app, under different namespaces. Everything seemed to work together, but I later restarted the server to disable CMS caching, and now I get the following error:\r\n\r\nAlreadyRegisteredException: A wizard has already been registered for model: Post\r\n\r\n(Not sure if this larger DjangoCMS issue, or related to djangocms_blog, but figured the mention of 'Post' means this would be a good place to start)\r\n\r\nNot sure what happened, but since I don't need 2 blog instances (I was just testing stuff), I think I'm going to just drop my database tables and start all over. Thought I would post this here just in case this is an actual bug. \r\n\r\n```\r\nTraceback (most recent call last): \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/django/core/handlers/base.py\", line 174, in get_response response = self.process_exception_by_middleware(e, request) \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/django/core/handlers/base.py\", line 172, in get_response response = response.render() \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/django/template/response.py\", line 160, in render self.content = self.rendered_content \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/django/template/response.py\", line 137, in rendered_content content = template.render(context, self._request) \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/django/template/backends/django.py\", line 95, in render return self.template.render(context) \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/django/template/base.py\", line 206, in render return self._render(context) \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/django/template/base.py\", line 197, in _render return self.nodelist.render(context) \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/django/template/base.py\", line 992, in render bit = node.render_annotated(context) \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/django/template/base.py\", line 959, in render_annotated return self.render(context) \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/django/template/loader_tags.py\", line 173, in render return compiled_parent._render(context) \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/django/template/base.py\", line 197, in _render return self.nodelist.render(context) \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/django/template/base.py\", line 992, in render bit = node.render_annotated(context) \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/django/template/base.py\", line 959, in render_annotated return self.render(context) \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/django/template/loader_tags.py\", line 173, in render return compiled_parent._render(context) \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/django/template/base.py\", line 197, in _render return self.nodelist.render(context) \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/django/template/base.py\", line 992, in render bit = node.render_annotated(context) \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/django/template/base.py\", line 959, in render_annotated return self.render(context) \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/classytags/core.py\", line 138, in render return self.render_tag(context, **kwargs) \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/sekizai/templatetags/sekizai_tags.py\", line 83, in render_tag rendered_contents = nodelist.render(context) \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/django/template/base.py\", line 992, in render bit = node.render_annotated(context) \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/django/template/base.py\", line 959, in render_annotated return self.render(context) \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/classytags/core.py\", line 138, in render return self.render_tag(context, **kwargs) \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/cms/templatetags/cms_tags.py\", line 687, in render_tag request.toolbar.post_template_populate() \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/cms/toolbar/toolbar.py\", line 313, in post_template_populate self._call_toolbar('post_template_populate') \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/cms/toolbar/toolbar.py\", line 351, in _call_toolbar result = getattr(toolbar, func_name)() \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/cms/cms_toolbars.py\", line 73, in post_template_populate self.add_wizard_button() \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/cms/cms_toolbars.py\", line 109, in add_wizard_button list(entry_choices(user, self.page))) == 0 \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/cms/wizards/wizard_pool.py\", line 19, in entry_choices for entry in wizard_pool.get_entries(): \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/cms/wizards/wizard_pool.py\", line 117, in get_entries self._discover() \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/cms/wizards/wizard_pool.py\", line 35, in _discover load('cms_wizards') \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/cms/utils/django_load.py\", line 61, in load get_module(app, modname, verbose, failfast) \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/cms/utils/django_load.py\", line 45, in get_module module = import_module(module_name) \r\n File \"/usr/lib/python2.7/importlib/__init__.py\", line 37, in import_module __import__(name) \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/djangocms_blog/cms_wizards.py\", line 53, in <module> wizard_pool.register(post_wizard) \r\n File \"/home/site/.env/site/local/lib/python2.7/site-packages/cms/wizards/wizard_pool.py\", line 80, in register model.__name__) AlreadyRegisteredException: A wizard has already been registered for model: Post\r\n```"},"comment":{"url":"https://api.github.com/repos/nephila/djangocms-blog/issues/comments/215663633","html_url":"https://github.com/nephila/djangocms-blog/issues/217#issuecomment-215663633","issue_url":"https://api.github.com/repos/nephila/djangocms-blog/issues/217","id":215663633,"user":{"login":"sephii","id":754333,"avatar_url":"https://avatars.githubusercontent.com/u/754333?v=3","gravatar_id":"","url":"https://api.github.com/users/sephii","html_url":"https://github.com/sephii","followers_url":"https://api.github.com/users/sephii/followers","following_url":"https://api.github.com/users/sephii/following{/other_user}","gists_url":"https://api.github.com/users/sephii/gists{/gist_id}","starred_url":"https://api.github.com/users/sephii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sephii/subscriptions","organizations_url":"https://api.github.com/users/sephii/orgs","repos_url":"https://api.github.com/users/sephii/repos","events_url":"https://api.github.com/users/sephii/events{/privacy}","received_events_url":"https://api.github.com/users/sephii/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T09:02:10Z","updated_at":"2016-04-29T09:02:10Z","body":"Looks good! I would just add the name of the failing wizard to the warning to simplify debugging."}}