打开网站监控表发现一下错误,网站列表和概览打不开。
Traceback (most recent call last):
File "class/flask_sockets.py", line 30, in __call__
handler, values = adapter.match()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match
raise NotFound()
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "class/panelPlugin.py", line 1959, in a
return eval(execStr)
File "", line 1, in
File "plugin/total/total_main.py", line 644, in get_site_overview
time_scale=time_scale, target=target)
File "plugin/total/total_main.py", line 597, in get_overview_by_day
sum_data = self.get_site_overview_sum_data(site, start_date, end_date)
File "plugin/total/total_main.py", line 553, in get_site_overview_sum_data
for key, value in sum_data.items():
AttributeError: 'str' object has no attribute 'items'
|
-
|