-
Notifications
You must be signed in to change notification settings - Fork 109
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
python manage.py migrate - Error #211
Comments
Yep, also having the same error. Full gist:
|
A little research c555418 is the first commit that doesn't have that error, but it has another (so this problem was probably introduced in c5207e3):
|
The latest commit that I could install with instructions is 773fdca
(However, this version has another error deep inside: |
Ok, the best workaround for now that I've come up with:
|
@slava-vishnyakov |
In following steps to install on-premise, I'm stuck here.
https://docs.amon.cx/onpremise/
(env) root@amon-stg:/opt/amon# python manage.py migrate
Traceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/opt/amon/env/lib/python3.5/site-packages/django/core/management/init.py", line 371, in execute_from_command_line
utility.execute()
File "/opt/amon/env/lib/python3.5/site-packages/django/core/management/init.py", line 365, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/amon/env/lib/python3.5/site-packages/django/core/management/base.py", line 288, in run_from_argv
self.execute(*args, **cmd_options)
File "/opt/amon/env/lib/python3.5/site-packages/django/core/management/base.py", line 332, in execute
self.check()
File "/opt/amon/env/lib/python3.5/site-packages/django/core/management/base.py", line 364, in check
include_deployment_checks=include_deployment_checks,
File "/opt/amon/env/lib/python3.5/site-packages/django/core/management/commands/migrate.py", line 58, in _run_checks
issues.extend(super()._run_checks(**kwargs))
File "/opt/amon/env/lib/python3.5/site-packages/django/core/management/base.py", line 351, in _run_checks
return checks.run_checks(**kwargs)
File "/opt/amon/env/lib/python3.5/site-packages/django/core/checks/registry.py", line 73, in run_checks
new_errors = check(app_configs=app_configs)
File "/opt/amon/env/lib/python3.5/site-packages/django/core/checks/urls.py", line 40, in check_url_namespaces_unique
all_namespaces = _load_all_namespaces(resolver)
File "/opt/amon/env/lib/python3.5/site-packages/django/core/checks/urls.py", line 57, in _load_all_namespaces
url_patterns = getattr(resolver, 'url_patterns', [])
File "/opt/amon/env/lib/python3.5/site-packages/django/utils/functional.py", line 36, in get
res = instance.dict[self.name] = self.func(instance)
File "/opt/amon/env/lib/python3.5/site-packages/django/urls/resolvers.py", line 536, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/opt/amon/env/lib/python3.5/site-packages/django/utils/functional.py", line 36, in get
res = instance.dict[self.name] = self.func(instance)
File "/opt/amon/env/lib/python3.5/site-packages/django/urls/resolvers.py", line 529, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 673, in _load_unlocked
File "", line 665, in exec_module
File "", line 222, in _call_with_frames_removed
File "/opt/amon/amon/urls.py", line 8, in
url(r'^api/', include('amon.apps.api.urls')),
File "/opt/amon/env/lib/python3.5/site-packages/django/urls/conf.py", line 34, in include
urlconf_module = import_module(urlconf_module)
File "/usr/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 673, in _load_unlocked
File "", line 665, in exec_module
File "", line 222, in _call_with_frames_removed
File "/opt/amon/amon/apps/api/urls.py", line 9, in
permission_classes=[]))
File "/opt/amon/env/lib/python3.5/site-packages/rest_framework/documentation.py", line 63, in include_docs_urls
permission_classes=permission_classes,
File "/opt/amon/env/lib/python3.5/site-packages/rest_framework/documentation.py", line 26, in get_docs_view
permission_classes=permission_classes,
File "/opt/amon/env/lib/python3.5/site-packages/rest_framework/schemas/init.py", line 41, in get_schema_view
urlconf=urlconf, patterns=patterns,
File "/opt/amon/env/lib/python3.5/site-packages/rest_framework/schemas/generators.py", line 254, in init
assert coreapi, '
coreapi
must be installed for schema support.'AssertionError:
coreapi
must be installed for schema support.(env) root@amon-stg:/opt/amon# ^C
The text was updated successfully, but these errors were encountered: