LangziFun / LangSrcCurise

SRC子域名资产监控
1.27k stars 238 forks source link

python manage.py initial报错 #51

Closed Jadore147258369 closed 3 years ago

Jadore147258369 commented 3 years ago

C:\Users\Administrator\Desktop\LangSrcCurise>python manage.py initial Traceback (most recent call last): File "manage.py", line 50, in from initialize.initialdomains import initialdomains File "C:\Users\Administrator\Desktop\LangSrcCurise\initialize\initialdomains.py", line 12, in from core.main import Add_Data_To_Url,close_old_connections File "C:\Users\Administrator\Desktop\LangSrcCurise\core\main.py", line 5, in from core.Subdomain_Baidu import Baidu File "C:\Users\Administrator\Desktop\LangSrcCurise\core\Subdomain_Baidu.py", line 37, in Set = Setting.objects.all()[0] File "C:\Program Files\Python36\lib\site-packages\django\db\models\query.py", line 303, in getitem return qs._result_cache[0] IndexError: list index out of range

Jadore147258369 commented 3 years ago

已解决,需要先添加一条监控记录