Skip to content
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

[bcs-ui模块部署问题] #1950

Open
1 of 3 tasks
proXsp opened this issue Dec 21, 2022 · 0 comments
Open
1 of 3 tasks

[bcs-ui模块部署问题] #1950

proXsp opened this issue Dec 21, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@proXsp
Copy link

proXsp commented Dec 21, 2022

问题描述

<bcs-ui模块能否出个部署文档,backend部署很多报错,不知道是否配置不对。>

重现方法

< 在bcs-ui目录下执行命令:pip3 install -r requirements.txt -->
< 配置setting >
< 执行命令启动服务python3 manage.py runserver 0.0.0.0:8000 >

关键信息

<!-- 重要提醒: 这些关键信息会辅助我们快速定位问题。 -->

请提供以下信息:

  • bk-bcs 版本:
    < releases v1.26.0 >
  • 操作系统 : < Centos 7.9 (x64>` >
  • Exception in thread django-main-thread:
    Traceback (most recent call last):
    File "/usr/local/python3/lib/python3.6/site-packages/django/urls/resolvers.py", line 600, in url_patterns
    iter(patterns)
    TypeError: 'module' object is not iterable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/local/python3/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/local/python3/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/python3/lib/python3.6/site-packages/django/utils/autoreload.py", line 64, in wrapper
fn(*args, **kwargs)
File "/usr/local/python3/lib/python3.6/site-packages/django/core/management/commands/runserver.py", line 118, in inner_run
self.check(display_num_errors=True)
File "/usr/local/python3/lib/python3.6/site-packages/django/core/management/base.py", line 423, in check
databases=databases,
File "/usr/local/python3/lib/python3.6/site-packages/django/core/checks/registry.py", line 76, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
File "/usr/local/python3/lib/python3.6/site-packages/django/core/checks/urls.py", line 13, in check_url_config
return check_resolver(resolver)
File "/usr/local/python3/lib/python3.6/site-packages/django/core/checks/urls.py", line 23, in check_resolver
return check_method()
File "/usr/local/python3/lib/python3.6/site-packages/django/urls/resolvers.py", line 412, in check
for pattern in self.url_patterns:
File "/usr/local/python3/lib/python3.6/site-packages/django/utils/functional.py", line 48, in get
res = instance.dict[self.name] = self.func(instance)
File "/usr/local/python3/lib/python3.6/site-packages/django/urls/resolvers.py", line 607, in url_patterns
raise ImproperlyConfigured(msg.format(name=self.urlconf_name)) from e
django.core.exceptions.ImproperlyConfigured: The included URLconf 'backend.urls' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.

@proXsp proXsp added the bug Something isn't working label Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants