layui/font/iconfont.woff2?v=250

文章讲述了Chrome检测到网页加载时网络速度较慢,会使用备用字体。开发者可通过ChromeStatus链接了解如何有效处理这种情况,以及优化网页资源加载以提升用户体验。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

[Intervention] Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: http://localhost:8082/layui-v2.5.4/layui/font/iconfont.woff2?v=250

结论:

The message you provided indicates that Chrome has detected a slow network connection while loading a web page. It also mentions the fallback font being used while loading a specific font file.

Here’s what the message means:

“Intervention: Slow network is detected”: Chrome has a feature to detect when the network connection is slow, which can negatively impact the loading time of web pages. When a slow network is detected, Chrome may take certain measures to mitigate the impact and improve the user experience.

“See https://www.chromestatus.com/feature/5636954674692096 for more details”: The provided link directs to the Chrome Status website, where you can find more detailed information about the specific feature that Chrome is using to handle slow network connections.

“Fallback font will be used while loading”: The web page you are visiting is trying to load a specific font file (iconfont.woff2) from the URL http://localhost:8082/layui-v2.5.4/layui/font/iconfont.woff2?v=250. However, due to the slow network connection, Chrome may decide to use a fallback font temporarily until the desired font file is fully loaded.

In most cases, this message is just an informative notification and doesn’t indicate any critical issue with your website or web application. It’s a part of Chrome’s efforts to provide a better user experience when the network is slow.

