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

执行python3 manage.py initial出错 #28

Open
ggwshk opened this issue Jan 14, 2020 · 2 comments
Open

执行python3 manage.py initial出错 #28

ggwshk opened this issue Jan 14, 2020 · 2 comments

Comments

@ggwshk
Copy link

ggwshk commented Jan 14, 2020

Traceback (most recent call last):
File "manage.py", line 46, in
from initialize.initialdomains import initialdomains
File "/usr/local/lib/python3.6/site-packages/django/LangSrcCurise/initialize/initialdomains.py", line 12, in
from core.main import Add_Data_To_Url
File "/usr/local/lib/python3.6/site-packages/django/LangSrcCurise/core/main.py", line 5, in
from core.Subdomain_Baidu import Baidu
File "/usr/local/lib/python3.6/site-packages/django/LangSrcCurise/core/Subdomain_Baidu.py", line 37, in
Set = Setting.objects.all()[0]
File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 303, in getitem
return qs._result_cache[0]
IndexError: list index out of range

运行python3 manage.py scanstart也会报类似的No module的提示
安装的python.3.6.9、django2.1.10
求解[哭]

@LangziFun
Copy link
Owner

这个时候您只需要现在后台设置扫描策略即可呢~

@ggwshk
Copy link
Author

ggwshk commented Jan 14, 2020

谢谢大佬,的确配完策略,一切OK了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants