{"action":"closed","issue":{"url":"https://api.github.com/repos/nephila/djangocms-installer/issues/263","repository_url":"https://api.github.com/repos/nephila/djangocms-installer","labels_url":"https://api.github.com/repos/nephila/djangocms-installer/issues/263/labels{/name}","comments_url":"https://api.github.com/repos/nephila/djangocms-installer/issues/263/comments","events_url":"https://api.github.com/repos/nephila/djangocms-installer/issues/263/events","html_url":"https://github.com/nephila/djangocms-installer/issues/263","id":162292168,"number":263,"title":"The installer raised an AttributeError: 'Settings' object has no attribute 'ROOT_URLCONF'","user":{"login":"lgmcode","id":15216609,"avatar_url":"https://avatars.githubusercontent.com/u/15216609?v=3","gravatar_id":"","url":"https://api.github.com/users/lgmcode","html_url":"https://github.com/lgmcode","followers_url":"https://api.github.com/users/lgmcode/followers","following_url":"https://api.github.com/users/lgmcode/following{/other_user}","gists_url":"https://api.github.com/users/lgmcode/gists{/gist_id}","starred_url":"https://api.github.com/users/lgmcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgmcode/subscriptions","organizations_url":"https://api.github.com/users/lgmcode/orgs","repos_url":"https://api.github.com/users/lgmcode/repos","events_url":"https://api.github.com/users/lgmcode/events{/privacy}","received_events_url":"https://api.github.com/users/lgmcode/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-06-25T17:46:05Z","updated_at":"2016-07-22T15:58:24Z","closed_at":"2016-07-22T15:58:24Z","body":"Hello, when I try to install django-cms with this installer in a clean virtualenv with python2.7, I got this error at the end of the installation. The complete console output is printed below. Could you please figure out why I got this error.\r\n\r\n(venv)lgm@myserver:~/testcms/mysite$ djangocms -f -p . mysite\r\nDatabase configuration (in URL format) [default sqlite://localhost/project.db]:\r\ndjango CMS version (choices: 3.2, stable, rc, develop) [default stable]:\r\nDjango version (choices: 1.8, 1.9, stable) [default stable]:\r\nActivate Django I18N / L10N setting; this is automatically activated if more than language is provided (choices: yes, no) [default yes]:\r\nInstall and configure reversion support (choices: yes, no) [default yes]:\r\nLanguages to enable. Option can be provided multiple times, or as a comma separated list. Only language codes supported by Django can be used here: en-us\r\nOptional default time zone [default Asia/Harbin]:\r\nActivate Django timezone support (choices: yes, no) [default yes]:\r\nActivate CMS permission management (choices: yes, no) [default yes]:\r\nUse Twitter Bootstrap Theme (choices: yes, no) [default no]:\r\nUse custom template set [default no]:\r\nLoad a starting page with examples after installation (english language only). Choose \"no\" if you use a custom template set. (choices: yes, no) [default no]:\r\nCreating the project\r\nPlease wait while I install dependencies\r\nDependencies installed\r\nCreating the project\r\nTraceback (most recent call last):\r\n  File \"manage.py\", line 10, in <module>\r\n    execute_from_command_line(sys.argv)\r\n  File \"/home/lgm/testcms/venv/local/lib/python2.7/site-packages/django/core/management/__init__.py\", line 350, in execute_from_command_line\r\n    utility.execute()\r\n  File \"/home/lgm/testcms/venv/local/lib/python2.7/site-packages/django/core/management/__init__.py\", line 342, in execute\r\n    self.fetch_command(subcommand).run_from_argv(self.argv)\r\n  File \"/home/lgm/testcms/venv/local/lib/python2.7/site-packages/django/core/management/base.py\", line 348, in run_from_argv\r\n    self.execute(*args, **cmd_options)\r\n  File \"/home/lgm/testcms/venv/local/lib/python2.7/site-packages/django/core/management/base.py\", line 398, in execute\r\n    self.check()\r\n  File \"/home/lgm/testcms/venv/local/lib/python2.7/site-packages/django/core/management/base.py\", line 426, in check\r\n    include_deployment_checks=include_deployment_checks,\r\n  File \"/home/lgm/testcms/venv/local/lib/python2.7/site-packages/django/core/checks/registry.py\", line 75, in run_checks\r\n    new_errors = check(app_configs=app_configs)\r\n  File \"/home/lgm/testcms/venv/local/lib/python2.7/site-packages/django/core/checks/urls.py\", line 9, in check_url_config\r\n    resolver = get_resolver()\r\n  File \"/home/lgm/testcms/venv/local/lib/python2.7/site-packages/django/utils/lru_cache.py\", line 100, in wrapper\r\n    result = user_function(*args, **kwds)\r\n  File \"/home/lgm/testcms/venv/local/lib/python2.7/site-packages/django/core/urlresolvers.py\", line 151, in get_resolver\r\n    urlconf = settings.ROOT_URLCONF\r\n  File \"/home/lgm/testcms/venv/local/lib/python2.7/site-packages/django/conf/__init__.py\", line 56, in __getattr__\r\n    return getattr(self._wrapped, name)\r\nAttributeError: 'Settings' object has no attribute 'ROOT_URLCONF'\r\nThe installation failed.\r\nDo you want to clean up by removing /home/lgm/testcms/mysite?\r\n        Warning: this will delete all files in:\r\n                /home/lgm/testcms/mysite\r\nDo you want to cleanup? [y/N] y\r\nRemoving everything under /home/lgm/testcms/mysite\r\n\r\n\r\n**********************************************************\r\n\r\nCheck documentation at http://djangocms-installer.rtfd.org\r\n\r\n**********************************************************\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/lgm/testcms/venv/bin/djangocms\", line 9, in <module>\r\n    load_entry_point('djangocms-installer==0.9.b1', 'console_scripts', 'djangocms')()\r\n  File \"/home/lgm/testcms/venv/local/lib/python2.7/site-packages/djangocms_installer/main.py\", line 41, in execute\r\n    django.setup_database(config_data)\r\n  File \"/home/lgm/testcms/venv/local/lib/python2.7/site-packages/djangocms_installer/django/__init__.py\", line 376, in setup_database\r\n    output = subprocess.check_output(command, env=env)\r\n  File \"/usr/lib/python2.7/subprocess.py\", line 544, in check_output\r\n    raise CalledProcessError(retcode, cmd, output=output)\r\nsubprocess.CalledProcessError: Command '['/home/lgm/testcms/venv/bin/python', u'-W', u'ignore', u'manage.py', u'migrate']' returned non-zero exit status 1\r\n(venv)lgm@myserver:~/testcms/mysite$\r\n"}}
{"actor":{"display_login":"yakky"}}