If you are the website developer and you want to optimize your web page’s performance, you can follow the link provided in the message (https://www.chromestatus.com/feature/5636954674692096) to learn more about the specific feature and how to handle slow network connections effectively. Additionally, you can consider optimizing the loading of fonts or other assets on your web page to improve the overall performance.

C:\Users\18767\anaconda3\python.exe C:\Users\18767\Desktop\GUSHI\app.py * Serving Flask app 'app' * Debug mode: on WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Running on http://127.0.0.1:5000 Press CTRL+C to quit * Restarting with watchdog (windowsapi) * Debugger is active! * Debugger PIN: 431-810-334 127.0.0.1 - - [11/Jun/2025 10:46:54] "GET / HTTP/1.1" 200 - 127.0.0.1 - - [11/Jun/2025 10:46:55] "GET /static/css/show_data.css HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:55] "GET /static/js/china.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:55] "GET /static/js/template/show_data.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:55] "GET /static/js/flexible.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:55] "GET /static/js/jquery.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:55] "GET /static/js/echarts.min.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:55] "GET /static/js/echarts-wordcloud.min.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:55] "GET /static/lib/layui/css/layui.css HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:55] "GET /static/images/bg.jpg HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:55] "GET /static/images/head_bg.png HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:55] "GET /static/images/line.png HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:55] "GET /static/images/map.png HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:55] "GET /static/images/lbx.png HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:55] "GET /static/images/jt.png HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:55] "GET /static/fonts/DS-DIGIT.TTF HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:55] "POST /desty_sum HTTP/1.1" 200 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /index HTTP/1.1" 200 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/css/font.css HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/css/xadmin.css HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/js/xadmin.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/layui.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/js/template/index.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/icon/poem_graph.png HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/icon/create.png HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/css/layui.css HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/icon/appear.png HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/icon/chat.png HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/lay/modules/layer.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /welcome HTTP/1.1" 200 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/fonts/iconfont.woff HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/font/iconfont.woff?v=240 HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/js/jquery.min.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/css/xadmin.css HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/layui.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/css/font.css HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/js/xadmin.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/css/modules/layer/default/layer.css?v=3.1.1 HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/js/template/welcome.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/lay/modules/jquery.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/css/layui.css HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/lay/modules/layer.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/lay/modules/element.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/css/modules/layer/default/layer.css?v=3.1.1 HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/lay/modules/element.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /tz_look_poem_desty/李白 HTTP/1.1" 200 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /tz_look_poem_desty/唐代 HTTP/1.1" 200 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /tz_look_poem_desty/宋代 HTTP/1.1" 200 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/lay/modules/util.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/css/font.css HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/css/xadmin.css HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /tz_look_poem_desty/元代 HTTP/1.1" 200 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/layui.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/js/xadmin.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /author/李白 HTTP/1.1" 200 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/js/template/look_poem_desty.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/icon/find.png HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/css/font.css HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/css/xadmin.css HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/css/layui.css HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/layui.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/js/xadmin.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/js/template/look_poem_desty.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/css/font.css HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/css/xadmin.css HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/css/layui.css HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/js/template/author.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/js/d3.min.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/js/echarts.min.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/css/font.css HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/css/xadmin.css HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/css/layui.css HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/js/china.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/layui.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/js/xadmin.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/css/font.css HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/css/xadmin.css HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/css/layui.css HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/js/template/look_poem_desty.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/layui.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/js/xadmin.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/icon/find.png HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/icon/author.png HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/css/layui.css HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/js/template/look_poem_desty.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/layui.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/js/xadmin.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/icon/find.png HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/lay/modules/util.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/lay/modules/laypage.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/icon/find.png HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/lay/modules/layer.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/icon/find.png HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/lay/modules/layer.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/lay/modules/layer.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/lay/modules/layer.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/lay/modules/layer.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/css/modules/layer/default/layer.css?v=3.1.1 HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/lay/modules/jquery.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "POST /desty_sum HTTP/1.1" 200 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "POST /poemer_sum HTTP/1.1" 200 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/css/modules/layer/default/layer.css?v=3.1.1 HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/lay/modules/jquery.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/lay/modules/element.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/css/modules/layer/default/layer.css?v=3.1.1 HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/lay/modules/jquery.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/css/modules/layer/default/layer.css?v=3.1.1 HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/lay/modules/util.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/lay/modules/jquery.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/css/modules/layer/default/layer.css?v=3.1.1 HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/lay/modules/element.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/lay/modules/jquery.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/lay/modules/laypage.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/lay/modules/element.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/lay/modules/util.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/lay/modules/element.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:56] "GET /static/lib/layui/lay/modules/laypage.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:57] "GET /static/lib/layui/lay/modules/element.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:57] "GET /static/lib/layui/lay/modules/util.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:57] "GET /static/lib/layui/lay/modules/util.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:57] "GET /static/lib/layui/lay/modules/laypage.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:57] "GET /static/lib/layui/lay/modules/util.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:57] "GET /static/lib/layui/lay/modules/laypage.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:57] "GET /static/lib/layui/lay/modules/laypage.js HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:57] "POST /look_poem_desty HTTP/1.1" 500 - Traceback (most recent call last): File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 1498, in __call__ return self.wsgi_app(environ, start_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 1476, in wsgi_app response = self.handle_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 1473, in wsgi_app response = self.full_dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 880, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\Desktop\GUSHI\app.py", line 229, in look_poem_desty ret, count = db.selectall(sql, (page,)) TypeError: cannot unpack non-iterable int object 127.0.0.1 - - [11/Jun/2025 10:46:57] "GET /static/lib/layui/font/iconfont.woff?v=240 HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:57] "POST /look_poem_desty HTTP/1.1" 500 - Traceback (most recent call last): File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 1498, in __call__ return self.wsgi_app(environ, start_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 1476, in wsgi_app response = self.handle_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 1473, in wsgi_app response = self.full_dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 880, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\Desktop\GUSHI\app.py", line 229, in look_poem_desty ret, count = db.selectall(sql, (page,)) TypeError: cannot unpack non-iterable int object 127.0.0.1 - - [11/Jun/2025 10:46:57] "GET /static/lib/layui/css/modules/layer/default/loading-2.gif HTTP/1.1" 304 - 127.0.0.1 - - [11/Jun/2025 10:46:57] "POST /look_poem_desty HTTP/1.1" 500 - Traceback (most recent call last): File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 1498, in __call__ return self.wsgi_app(environ, start_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 1476, in wsgi_app response = self.handle_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 1473, in wsgi_app response = self.full_dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 880, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\Desktop\GUSHI\app.py", line 229, in look_poem_desty ret, count = db.selectall(sql, (page,)) TypeError: cannot unpack non-iterable int object 127.0.0.1 - - [11/Jun/2025 10:46:57] "POST /look_poem_desty HTTP/1.1" 500 - Traceback (most recent call last): File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 1498, in __call__ return self.wsgi_app(environ, start_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 1476, in wsgi_app response = self.handle_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 1473, in wsgi_app response = self.full_dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 880, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\Desktop\GUSHI\app.py", line 229, in look_poem_desty ret, count = db.selectall(sql, (page,)) TypeError: cannot unpack non-iterable int object 127.0.0.1 - - [11/Jun/2025 10:46:57] "POST /get_where_relation_show_threePoemer HTTP/1.1" 500 - Traceback (most recent call last): File "C:\Users\18767\anaconda3\Lib\site-packages\py2neo\client\http.py", line 443, in from_json content = json_loads(data, object_hook=JSONHydrant.json_to_packstream) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\json\__init__.py", line 359, in loads return cls(**kw).decode(s) ^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\json\decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 1498, in __call__ return self.wsgi_app(environ, start_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 1476, in wsgi_app response = self.handle_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 1473, in wsgi_app response = self.full_dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 880, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\Desktop\GUSHI\app.py", line 562, in get_where_relation_show_threePoemer data = graph.run( ^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\py2neo\database.py", line 405, in run return self.auto().run(cypher, parameters, **kwparameters) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\py2neo\database.py", line 989, in run result = self._connector.auto_run(cypher, parameters, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\py2neo\client\__init__.py", line 1340, in auto_run return cx.auto_run(cypher, parameters, graph_name=graph_name, readonly=readonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\py2neo\client\http.py", line 177, in auto_run rs = HTTPResponse.from_json(r.status, r.data.decode("utf-8")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\py2neo\client\http.py", line 445, in from_json raise_from(ProtocolError("Cannot decode response content as JSON"), error) File "<string>", line 3, in raise_from py2neo.errors.ProtocolError: Cannot decode response content as JSON 127.0.0.1 - - [11/Jun/2025 10:46:59] "POST /poemer_produce HTTP/1.1" 500 - Traceback (most recent call last): File "C:\Users\18767\anaconda3\Lib\site-packages\py2neo\client\http.py", line 443, in from_json content = json_loads(data, object_hook=JSONHydrant.json_to_packstream) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\json\__init__.py", line 359, in loads return cls(**kw).decode(s) ^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\json\decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 1498, in __call__ return self.wsgi_app(environ, start_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 1476, in wsgi_app response = self.handle_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 1473, in wsgi_app response = self.full_dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 880, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\Desktop\GUSHI\app.py", line 139, in poemer_produce data = graph.run( ^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\py2neo\database.py", line 405, in run return self.auto().run(cypher, parameters, **kwparameters) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\py2neo\database.py", line 989, in run result = self._connector.auto_run(cypher, parameters, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\py2neo\client\__init__.py", line 1340, in auto_run return cx.auto_run(cypher, parameters, graph_name=graph_name, readonly=readonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\py2neo\client\http.py", line 177, in auto_run rs = HTTPResponse.from_json(r.status, r.data.decode("utf-8")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\py2neo\client\http.py", line 445, in from_json raise_from(ProtocolError("Cannot decode response content as JSON"), error) File "<string>", line 3, in raise_from py2neo.errors.ProtocolError: Cannot decode response content as JSON 127.0.0.1 - - [11/Jun/2025 10:46:59] "POST /get_author_message HTTP/1.1" 500 - Traceback (most recent call last): File "C:\Users\18767\anaconda3\Lib\site-packages\py2neo\client\http.py", line 443, in from_json content = json_loads(data, object_hook=JSONHydrant.json_to_packstream) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\json\__init__.py", line 359, in loads return cls(**kw).decode(s) ^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\json\decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 1498, in __call__ return self.wsgi_app(environ, start_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 1476, in wsgi_app response = self.handle_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 1473, in wsgi_app response = self.full_dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 882, in full_dispatch_request rv = self.handle_user_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 880, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\flask\app.py", line 865, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\Desktop\GUSHI\app.py", line 378, in get_author_message 'travel_name': travel_poem(author_name), ^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\Desktop\GUSHI\app.py", line 334, in travel_poem data = graph.run( ^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\py2neo\database.py", line 405, in run return self.auto().run(cypher, parameters, **kwparameters) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\py2neo\database.py", line 989, in run result = self._connector.auto_run(cypher, parameters, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\py2neo\client\__init__.py", line 1340, in auto_run return cx.auto_run(cypher, parameters, graph_name=graph_name, readonly=readonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\py2neo\client\http.py", line 177, in auto_run rs = HTTPResponse.from_json(r.status, r.data.decode("utf-8")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\18767\anaconda3\Lib\site-packages\py2neo\client\http.py", line 445, in from_json raise_from(ProtocolError("Cannot decode response content as JSON"), error) File "<string>", line 3, in raise_from py2neo.errors.ProtocolError: Cannot decode response content as JSON 查看错误
06-12
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值