diff --git a/logs/dingxin.log b/logs/dingxin.log index 45e5ece..0fddf2f 100644 --- a/logs/dingxin.log +++ b/logs/dingxin.log @@ -457,3 +457,2283 @@ INFO 2023-12-07 09:00:15,357 basehttp 212 "POST /api-token-auth/ HTTP/1.1" 200 5 WARNING 2023-12-07 09:00:58,877 log 241 Unauthorized: /update/cinema/ WARNING 2023-12-07 09:00:58,878 basehttp 212 "GET /update/cinema/ HTTP/1.1" 401 92 INFO 2023-12-07 09:01:12,551 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 08:07:34,494 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-14 08:13:54,179 basehttp 212 "GET /docs HTTP/1.1" 301 0 +INFO 2023-12-14 08:13:54,336 basehttp 212 "GET /docs/ HTTP/1.1" 200 53444 +INFO 2023-12-14 08:13:54,873 basehttp 212 "GET /static/rest_framework/css/font-awesome-4.0.3.css HTTP/1.1" 200 21658 +INFO 2023-12-14 08:13:54,876 basehttp 212 "GET /static/rest_framework/css/bootstrap-theme.min.css HTTP/1.1" 200 23411 +INFO 2023-12-14 08:13:54,887 basehttp 212 "GET /static/rest_framework/docs/css/jquery.json-view.min.css HTTP/1.1" 200 1307 +INFO 2023-12-14 08:13:54,891 basehttp 212 "GET /static/rest_framework/docs/css/base.css HTTP/1.1" 200 6156 +INFO 2023-12-14 08:13:54,891 basehttp 212 "GET /static/rest_framework/css/bootstrap.min.css HTTP/1.1" 200 121457 +INFO 2023-12-14 08:13:54,909 basehttp 212 "GET /docs/schema.js HTTP/1.1" 200 7136 +INFO 2023-12-14 08:13:54,915 basehttp 212 "GET /static/rest_framework/js/coreapi-0.1.1.js HTTP/1.1" 200 157600 +INFO 2023-12-14 08:13:54,939 basehttp 212 "GET /static/rest_framework/docs/js/jquery.json-view.min.js HTTP/1.1" 200 2700 +INFO 2023-12-14 08:13:54,950 basehttp 212 "GET /static/rest_framework/js/bootstrap.min.js HTTP/1.1" 200 39680 +INFO 2023-12-14 08:13:54,954 basehttp 212 "GET /static/rest_framework/docs/js/api.js HTTP/1.1" 200 10391 +INFO 2023-12-14 08:13:54,972 basehttp 212 "GET /static/rest_framework/js/jquery-3.5.1.min.js HTTP/1.1" 200 89476 +INFO 2023-12-14 08:13:55,046 basehttp 212 "GET /static/rest_framework/fonts/fontawesome-webfont.woff?v=4.0.3 HTTP/1.1" 200 44432 +INFO 2023-12-14 08:14:30,999 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +WARNING 2023-12-14 08:24:19,374 log 241 Unauthorized: /update/cinema/ +WARNING 2023-12-14 08:24:19,375 basehttp 212 "GET /update/cinema/ HTTP/1.1" 401 5178 +INFO 2023-12-14 08:24:19,490 basehttp 212 "GET /static/rest_framework/css/bootstrap.min.css HTTP/1.1" 200 121457 +INFO 2023-12-14 08:24:19,499 basehttp 212 "GET /static/rest_framework/css/bootstrap-tweaks.css HTTP/1.1" 200 3385 +INFO 2023-12-14 08:24:19,517 basehttp 212 "GET /static/rest_framework/css/prettify.css HTTP/1.1" 200 817 +INFO 2023-12-14 08:24:19,518 basehttp 212 "GET /static/rest_framework/css/default.css HTTP/1.1" 200 1152 +INFO 2023-12-14 08:24:19,524 basehttp 212 "GET /static/rest_framework/js/jquery-3.5.1.min.js HTTP/1.1" 200 89476 +INFO 2023-12-14 08:24:19,545 basehttp 212 "GET /static/rest_framework/js/ajax-form.js HTTP/1.1" 200 3597 +INFO 2023-12-14 08:24:19,550 basehttp 212 "GET /static/rest_framework/js/csrf.js HTTP/1.1" 200 1719 +INFO 2023-12-14 08:24:19,551 basehttp 212 "GET /static/rest_framework/js/bootstrap.min.js HTTP/1.1" 200 39680 +INFO 2023-12-14 08:24:19,576 basehttp 212 "GET /static/rest_framework/js/default.js HTTP/1.1" 200 1268 +INFO 2023-12-14 08:24:19,584 basehttp 212 "GET /static/rest_framework/img/grid.png HTTP/1.1" 200 1458 +INFO 2023-12-14 08:24:19,594 basehttp 212 "GET /static/rest_framework/js/prettify-min.js HTTP/1.1" 200 13632 +WARNING 2023-12-14 08:24:20,628 log 241 Not Found: /favicon.ico +WARNING 2023-12-14 08:24:20,629 basehttp 212 "GET /favicon.ico HTTP/1.1" 404 2450 +WARNING 2023-12-14 08:27:26,413 log 241 Unauthorized: /update/cinema/ +WARNING 2023-12-14 08:27:26,415 basehttp 212 "GET /update/cinema/ HTTP/1.1" 401 5178 +INFO 2023-12-14 08:30:02,605 basehttp 212 "GET /docs HTTP/1.1" 301 0 +INFO 2023-12-14 08:30:02,913 basehttp 212 "GET /docs/ HTTP/1.1" 200 53444 +INFO 2023-12-14 08:30:03,046 basehttp 212 "GET /static/rest_framework/css/bootstrap-theme.min.css HTTP/1.1" 200 23411 +INFO 2023-12-14 08:30:03,069 basehttp 212 "GET /static/rest_framework/css/font-awesome-4.0.3.css HTTP/1.1" 200 21658 +INFO 2023-12-14 08:30:03,073 basehttp 212 "GET /static/rest_framework/docs/css/base.css HTTP/1.1" 200 6156 +INFO 2023-12-14 08:30:03,077 basehttp 212 "GET /static/rest_framework/docs/css/jquery.json-view.min.css HTTP/1.1" 200 1307 +INFO 2023-12-14 08:30:03,082 basehttp 212 "GET /static/rest_framework/js/coreapi-0.1.1.js HTTP/1.1" 200 157600 +INFO 2023-12-14 08:30:03,091 basehttp 212 "GET /docs/schema.js HTTP/1.1" 200 7136 +INFO 2023-12-14 08:30:03,094 basehttp 212 "GET /static/rest_framework/docs/js/jquery.json-view.min.js HTTP/1.1" 200 2700 +INFO 2023-12-14 08:30:03,100 basehttp 212 "GET /static/rest_framework/docs/js/api.js HTTP/1.1" 200 10391 +INFO 2023-12-14 08:30:03,197 basehttp 212 "GET /static/rest_framework/fonts/fontawesome-webfont.woff?v=4.0.3 HTTP/1.1" 200 44432 +INFO 2023-12-14 08:30:04,115 basehttp 212 "GET /static/rest_framework/docs/img/favicon.ico HTTP/1.1" 200 5430 +INFO 2023-12-14 08:30:27,759 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +WARNING 2023-12-14 08:34:27,685 log 241 Unauthorized: /update/cinema/ +WARNING 2023-12-14 08:34:27,686 basehttp 212 "GET /update/cinema/ HTTP/1.1" 401 43 +INFO 2023-12-14 08:36:35,190 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 09:42:23,204 basehttp 212 "OPTIONS /update/cinema/ HTTP/1.1" 200 0 +INFO 2023-12-14 09:42:23,454 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 09:43:39,214 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 09:45:43,188 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 09:50:23,127 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 09:50:23,222 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 09:54:58,750 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 09:56:18,236 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 09:56:25,375 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 09:56:59,392 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 10:01:05,603 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 10:01:12,850 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 10:03:14,019 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 10:05:03,419 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 10:05:06,351 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 10:05:23,567 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 10:06:22,290 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 10:06:30,681 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 10:06:45,303 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 10:06:48,341 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 10:08:02,702 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 10:08:10,484 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 10:08:41,894 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 10:08:43,847 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 10:09:17,995 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 10:09:22,109 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 10:09:36,746 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-14 10:09:43,578 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 09:20:27,252 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-15 09:21:22,986 autoreload 668 Watching for file changes with StatReloader +WARNING 2023-12-15 09:21:44,587 log 241 Unauthorized: /update/cinema/ +WARNING 2023-12-15 09:21:44,588 basehttp 212 "GET /update/cinema/ HTTP/1.1" 401 43 +INFO 2023-12-15 09:22:11,926 basehttp 212 "OPTIONS /update/cinema/ HTTP/1.1" 200 0 +INFO 2023-12-15 09:22:12,058 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 09:22:12,180 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 09:22:23,526 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 09:22:56,424 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 09:23:05,650 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 09:23:33,039 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 09:24:34,064 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 09:28:10,626 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 09:55:48,094 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 09:57:45,695 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 09:58:21,791 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 09:58:41,106 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 09:59:28,057 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 09:59:29,930 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 09:59:56,996 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 10:00:04,433 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 10:01:05,105 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 10:01:05,212 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 10:02:42,646 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 10:02:50,431 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 10:02:50,509 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 10:03:09,807 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 10:03:46,379 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 10:03:46,479 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 10:06:09,901 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 13:40:28,099 basehttp 212 "OPTIONS /update/cinema/ HTTP/1.1" 200 0 +INFO 2023-12-15 13:40:28,302 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 13:41:29,522 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 13:41:29,765 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 13:57:52,406 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:01:26,249 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:01:52,583 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:05:42,112 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:05:42,224 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:05:57,956 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:08:33,712 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:08:39,358 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:08:54,898 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:08:57,089 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:10:53,588 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:11:03,291 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:11:29,987 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:12:01,702 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:12:01,821 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:12:01,900 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:12:23,569 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:13:10,143 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:13:12,415 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:14:27,060 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:19:24,554 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:19:29,613 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:31:21,743 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:31:24,566 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:31:39,879 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:31:54,189 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:33:04,725 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:33:07,431 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:34:15,310 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:34:20,658 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:35:25,520 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:37:40,989 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:37:57,147 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:38:05,891 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:45:20,455 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:45:32,029 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:45:52,501 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:45:56,708 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:47:20,374 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:47:22,696 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:48:19,646 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:48:24,558 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:48:46,754 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:49:29,589 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 14:49:53,982 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 16:12:38,152 basehttp 212 "OPTIONS /update/cinema/ HTTP/1.1" 200 0 +INFO 2023-12-15 16:12:38,315 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 16:12:48,079 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 16:15:10,110 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 16:15:16,498 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 16:15:37,514 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 16:17:03,788 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 16:18:57,803 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 17:30:01,852 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 17:30:28,114 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 17:30:34,948 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 17:35:19,988 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 17:35:27,783 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 17:36:22,993 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 17:36:38,634 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 17:40:31,350 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 17:43:13,570 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 17:43:19,873 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 17:46:05,226 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 17:46:10,852 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 17:46:29,208 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 17:46:34,656 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 17:50:04,863 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 17:50:10,944 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-15 18:17:17,303 basehttp 212 "OPTIONS /update/cinema/ HTTP/1.1" 200 0 +INFO 2023-12-15 18:17:17,536 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 483 +INFO 2023-12-18 08:59:19,880 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 08:59:41,645 basehttp 212 "OPTIONS /update/cinema/ HTTP/1.1" 200 0 +INFO 2023-12-18 08:59:41,772 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-18 08:59:55,932 basehttp 212 "OPTIONS /update/cinema/search?ip=172.16.3.11&version= HTTP/1.1" 200 0 +INFO 2023-12-18 08:59:56,079 basehttp 212 "GET /update/cinema/search?ip=172.16.3.11&version= HTTP/1.1" 301 0 +INFO 2023-12-18 08:59:56,086 basehttp 212 "OPTIONS /update/cinema/search/?ip=172.16.3.11&version= HTTP/1.1" 200 0 +INFO 2023-12-18 08:59:56,168 basehttp 212 "GET /update/cinema/search/?ip=172.16.3.11&version= HTTP/1.1" 200 464 +INFO 2023-12-18 08:59:59,707 basehttp 212 "OPTIONS /update/cinema/search?ip=172.16.3.111&version= HTTP/1.1" 200 0 +INFO 2023-12-18 08:59:59,717 basehttp 212 "GET /update/cinema/search?ip=172.16.3.111&version= HTTP/1.1" 301 0 +INFO 2023-12-18 08:59:59,724 basehttp 212 "OPTIONS /update/cinema/search/?ip=172.16.3.111&version= HTTP/1.1" 200 0 +INFO 2023-12-18 08:59:59,815 basehttp 212 "GET /update/cinema/search/?ip=172.16.3.111&version= HTTP/1.1" 200 234 +INFO 2023-12-18 09:00:02,456 basehttp 212 "OPTIONS /update/cinema/search?ip=&version= HTTP/1.1" 200 0 +INFO 2023-12-18 09:00:02,467 basehttp 212 "GET /update/cinema/search?ip=&version= HTTP/1.1" 301 0 +INFO 2023-12-18 09:00:02,474 basehttp 212 "OPTIONS /update/cinema/search/?ip=&version= HTTP/1.1" 200 0 +INFO 2023-12-18 09:00:02,541 basehttp 212 "GET /update/cinema/search/?ip=&version= HTTP/1.1" 200 464 +INFO 2023-12-18 09:11:44,859 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-18 09:51:08,585 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\dingxin_toolbox_drf\settings.py changed, reloading. +INFO 2023-12-18 09:51:09,375 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 09:58:24,654 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\dingxin_toolbox_drf\settings.py changed, reloading. +INFO 2023-12-18 09:58:25,687 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 10:01:01,267 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-18 10:01:02,233 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 10:03:22,448 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 10:06:21,169 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\dingxin_toolbox_drf\settings.py changed, reloading. +INFO 2023-12-18 10:06:21,874 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 10:07:51,283 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-18 10:07:52,491 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-18 10:07:54,913 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-18 10:08:11,451 basehttp 212 "GET /update/cinema/search/?ip=&version= HTTP/1.1" 200 464 +INFO 2023-12-18 10:10:25,310 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 10:10:31,773 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-18 10:10:37,861 basehttp 212 "GET /update/cinema/search/?ip=&version= HTTP/1.1" 200 464 +INFO 2023-12-18 10:17:37,367 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-18 10:17:38,263 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 10:18:24,513 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-18 10:18:25,207 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 10:18:33,386 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-18 10:18:38,914 basehttp 212 "GET /update/cinema/search/?ip=&version= HTTP/1.1" 200 464 +INFO 2023-12-18 10:19:29,175 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-18 10:19:54,394 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-18 10:28:43,200 basehttp 212 "GET /update/cinema/search/?ip=&version= HTTP/1.1" 200 464 +INFO 2023-12-18 10:29:12,443 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-18 10:38:48,253 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-18 10:38:48,994 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-18 10:39:08,996 log 241 Internal Server Error: /update/cinema/ +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 29, in _decorator + return method(self, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 81, in set + return self.client.set(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 185, in set + raise ConnectionInterrupted(connection=client) from e +django_redis.exceptions.ConnectionInterrupted: Redis ResponseError: value is not an integer or out of range + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\views\decorators\csrf.py", line 56, in wrapper_view + return view_func(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\viewsets.py", line 125, in view + return self.dispatch(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 509, in dispatch + response = self.handle_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 469, in handle_exception + self.raise_uncaught_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 480, in raise_uncaught_exception + raise exc + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 506, in dispatch + response = handler(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 54, in inner + return this.process_cache_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 98, in process_cache_response + self.cache.set(key, response_triple, timeout) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 36, in _decorator + raise e.__cause__ + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 175, in set + return bool(client.set(nkey, nvalue, nx=nx, px=timeout, xx=xx)) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\commands\core.py", line 2341, in set + return self.execute_command("SET", *pieces, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 536, in execute_command + return conn.retry.call_with_retry( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\retry.py", line 46, in call_with_retry + return do() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 537, in + lambda: self._send_command_parse_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 513, in _send_command_parse_response + return self.parse_response(conn, command_name, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 553, in parse_response + response = connection.read_response() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 524, in read_response + raise response +redis.exceptions.ResponseError: value is not an integer or out of range +ERROR 2023-12-18 10:39:09,002 basehttp 212 "GET /update/cinema/ HTTP/1.1" 500 188724 +INFO 2023-12-18 10:42:01,729 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-18 10:42:06,521 log 241 Internal Server Error: /update/cinema/ +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 29, in _decorator + return method(self, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 81, in set + return self.client.set(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 185, in set + raise ConnectionInterrupted(connection=client) from e +django_redis.exceptions.ConnectionInterrupted: Redis ResponseError: value is not an integer or out of range + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\views\decorators\csrf.py", line 56, in wrapper_view + return view_func(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\viewsets.py", line 125, in view + return self.dispatch(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 509, in dispatch + response = self.handle_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 469, in handle_exception + self.raise_uncaught_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 480, in raise_uncaught_exception + raise exc + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 506, in dispatch + response = handler(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 54, in inner + return this.process_cache_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 98, in process_cache_response + self.cache.set(key, response_triple, timeout) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 36, in _decorator + raise e.__cause__ + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 175, in set + return bool(client.set(nkey, nvalue, nx=nx, px=timeout, xx=xx)) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\commands\core.py", line 2341, in set + return self.execute_command("SET", *pieces, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 536, in execute_command + return conn.retry.call_with_retry( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\retry.py", line 46, in call_with_retry + return do() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 537, in + lambda: self._send_command_parse_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 513, in _send_command_parse_response + return self.parse_response(conn, command_name, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 553, in parse_response + response = connection.read_response() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 524, in read_response + raise response +redis.exceptions.ResponseError: value is not an integer or out of range +ERROR 2023-12-18 10:42:06,526 basehttp 212 "GET /update/cinema/ HTTP/1.1" 500 188724 +INFO 2023-12-18 10:45:55,834 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-18 10:45:56,542 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 10:46:22,783 basehttp 212 "GET /docs HTTP/1.1" 301 0 +INFO 2023-12-18 10:46:22,947 basehttp 212 "GET /docs/ HTTP/1.1" 200 58612 +INFO 2023-12-18 10:46:23,425 basehttp 212 "GET /static/rest_framework/css/font-awesome-4.0.3.css HTTP/1.1" 200 21658 +INFO 2023-12-18 10:46:23,433 basehttp 212 "GET /static/rest_framework/docs/css/jquery.json-view.min.css HTTP/1.1" 200 1307 +INFO 2023-12-18 10:46:23,444 basehttp 212 "GET /static/rest_framework/css/bootstrap-theme.min.css HTTP/1.1" 200 23411 +INFO 2023-12-18 10:46:23,448 basehttp 212 "GET /docs/schema.js HTTP/1.1" 200 7716 +INFO 2023-12-18 10:46:23,467 basehttp 212 "GET /static/rest_framework/docs/css/base.css HTTP/1.1" 200 6156 +INFO 2023-12-18 10:46:23,475 basehttp 212 "GET /static/rest_framework/css/bootstrap.min.css HTTP/1.1" 200 121457 +INFO 2023-12-18 10:46:23,483 basehttp 212 "GET /static/rest_framework/docs/js/jquery.json-view.min.js HTTP/1.1" 200 2700 +INFO 2023-12-18 10:46:23,492 basehttp 212 "GET /static/rest_framework/js/bootstrap.min.js HTTP/1.1" 200 39680 +INFO 2023-12-18 10:46:23,501 basehttp 212 "GET /static/rest_framework/js/coreapi-0.1.1.js HTTP/1.1" 200 157600 +INFO 2023-12-18 10:46:23,502 basehttp 212 "GET /static/rest_framework/docs/js/api.js HTTP/1.1" 200 10391 +INFO 2023-12-18 10:46:23,511 basehttp 212 "GET /static/rest_framework/js/jquery-3.5.1.min.js HTTP/1.1" 200 89476 +INFO 2023-12-18 10:46:23,591 basehttp 212 "GET /static/rest_framework/fonts/fontawesome-webfont.woff?v=4.0.3 HTTP/1.1" 200 44432 +INFO 2023-12-18 10:46:23,718 basehttp 212 "GET /static/rest_framework/docs/img/favicon.ico HTTP/1.1" 200 5430 +ERROR 2023-12-18 10:47:27,012 log 241 Internal Server Error: /update/cinema/ +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 29, in _decorator + return method(self, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 81, in set + return self.client.set(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 185, in set + raise ConnectionInterrupted(connection=client) from e +django_redis.exceptions.ConnectionInterrupted: Redis ResponseError: value is not an integer or out of range + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\views\decorators\csrf.py", line 56, in wrapper_view + return view_func(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\viewsets.py", line 125, in view + return self.dispatch(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 509, in dispatch + response = self.handle_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 469, in handle_exception + self.raise_uncaught_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 480, in raise_uncaught_exception + raise exc + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 506, in dispatch + response = handler(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 54, in inner + return this.process_cache_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 98, in process_cache_response + self.cache.set(key, response_triple, timeout) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 36, in _decorator + raise e.__cause__ + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 175, in set + return bool(client.set(nkey, nvalue, nx=nx, px=timeout, xx=xx)) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\commands\core.py", line 2341, in set + return self.execute_command("SET", *pieces, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 536, in execute_command + return conn.retry.call_with_retry( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\retry.py", line 46, in call_with_retry + return do() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 537, in + lambda: self._send_command_parse_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 513, in _send_command_parse_response + return self.parse_response(conn, command_name, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 553, in parse_response + response = connection.read_response() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 524, in read_response + raise response +redis.exceptions.ResponseError: value is not an integer or out of range +ERROR 2023-12-18 10:47:27,018 basehttp 212 "GET /update/cinema/ HTTP/1.1" 500 188558 +INFO 2023-12-18 10:47:45,727 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-18 10:47:46,415 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 10:47:48,750 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-18 10:52:59,690 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-18 10:53:00,573 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 10:53:24,118 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-18 10:53:24,827 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 10:54:09,574 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-18 10:54:10,263 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 10:55:36,165 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-18 10:55:37,420 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 11:02:18,243 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-18 11:02:18,991 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 11:07:14,250 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-18 11:07:14,953 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 11:37:20,465 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-18 11:37:21,361 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 11:39:19,864 basehttp 212 "OPTIONS /update/cinema/search?ip=&version= HTTP/1.1" 200 0 +INFO 2023-12-18 11:39:19,876 basehttp 212 "OPTIONS /update/cinema/search/?ip=&version= HTTP/1.1" 200 0 +INFO 2023-12-18 11:39:19,999 basehttp 212 "GET /update/cinema/search/?ip=&version= HTTP/1.1" 200 464 +INFO 2023-12-18 11:39:20,722 basehttp 212 "OPTIONS /update/cinema/ HTTP/1.1" 200 0 +INFO 2023-12-18 11:39:20,795 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-18 11:39:42,907 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-18 11:39:43,685 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-18 11:39:45,792 log 241 Internal Server Error: /update/cinema/ +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 29, in _decorator + return method(self, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 81, in set + return self.client.set(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 185, in set + raise ConnectionInterrupted(connection=client) from e +django_redis.exceptions.ConnectionInterrupted: Redis ResponseError: value is not an integer or out of range + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\views\decorators\csrf.py", line 56, in wrapper_view + return view_func(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\viewsets.py", line 125, in view + return self.dispatch(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 509, in dispatch + response = self.handle_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 469, in handle_exception + self.raise_uncaught_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 480, in raise_uncaught_exception + raise exc + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 506, in dispatch + response = handler(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 54, in inner + return this.process_cache_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 98, in process_cache_response + self.cache.set(key, response_triple, timeout) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 36, in _decorator + raise e.__cause__ + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 175, in set + return bool(client.set(nkey, nvalue, nx=nx, px=timeout, xx=xx)) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\commands\core.py", line 2341, in set + return self.execute_command("SET", *pieces, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 536, in execute_command + return conn.retry.call_with_retry( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\retry.py", line 46, in call_with_retry + return do() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 537, in + lambda: self._send_command_parse_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 513, in _send_command_parse_response + return self.parse_response(conn, command_name, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 553, in parse_response + response = connection.read_response() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 524, in read_response + raise response +redis.exceptions.ResponseError: value is not an integer or out of range +ERROR 2023-12-18 11:39:45,800 basehttp 212 "GET /update/cinema/ HTTP/1.1" 500 188724 +INFO 2023-12-18 11:48:23,589 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\dingxin_toolbox_drf\settings.py changed, reloading. +INFO 2023-12-18 11:48:24,303 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 11:48:29,764 basehttp 212 "GET /update/cinema/search/?ip=&version= HTTP/1.1" 200 464 +ERROR 2023-12-18 11:48:32,088 log 241 Internal Server Error: /update/cinema/ +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 29, in _decorator + return method(self, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 81, in set + return self.client.set(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 185, in set + raise ConnectionInterrupted(connection=client) from e +django_redis.exceptions.ConnectionInterrupted: Redis ResponseError: value is not an integer or out of range + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\views\decorators\csrf.py", line 56, in wrapper_view + return view_func(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\viewsets.py", line 125, in view + return self.dispatch(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 509, in dispatch + response = self.handle_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 469, in handle_exception + self.raise_uncaught_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 480, in raise_uncaught_exception + raise exc + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 506, in dispatch + response = handler(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 54, in inner + return this.process_cache_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 98, in process_cache_response + self.cache.set(key, response_triple, timeout) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 36, in _decorator + raise e.__cause__ + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 175, in set + return bool(client.set(nkey, nvalue, nx=nx, px=timeout, xx=xx)) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\commands\core.py", line 2341, in set + return self.execute_command("SET", *pieces, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 536, in execute_command + return conn.retry.call_with_retry( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\retry.py", line 46, in call_with_retry + return do() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 537, in + lambda: self._send_command_parse_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 513, in _send_command_parse_response + return self.parse_response(conn, command_name, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 553, in parse_response + response = connection.read_response() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 524, in read_response + raise response +redis.exceptions.ResponseError: value is not an integer or out of range +ERROR 2023-12-18 11:48:32,094 basehttp 212 "GET /update/cinema/ HTTP/1.1" 500 188722 +INFO 2023-12-18 11:54:29,778 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\dingxin_toolbox_drf\settings.py changed, reloading. +INFO 2023-12-18 11:54:30,479 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-18 11:54:48,068 log 241 Internal Server Error: /update/cinema/ +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 29, in _decorator + return method(self, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 99, in _get + return self.client.get(key, default=default, version=version, client=client) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 260, in get + raise ConnectionInterrupted(connection=client) from e +django_redis.exceptions.ConnectionInterrupted: Redis AuthenticationError: Authentication required. + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\views\decorators\csrf.py", line 56, in wrapper_view + return view_func(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\viewsets.py", line 125, in view + return self.dispatch(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 509, in dispatch + response = self.handle_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 469, in handle_exception + self.raise_uncaught_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 480, in raise_uncaught_exception + raise exc + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 506, in dispatch + response = handler(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 54, in inner + return this.process_cache_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 80, in process_cache_response + response_triple = self.cache.get(key) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 92, in get + value = self._get(key, default, version, client) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 36, in _decorator + raise e.__cause__ + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 258, in get + value = client.get(key) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\commands\core.py", line 1829, in get + return self.execute_command("GET", name) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 536, in execute_command + return conn.retry.call_with_retry( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\retry.py", line 49, in call_with_retry + fail(error) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 540, in + lambda error: self._disconnect_raise(conn, error), + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 526, in _disconnect_raise + raise error + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\retry.py", line 46, in call_with_retry + return do() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 537, in + lambda: self._send_command_parse_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 513, in _send_command_parse_response + return self.parse_response(conn, command_name, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 553, in parse_response + response = connection.read_response() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 500, in read_response + response = self._parser.read_response(disable_decoding=disable_decoding) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\_parsers\resp2.py", line 15, in read_response + result = self._read_response(disable_decoding=disable_decoding) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\_parsers\resp2.py", line 38, in _read_response + raise error +redis.exceptions.AuthenticationError: Authentication required. +ERROR 2023-12-18 11:54:48,075 basehttp 212 "GET /update/cinema/ HTTP/1.1" 500 177498 +INFO 2023-12-18 12:00:55,867 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\dingxin_toolbox_drf\settings.py changed, reloading. +INFO 2023-12-18 12:00:59,720 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-18 12:01:05,284 log 241 Internal Server Error: /update/cinema/ +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 29, in _decorator + return method(self, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 81, in set + return self.client.set(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 185, in set + raise ConnectionInterrupted(connection=client) from e +django_redis.exceptions.ConnectionInterrupted: Redis ResponseError: value is not an integer or out of range + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\views\decorators\csrf.py", line 56, in wrapper_view + return view_func(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\viewsets.py", line 125, in view + return self.dispatch(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 509, in dispatch + response = self.handle_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 469, in handle_exception + self.raise_uncaught_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 480, in raise_uncaught_exception + raise exc + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 506, in dispatch + response = handler(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 54, in inner + return this.process_cache_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 98, in process_cache_response + self.cache.set(key, response_triple, timeout) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 36, in _decorator + raise e.__cause__ + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 175, in set + return bool(client.set(nkey, nvalue, nx=nx, px=timeout, xx=xx)) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\commands\core.py", line 2341, in set + return self.execute_command("SET", *pieces, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 536, in execute_command + return conn.retry.call_with_retry( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\retry.py", line 46, in call_with_retry + return do() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 537, in + lambda: self._send_command_parse_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 513, in _send_command_parse_response + return self.parse_response(conn, command_name, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 553, in parse_response + response = connection.read_response() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 524, in read_response + raise response +redis.exceptions.ResponseError: value is not an integer or out of range +ERROR 2023-12-18 12:01:05,291 basehttp 212 "GET /update/cinema/ HTTP/1.1" 500 188908 +INFO 2023-12-18 12:01:08,163 basehttp 212 "GET /update/cinema/search/?ip=&version= HTTP/1.1" 200 464 +INFO 2023-12-18 12:25:07,948 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\venv\Lib\site-packages\django_redis\serializers\__init__.py changed, reloading. +INFO 2023-12-18 12:25:09,580 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 12:26:02,799 basehttp 212 "GET /update/cinema/search/?ip=&version= HTTP/1.1" 200 464 +ERROR 2023-12-18 12:26:03,848 log 241 Internal Server Error: /update/cinema/ +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 27, in _decorator + return method(self, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 76, in set + return self.client.set(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 166, in set + raise ConnectionInterrupted(connection=client) from e +django_redis.exceptions.ConnectionInterrupted: Redis ResponseError: value is not an integer or out of range + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\views\decorators\csrf.py", line 56, in wrapper_view + return view_func(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\viewsets.py", line 125, in view + return self.dispatch(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 509, in dispatch + response = self.handle_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 469, in handle_exception + self.raise_uncaught_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 480, in raise_uncaught_exception + raise exc + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 506, in dispatch + response = handler(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 54, in inner + return this.process_cache_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 98, in process_cache_response + self.cache.set(key, response_triple, timeout) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 34, in _decorator + raise e.__cause__ + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 156, in set + return bool(client.set(nkey, nvalue, nx=nx, px=timeout, xx=xx)) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\commands\core.py", line 2341, in set + return self.execute_command("SET", *pieces, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 536, in execute_command + return conn.retry.call_with_retry( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\retry.py", line 46, in call_with_retry + return do() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 537, in + lambda: self._send_command_parse_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 513, in _send_command_parse_response + return self.parse_response(conn, command_name, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 553, in parse_response + response = connection.read_response() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 524, in read_response + raise response +redis.exceptions.ResponseError: value is not an integer or out of range +ERROR 2023-12-18 12:26:03,858 basehttp 212 "GET /update/cinema/ HTTP/1.1" 500 188970 +INFO 2023-12-18 12:28:46,786 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\dingxin_toolbox_drf\settings.py changed, reloading. +INFO 2023-12-18 12:28:47,478 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-18 12:28:53,115 log 241 Internal Server Error: /update/cinema/ +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 1079, in get_connection + connection = self._available_connections.pop() +IndexError: pop from empty list + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\views\decorators\csrf.py", line 56, in wrapper_view + return view_func(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\viewsets.py", line 125, in view + return self.dispatch(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 509, in dispatch + response = self.handle_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 469, in handle_exception + self.raise_uncaught_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 480, in raise_uncaught_exception + raise exc + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 506, in dispatch + response = handler(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 54, in inner + return this.process_cache_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 80, in process_cache_response + response_triple = self.cache.get(key) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\cache\backends\redis.py", line 187, in get + return self._cache.get(key, default) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\cache\backends\redis.py", line 99, in get + value = client.get(key) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\commands\core.py", line 1829, in get + return self.execute_command("GET", name) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 533, in execute_command + conn = self.connection or pool.get_connection(command_name, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 1081, in get_connection + connection = self.make_connection() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 1121, in make_connection + return self.connection_class(**self.connection_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 581, in __init__ + super().__init__(**kwargs) +TypeError: AbstractConnection.__init__() got an unexpected keyword argument 'CLIENT_CLASS' +ERROR 2023-12-18 12:28:53,121 basehttp 212 "GET /update/cinema/ HTTP/1.1" 500 134617 +INFO 2023-12-18 12:29:12,295 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\dingxin_toolbox_drf\settings.py changed, reloading. +INFO 2023-12-18 12:29:13,018 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 12:29:39,832 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\dingxin_toolbox_drf\settings.py changed, reloading. +INFO 2023-12-18 12:29:40,559 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-18 12:29:41,721 log 241 Internal Server Error: /update/cinema/ +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\views\decorators\csrf.py", line 56, in wrapper_view + return view_func(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\viewsets.py", line 125, in view + return self.dispatch(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 509, in dispatch + response = self.handle_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 469, in handle_exception + self.raise_uncaught_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 480, in raise_uncaught_exception + raise exc + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 506, in dispatch + response = handler(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 54, in inner + return this.process_cache_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 80, in process_cache_response + response_triple = self.cache.get(key) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\cache\backends\redis.py", line 187, in get + return self._cache.get(key, default) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\cache\backends\redis.py", line 99, in get + value = client.get(key) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\commands\core.py", line 1829, in get + return self.execute_command("GET", name) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 533, in execute_command + conn = self.connection or pool.get_connection(command_name, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 1086, in get_connection + connection.connect() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 276, in connect + self.on_connect() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 342, in on_connect + auth_response = self.read_response() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 500, in read_response + response = self._parser.read_response(disable_decoding=disable_decoding) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\_parsers\resp2.py", line 15, in read_response + result = self._read_response(disable_decoding=disable_decoding) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\_parsers\resp2.py", line 38, in _read_response + raise error +redis.exceptions.AuthenticationError: invalid username-password pair or user is disabled. +ERROR 2023-12-18 12:29:41,726 basehttp 212 "GET /update/cinema/ HTTP/1.1" 500 142719 +INFO 2023-12-18 12:30:08,444 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\dingxin_toolbox_drf\settings.py changed, reloading. +INFO 2023-12-18 12:30:09,251 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-18 12:30:13,761 log 241 Internal Server Error: /update/cinema/ +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\views\decorators\csrf.py", line 56, in wrapper_view + return view_func(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\viewsets.py", line 125, in view + return self.dispatch(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 509, in dispatch + response = self.handle_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 469, in handle_exception + self.raise_uncaught_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 480, in raise_uncaught_exception + raise exc + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 506, in dispatch + response = handler(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 54, in inner + return this.process_cache_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 80, in process_cache_response + response_triple = self.cache.get(key) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\cache\backends\redis.py", line 187, in get + return self._cache.get(key, default) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\cache\backends\redis.py", line 99, in get + value = client.get(key) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\commands\core.py", line 1829, in get + return self.execute_command("GET", name) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 533, in execute_command + conn = self.connection or pool.get_connection(command_name, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 1086, in get_connection + connection.connect() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 276, in connect + self.on_connect() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 342, in on_connect + auth_response = self.read_response() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 500, in read_response + response = self._parser.read_response(disable_decoding=disable_decoding) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\_parsers\resp2.py", line 15, in read_response + result = self._read_response(disable_decoding=disable_decoding) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\_parsers\resp2.py", line 38, in _read_response + raise error +redis.exceptions.AuthenticationError: invalid username-password pair or user is disabled. +ERROR 2023-12-18 12:30:13,766 basehttp 212 "GET /update/cinema/ HTTP/1.1" 500 142721 +INFO 2023-12-18 12:30:23,405 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\dingxin_toolbox_drf\settings.py changed, reloading. +INFO 2023-12-18 12:30:24,163 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-18 12:30:39,634 log 241 Internal Server Error: /update/cinema/ +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\views\decorators\csrf.py", line 56, in wrapper_view + return view_func(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\viewsets.py", line 125, in view + return self.dispatch(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 509, in dispatch + response = self.handle_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 469, in handle_exception + self.raise_uncaught_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 480, in raise_uncaught_exception + raise exc + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 506, in dispatch + response = handler(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 54, in inner + return this.process_cache_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 80, in process_cache_response + response_triple = self.cache.get(key) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\cache\backends\redis.py", line 187, in get + return self._cache.get(key, default) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\cache\backends\redis.py", line 99, in get + value = client.get(key) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\commands\core.py", line 1829, in get + return self.execute_command("GET", name) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 533, in execute_command + conn = self.connection or pool.get_connection(command_name, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 1086, in get_connection + connection.connect() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 276, in connect + self.on_connect() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 342, in on_connect + auth_response = self.read_response() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 500, in read_response + response = self._parser.read_response(disable_decoding=disable_decoding) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\_parsers\resp2.py", line 15, in read_response + result = self._read_response(disable_decoding=disable_decoding) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\_parsers\resp2.py", line 38, in _read_response + raise error +redis.exceptions.AuthenticationError: invalid username-password pair or user is disabled. +ERROR 2023-12-18 12:30:39,639 basehttp 212 "GET /update/cinema/ HTTP/1.1" 500 142719 +INFO 2023-12-18 13:21:00,268 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\dingxin_toolbox_drf\settings.py changed, reloading. +INFO 2023-12-18 13:21:01,056 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 13:21:05,954 basehttp 212 "GET /update/cinema/search/?ip=&version= HTTP/1.1" 200 464 +INFO 2023-12-18 13:21:06,442 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +ERROR 2023-12-18 13:21:32,030 log 241 Internal Server Error: /update/cinema/ +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\views\decorators\csrf.py", line 56, in wrapper_view + return view_func(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\viewsets.py", line 125, in view + return self.dispatch(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 509, in dispatch + response = self.handle_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 469, in handle_exception + self.raise_uncaught_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 480, in raise_uncaught_exception + raise exc + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 506, in dispatch + response = handler(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 54, in inner + return this.process_cache_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 78, in process_cache_response + timeout = self.calculate_timeout(view_instance=view_instance) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 130, in calculate_timeout + self.timeout = getattr(view_instance, self.timeout) +AttributeError: 'CinemaViewSet' object has no attribute '10' +ERROR 2023-12-18 13:21:32,032 basehttp 212 "GET /update/cinema/ HTTP/1.1" 500 103300 +ERROR 2023-12-18 13:21:33,468 log 241 Internal Server Error: /update/cinema/ +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\views\decorators\csrf.py", line 56, in wrapper_view + return view_func(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\viewsets.py", line 125, in view + return self.dispatch(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 509, in dispatch + response = self.handle_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 469, in handle_exception + self.raise_uncaught_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 480, in raise_uncaught_exception + raise exc + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 506, in dispatch + response = handler(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 54, in inner + return this.process_cache_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 78, in process_cache_response + timeout = self.calculate_timeout(view_instance=view_instance) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 130, in calculate_timeout + self.timeout = getattr(view_instance, self.timeout) +AttributeError: 'CinemaViewSet' object has no attribute '10' +ERROR 2023-12-18 13:21:33,470 basehttp 212 "GET /update/cinema/ HTTP/1.1" 500 103300 +INFO 2023-12-18 13:42:55,403 basehttp 212 "OPTIONS /update/cinema/ HTTP/1.1" 200 0 +ERROR 2023-12-18 13:42:55,511 log 241 Internal Server Error: /update/cinema/ +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\views\decorators\csrf.py", line 56, in wrapper_view + return view_func(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\viewsets.py", line 125, in view + return self.dispatch(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 509, in dispatch + response = self.handle_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 469, in handle_exception + self.raise_uncaught_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 480, in raise_uncaught_exception + raise exc + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 506, in dispatch + response = handler(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 54, in inner + return this.process_cache_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 78, in process_cache_response + timeout = self.calculate_timeout(view_instance=view_instance) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 130, in calculate_timeout + self.timeout = getattr(view_instance, self.timeout) +AttributeError: 'CinemaViewSet' object has no attribute '10' +ERROR 2023-12-18 13:42:55,513 basehttp 212 "GET /update/cinema/ HTTP/1.1" 500 103300 +INFO 2023-12-18 15:39:08,522 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\dingxin_toolbox_drf\settings.py changed, reloading. +INFO 2023-12-18 15:39:09,555 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 15:40:37,516 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\dingxin_toolbox_drf\settings.py changed, reloading. +INFO 2023-12-18 15:40:38,235 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 15:40:59,901 basehttp 212 "OPTIONS /update/cinema/search?ip=&version= HTTP/1.1" 200 0 +INFO 2023-12-18 15:40:59,917 basehttp 212 "OPTIONS /update/cinema/search/?ip=&version= HTTP/1.1" 200 0 +ERROR 2023-12-18 15:41:00,288 log 241 Internal Server Error: /update/cinema/search/ +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 27, in _decorator + return method(self, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 94, in _get + return self.client.get(key, default=default, version=version, client=client) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 222, in get + raise ConnectionInterrupted(connection=client) from e +django_redis.exceptions.ConnectionInterrupted: Redis AuthenticationError: Client sent AUTH, but no password is set + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\views\decorators\csrf.py", line 56, in wrapper_view + return view_func(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\views\generic\base.py", line 104, in view + return self.dispatch(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 509, in dispatch + response = self.handle_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 469, in handle_exception + self.raise_uncaught_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 480, in raise_uncaught_exception + raise exc + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 506, in dispatch + response = handler(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\utils\decorators.py", line 46, in _wrapper + return bound_method(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\utils\decorators.py", line 126, in _wrapper_view + result = middleware.process_request(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\middleware\cache.py", line 158, in process_request + cache_key = get_cache_key(request, self.key_prefix, "GET", cache=self.cache) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\utils\cache.py", line 391, in get_cache_key + headerlist = cache.get(cache_key) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 87, in get + value = self._get(key, default, version, client) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 34, in _decorator + raise e.__cause__ + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 220, in get + value = client.get(key) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\commands\core.py", line 1829, in get + return self.execute_command("GET", name) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 533, in execute_command + conn = self.connection or pool.get_connection(command_name, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 1086, in get_connection + connection.connect() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 276, in connect + self.on_connect() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 342, in on_connect + auth_response = self.read_response() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 500, in read_response + response = self._parser.read_response(disable_decoding=disable_decoding) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\_parsers\resp2.py", line 15, in read_response + result = self._read_response(disable_decoding=disable_decoding) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\_parsers\resp2.py", line 38, in _read_response + raise error +redis.exceptions.AuthenticationError: Client sent AUTH, but no password is set +ERROR 2023-12-18 15:41:00,294 basehttp 212 "GET /update/cinema/search/?ip=&version= HTTP/1.1" 500 169763 +ERROR 2023-12-18 15:41:15,744 log 241 Internal Server Error: /update/cinema/search/ +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 27, in _decorator + return method(self, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 94, in _get + return self.client.get(key, default=default, version=version, client=client) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 222, in get + raise ConnectionInterrupted(connection=client) from e +django_redis.exceptions.ConnectionInterrupted: Redis AuthenticationError: Client sent AUTH, but no password is set + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\views\decorators\csrf.py", line 56, in wrapper_view + return view_func(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\views\generic\base.py", line 104, in view + return self.dispatch(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 509, in dispatch + response = self.handle_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 469, in handle_exception + self.raise_uncaught_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 480, in raise_uncaught_exception + raise exc + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 506, in dispatch + response = handler(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\utils\decorators.py", line 46, in _wrapper + return bound_method(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\utils\decorators.py", line 126, in _wrapper_view + result = middleware.process_request(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\middleware\cache.py", line 158, in process_request + cache_key = get_cache_key(request, self.key_prefix, "GET", cache=self.cache) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\utils\cache.py", line 391, in get_cache_key + headerlist = cache.get(cache_key) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 87, in get + value = self._get(key, default, version, client) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 34, in _decorator + raise e.__cause__ + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 220, in get + value = client.get(key) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\commands\core.py", line 1829, in get + return self.execute_command("GET", name) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 533, in execute_command + conn = self.connection or pool.get_connection(command_name, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 1086, in get_connection + connection.connect() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 276, in connect + self.on_connect() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 342, in on_connect + auth_response = self.read_response() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 500, in read_response + response = self._parser.read_response(disable_decoding=disable_decoding) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\_parsers\resp2.py", line 15, in read_response + result = self._read_response(disable_decoding=disable_decoding) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\_parsers\resp2.py", line 38, in _read_response + raise error +redis.exceptions.AuthenticationError: Client sent AUTH, but no password is set +ERROR 2023-12-18 15:41:15,747 basehttp 212 "GET /update/cinema/search/?ip=&version= HTTP/1.1" 500 169763 +INFO 2023-12-18 15:41:16,127 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\dingxin_toolbox_drf\settings.py changed, reloading. +INFO 2023-12-18 15:41:16,887 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 15:41:19,707 basehttp 212 "GET /update/cinema/search/?ip=&version= HTTP/1.1" 200 464 +ERROR 2023-12-18 15:41:22,452 log 241 Internal Server Error: /update/cinema/ +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 27, in _decorator + return method(self, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 76, in set + return self.client.set(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 166, in set + raise ConnectionInterrupted(connection=client) from e +django_redis.exceptions.ConnectionInterrupted: Redis ResponseError: value is not an integer or out of range + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\views\decorators\csrf.py", line 56, in wrapper_view + return view_func(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\viewsets.py", line 125, in view + return self.dispatch(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 509, in dispatch + response = self.handle_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 469, in handle_exception + self.raise_uncaught_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 480, in raise_uncaught_exception + raise exc + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 506, in dispatch + response = handler(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 54, in inner + return this.process_cache_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 98, in process_cache_response + self.cache.set(key, response_triple, timeout) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 34, in _decorator + raise e.__cause__ + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 156, in set + return bool(client.set(nkey, nvalue, nx=nx, px=timeout, xx=xx)) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\commands\core.py", line 2341, in set + return self.execute_command("SET", *pieces, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 536, in execute_command + return conn.retry.call_with_retry( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\retry.py", line 46, in call_with_retry + return do() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 537, in + lambda: self._send_command_parse_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 513, in _send_command_parse_response + return self.parse_response(conn, command_name, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 553, in parse_response + response = connection.read_response() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 524, in read_response + raise response +redis.exceptions.ResponseError: value is not an integer or out of range +ERROR 2023-12-18 15:41:22,457 basehttp 212 "GET /update/cinema/ HTTP/1.1" 500 188732 +INFO 2023-12-18 16:06:20,167 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\dingxin_toolbox_drf\settings.py changed, reloading. +INFO 2023-12-18 16:06:20,901 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 16:06:25,932 basehttp 212 "GET /update/cinema/search/?ip=&version= HTTP/1.1" 200 464 +INFO 2023-12-18 16:06:28,131 basehttp 212 "OPTIONS /update/cinema/ HTTP/1.1" 200 0 +ERROR 2023-12-18 16:06:28,257 log 241 Internal Server Error: /update/cinema/ +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 27, in _decorator + return method(self, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 76, in set + return self.client.set(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 166, in set + raise ConnectionInterrupted(connection=client) from e +django_redis.exceptions.ConnectionInterrupted: Redis ResponseError: value is not an integer or out of range + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\views\decorators\csrf.py", line 56, in wrapper_view + return view_func(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\viewsets.py", line 125, in view + return self.dispatch(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 509, in dispatch + response = self.handle_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 469, in handle_exception + self.raise_uncaught_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 480, in raise_uncaught_exception + raise exc + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 506, in dispatch + response = handler(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 54, in inner + return this.process_cache_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 98, in process_cache_response + self.cache.set(key, response_triple, timeout) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 34, in _decorator + raise e.__cause__ + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 156, in set + return bool(client.set(nkey, nvalue, nx=nx, px=timeout, xx=xx)) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\commands\core.py", line 2341, in set + return self.execute_command("SET", *pieces, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 536, in execute_command + return conn.retry.call_with_retry( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\retry.py", line 46, in call_with_retry + return do() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 537, in + lambda: self._send_command_parse_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 513, in _send_command_parse_response + return self.parse_response(conn, command_name, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 553, in parse_response + response = connection.read_response() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 524, in read_response + raise response +redis.exceptions.ResponseError: value is not an integer or out of range +ERROR 2023-12-18 16:06:28,264 basehttp 212 "GET /update/cinema/ HTTP/1.1" 500 188777 +INFO 2023-12-18 16:39:09,089 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-18 16:39:11,909 basehttp 212 "GET /update/cinema/search/?ip=&version= HTTP/1.1" 200 464 +INFO 2023-12-18 16:39:13,904 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 08:13:31,793 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 08:14:02,676 basehttp 212 "OPTIONS /update/cinema/ HTTP/1.1" 200 0 +ERROR 2023-12-19 08:14:05,248 log 241 Internal Server Error: /update/cinema/ +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 27, in _decorator + return method(self, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 94, in _get + return self.client.get(key, default=default, version=version, client=client) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 222, in get + raise ConnectionInterrupted(connection=client) from e +django_redis.exceptions.ConnectionInterrupted: Redis ConnectionError: Error 10061 connecting to 127.0.0.1:6379. Ŀܾ޷ӡ. + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\views\decorators\csrf.py", line 56, in wrapper_view + return view_func(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\viewsets.py", line 125, in view + return self.dispatch(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 509, in dispatch + response = self.handle_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 469, in handle_exception + self.raise_uncaught_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 480, in raise_uncaught_exception + raise exc + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 506, in dispatch + response = handler(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 54, in inner + return this.process_cache_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 80, in process_cache_response + response_triple = self.cache.get(key) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 87, in get + value = self._get(key, default, version, client) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 34, in _decorator + raise e.__cause__ + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 220, in get + value = client.get(key) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\commands\core.py", line 1829, in get + return self.execute_command("GET", name) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 533, in execute_command + conn = self.connection or pool.get_connection(command_name, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 1086, in get_connection + connection.connect() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 270, in connect + raise ConnectionError(self._error_message(e)) +redis.exceptions.ConnectionError: Error 10061 connecting to 127.0.0.1:6379. Ŀܾ޷ӡ. +ERROR 2023-12-19 08:14:05,256 basehttp 212 "GET /update/cinema/ HTTP/1.1" 500 143201 +INFO 2023-12-19 08:15:01,948 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 08:17:01,796 basehttp 212 "GET /update/cinema HTTP/1.1" 301 0 +INFO 2023-12-19 08:17:01,885 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 08:17:09,824 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 08:17:30,677 basehttp 212 "GET /update/cinema/?search=ZZ HTTP/1.1" 200 234 +INFO 2023-12-19 08:18:09,498 basehttp 212 "GET /update/cinema/?search=ZZ&ip=172.16.3.111 HTTP/1.1" 200 234 +INFO 2023-12-19 08:18:21,948 basehttp 212 "GET /update/cinema/?ip=172.16.3.111 HTTP/1.1" 200 464 +INFO 2023-12-19 08:18:29,891 basehttp 212 "GET /update/cinema/?ip=172.16.3.112 HTTP/1.1" 200 464 +INFO 2023-12-19 08:18:33,985 basehttp 212 "GET /update/cinema/?search=ZZ&ip=172.16.3.112 HTTP/1.1" 200 234 +INFO 2023-12-19 08:19:01,547 basehttp 212 "GET /update/cinema/?search=ZZ&ip=172.16.3.112 HTTP/1.1" 200 234 +INFO 2023-12-19 08:20:47,487 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\dingxin_toolbox_drf\settings.py changed, reloading. +INFO 2023-12-19 08:20:49,298 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 08:20:53,522 basehttp 212 "GET /update/cinema/?search=ZZ&ip=172.16.3.112 HTTP/1.1" 200 234 +INFO 2023-12-19 08:21:22,888 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 08:21:37,698 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 08:21:55,666 basehttp 212 "GET /update/cinema/?search=zz&ip=172 HTTP/1.1" 200 234 +INFO 2023-12-19 08:22:02,465 basehttp 212 "GET /update/cinema/?ip=172 HTTP/1.1" 200 464 +INFO 2023-12-19 08:22:38,133 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-19 08:22:40,134 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 08:22:50,997 basehttp 212 "GET /update/cinema/?ip=172&sys_ver=zz HTTP/1.1" 200 464 +INFO 2023-12-19 08:23:04,648 basehttp 212 "GET /update/cinema/?ip=172.16.3.112&sys_ver=zz HTTP/1.1" 200 464 +INFO 2023-12-19 08:23:13,905 basehttp 212 "GET /update/cinema/?ip=172.16.3.112&sys_ver=ZZ HTTP/1.1" 200 464 +INFO 2023-12-19 08:24:35,474 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\dingxin_toolbox_drf\settings.py changed, reloading. +INFO 2023-12-19 08:24:37,063 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 08:24:44,561 basehttp 212 "GET /update/cinema/?ip=172.16.3.112&sys_ver=ZZ HTTP/1.1" 200 464 +INFO 2023-12-19 08:24:51,354 basehttp 212 "GET /update/cinema/?search=zz&ip=172.16.3.112 HTTP/1.1" 200 464 +INFO 2023-12-19 08:24:58,631 basehttp 212 "GET /update/cinema/?search=zz HTTP/1.1" 200 464 +INFO 2023-12-19 08:25:09,927 basehttp 212 "GET /update/cinema/?search=ZZ HTTP/1.1" 200 464 +INFO 2023-12-19 08:25:33,858 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-19 08:25:36,181 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 08:25:44,629 basehttp 212 "GET /update/cinema/?search=ZZ HTTP/1.1" 200 234 +INFO 2023-12-19 08:25:52,029 basehttp 212 "GET /update/cinema/?search=ZZ&ip=172.16.3.112 HTTP/1.1" 200 234 +INFO 2023-12-19 08:25:57,909 basehttp 212 "GET /update/cinema/?search=ZZ&ip=172.16.3.112 HTTP/1.1" 200 234 +INFO 2023-12-19 08:26:04,308 basehttp 212 "GET /update/cinema/?ip=172.16.3.112 HTTP/1.1" 200 464 +INFO 2023-12-19 08:29:50,706 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-19 08:29:52,362 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 08:30:34,674 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-19 08:30:36,270 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 08:30:43,342 basehttp 212 "GET /update/cinema/?ip=172.16.3.112&sys_ver=ZZ HTTP/1.1" 200 2 +INFO 2023-12-19 08:30:49,864 basehttp 212 "GET /update/cinema/?ip=172.16.3.111&sys_ver=ZZ HTTP/1.1" 200 2 +INFO 2023-12-19 08:31:11,692 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-19 08:31:13,562 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 08:31:17,294 basehttp 212 "GET /update/cinema/?search=ZZ&ip=172.16.3.111 HTTP/1.1" 200 234 +INFO 2023-12-19 08:31:26,023 basehttp 212 "GET /update/cinema/?search=ZZ&ip=172.16.3.112 HTTP/1.1" 200 2 +INFO 2023-12-19 08:32:19,513 basehttp 212 "GET /update/cinema/?search=ZZ HTTP/1.1" 200 234 +INFO 2023-12-19 08:32:26,608 basehttp 212 "GET /update/cinema/?ip=172.16.3.112 HTTP/1.1" 200 231 +INFO 2023-12-19 08:32:42,085 basehttp 212 "GET /update/cinema/?search=ZZ HTTP/1.1" 200 234 +INFO 2023-12-19 08:33:39,054 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 08:33:45,294 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 08:34:49,379 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 08:35:01,477 basehttp 212 "OPTIONS /update/cinema/?search=&ip=172.16.3.112 HTTP/1.1" 200 0 +INFO 2023-12-19 08:35:01,572 basehttp 212 "GET /update/cinema/?search=&ip=172.16.3.112 HTTP/1.1" 200 231 +INFO 2023-12-19 08:35:18,924 basehttp 212 "OPTIONS /update/cinema/?search=zz&ip=172.16.3.112 HTTP/1.1" 200 0 +INFO 2023-12-19 08:35:19,003 basehttp 212 "GET /update/cinema/?search=zz&ip=172.16.3.112 HTTP/1.1" 200 2 +INFO 2023-12-19 08:35:26,294 basehttp 212 "OPTIONS /update/cinema/?search=zz&ip= HTTP/1.1" 200 0 +INFO 2023-12-19 08:35:26,376 basehttp 212 "GET /update/cinema/?search=zz&ip= HTTP/1.1" 200 234 +INFO 2023-12-19 08:35:36,028 basehttp 212 "OPTIONS /update/cinema/?search=&ip= HTTP/1.1" 200 0 +INFO 2023-12-19 08:35:36,096 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 08:36:17,761 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-19 08:36:19,600 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 08:37:02,227 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\urls.py changed, reloading. +INFO 2023-12-19 08:37:03,839 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 08:37:13,700 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 08:37:20,437 basehttp 212 "GET /update/cinema/?search=zz&ip= HTTP/1.1" 200 234 +INFO 2023-12-19 08:37:21,783 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 08:37:22,617 basehttp 212 "GET /update/cinema/?search=zz&ip= HTTP/1.1" 200 234 +INFO 2023-12-19 08:37:26,314 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 08:37:40,429 basehttp 212 "GET /update/cinema/?search=&ip=172.16.3.112 HTTP/1.1" 200 231 +INFO 2023-12-19 08:37:50,651 basehttp 212 "OPTIONS /update/cinema/?search=&ip=172.16.3.111 HTTP/1.1" 200 0 +INFO 2023-12-19 08:37:50,741 basehttp 212 "GET /update/cinema/?search=&ip=172.16.3.111 HTTP/1.1" 200 234 +INFO 2023-12-19 08:39:29,154 basehttp 212 "GET /update/cinema/?search=&ip=172.16.3.111 HTTP/1.1" 200 234 +INFO 2023-12-19 08:39:41,879 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 09:09:29,400 basehttp 212 "GET /update/cinema/?search=&ip=172.16.3.111 HTTP/1.1" 200 234 +INFO 2023-12-19 09:09:30,791 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 09:35:35,923 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\dingxin_toolbox_drf\settings.py changed, reloading. +INFO 2023-12-19 09:35:37,023 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 09:36:07,185 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\dingxin_toolbox_drf\settings.py changed, reloading. +INFO 2023-12-19 09:36:08,275 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 09:36:11,206 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 10:22:11,791 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-19 10:22:12,933 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 10:22:18,424 basehttp 212 "OPTIONS /update/cinema/ HTTP/1.1" 200 0 +INFO 2023-12-19 10:22:18,562 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 10:22:41,228 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-19 10:22:42,369 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 10:23:50,007 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-19 10:23:50,997 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 10:24:54,012 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-19 10:24:55,003 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 10:25:01,209 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 10:32:43,252 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 10:33:19,844 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 10:44:33,618 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-19 10:44:34,793 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 10:44:44,381 basehttp 212 "OPTIONS /update/cinema/?search=&ip= HTTP/1.1" 200 0 +INFO 2023-12-19 10:44:44,522 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 11:15:07,655 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 11:15:13,426 basehttp 212 "OPTIONS /update/cinema/ HTTP/1.1" 200 0 +INFO 2023-12-19 11:15:13,507 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 11:15:15,528 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 11:56:49,749 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 11:57:21,181 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\utils\get_version.py changed, reloading. +INFO 2023-12-19 11:57:22,132 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 11:58:23,781 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\utils\get_version.py changed, reloading. +INFO 2023-12-19 11:58:24,682 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 12:00:40,364 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\utils\get_version.py changed, reloading. +INFO 2023-12-19 12:00:41,312 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 12:00:52,928 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\utils\get_version.py changed, reloading. +INFO 2023-12-19 12:00:53,861 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 13:23:34,112 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 13:24:11,914 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\utils\get_version.py changed, reloading. +INFO 2023-12-19 13:24:12,879 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 13:29:58,666 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 13:31:26,377 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 13:35:31,146 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 13:35:59,215 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\utils\get_version.py changed, reloading. +INFO 2023-12-19 13:36:00,169 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 13:36:52,902 basehttp 212 "OPTIONS /update/cinema/ HTTP/1.1" 200 0 +ERROR 2023-12-19 13:36:55,388 log 241 Internal Server Error: /update/cinema/ +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 27, in _decorator + return method(self, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 94, in _get + return self.client.get(key, default=default, version=version, client=client) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 222, in get + raise ConnectionInterrupted(connection=client) from e +django_redis.exceptions.ConnectionInterrupted: Redis ConnectionError: Error 10061 connecting to 127.0.0.1:6379. Ŀܾ޷ӡ. + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\views\decorators\csrf.py", line 56, in wrapper_view + return view_func(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\viewsets.py", line 125, in view + return self.dispatch(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 509, in dispatch + response = self.handle_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 469, in handle_exception + self.raise_uncaught_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 480, in raise_uncaught_exception + raise exc + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 506, in dispatch + response = handler(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 54, in inner + return this.process_cache_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 80, in process_cache_response + response_triple = self.cache.get(key) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 87, in get + value = self._get(key, default, version, client) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 34, in _decorator + raise e.__cause__ + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 220, in get + value = client.get(key) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\commands\core.py", line 1829, in get + return self.execute_command("GET", name) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 533, in execute_command + conn = self.connection or pool.get_connection(command_name, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 1086, in get_connection + connection.connect() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 270, in connect + raise ConnectionError(self._error_message(e)) +redis.exceptions.ConnectionError: Error 10061 connecting to 127.0.0.1:6379. Ŀܾ޷ӡ. +ERROR 2023-12-19 13:36:55,395 basehttp 212 "GET /update/cinema/ HTTP/1.1" 500 143523 +ERROR 2023-12-19 13:36:58,679 log 241 Internal Server Error: /update/cinema/ +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 27, in _decorator + return method(self, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 94, in _get + return self.client.get(key, default=default, version=version, client=client) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 222, in get + raise ConnectionInterrupted(connection=client) from e +django_redis.exceptions.ConnectionInterrupted: Redis ConnectionError: Error 10061 connecting to 127.0.0.1:6379. Ŀܾ޷ӡ. + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\views\decorators\csrf.py", line 56, in wrapper_view + return view_func(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\viewsets.py", line 125, in view + return self.dispatch(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 509, in dispatch + response = self.handle_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 469, in handle_exception + self.raise_uncaught_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 480, in raise_uncaught_exception + raise exc + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 506, in dispatch + response = handler(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 54, in inner + return this.process_cache_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 80, in process_cache_response + response_triple = self.cache.get(key) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 87, in get + value = self._get(key, default, version, client) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 34, in _decorator + raise e.__cause__ + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 220, in get + value = client.get(key) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\commands\core.py", line 1829, in get + return self.execute_command("GET", name) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 533, in execute_command + conn = self.connection or pool.get_connection(command_name, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 1086, in get_connection + connection.connect() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 270, in connect + raise ConnectionError(self._error_message(e)) +redis.exceptions.ConnectionError: Error 10061 connecting to 127.0.0.1:6379. Ŀܾ޷ӡ. +ERROR 2023-12-19 13:36:58,682 basehttp 212 "GET /update/cinema/ HTTP/1.1" 500 143523 +ERROR 2023-12-19 13:37:00,869 log 241 Internal Server Error: /update/cinema/ +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 27, in _decorator + return method(self, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 94, in _get + return self.client.get(key, default=default, version=version, client=client) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 222, in get + raise ConnectionInterrupted(connection=client) from e +django_redis.exceptions.ConnectionInterrupted: Redis ConnectionError: Error 10061 connecting to 127.0.0.1:6379. Ŀܾ޷ӡ. + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\views\decorators\csrf.py", line 56, in wrapper_view + return view_func(*args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\viewsets.py", line 125, in view + return self.dispatch(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 509, in dispatch + response = self.handle_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 469, in handle_exception + self.raise_uncaught_exception(exc) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 480, in raise_uncaught_exception + raise exc + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework\views.py", line 506, in dispatch + response = handler(request, *args, **kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 54, in inner + return this.process_cache_response( + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\rest_framework_extensions\cache\decorators.py", line 80, in process_cache_response + response_triple = self.cache.get(key) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 87, in get + value = self._get(key, default, version, client) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\cache.py", line 34, in _decorator + raise e.__cause__ + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django_redis\client\default.py", line 220, in get + value = client.get(key) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\commands\core.py", line 1829, in get + return self.execute_command("GET", name) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\client.py", line 533, in execute_command + conn = self.connection or pool.get_connection(command_name, **options) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 1086, in get_connection + connection.connect() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\redis\connection.py", line 270, in connect + raise ConnectionError(self._error_message(e)) +redis.exceptions.ConnectionError: Error 10061 connecting to 127.0.0.1:6379. Ŀܾ޷ӡ. +ERROR 2023-12-19 13:37:00,873 basehttp 212 "GET /update/cinema/ HTTP/1.1" 500 143523 +INFO 2023-12-19 13:41:30,095 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 13:44:15,863 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\utils\get_version.py changed, reloading. +INFO 2023-12-19 13:44:16,808 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 13:45:15,310 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\utils\get_version.py changed, reloading. +INFO 2023-12-19 13:45:16,294 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 13:46:53,679 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\utils\get_version.py changed, reloading. +INFO 2023-12-19 13:46:54,578 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 13:52:26,973 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 15:35:06,097 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 15:41:15,975 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\utils\get_version.py changed, reloading. +INFO 2023-12-19 15:41:17,113 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 15:41:21,806 basehttp 212 "OPTIONS /update/cinema/ HTTP/1.1" 200 0 +INFO 2023-12-19 15:41:21,943 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 15:41:24,768 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 15:41:27,022 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 15:41:29,177 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 15:41:43,972 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 15:42:36,400 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\utils\get_version.py changed, reloading. +INFO 2023-12-19 15:42:37,397 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 15:42:43,751 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 15:42:49,108 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 15:43:51,809 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\utils\get_version.py changed, reloading. +INFO 2023-12-19 15:43:52,862 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 15:44:46,795 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\utils\get_version.py changed, reloading. +INFO 2023-12-19 15:44:47,694 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 15:44:55,093 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 15:46:37,557 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\utils\get_version.py changed, reloading. +INFO 2023-12-19 15:46:38,487 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 15:46:47,248 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 15:48:30,057 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 15:48:39,953 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 15:48:40,914 basehttp 212 "OPTIONS /update/cinema/?search=&ip= HTTP/1.1" 200 0 +INFO 2023-12-19 15:48:40,992 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 15:48:44,560 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 15:53:23,807 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 15:53:47,942 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 15:55:27,865 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 15:55:29,348 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 15:55:30,276 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 15:55:30,914 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 15:55:32,174 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 15:55:43,678 basehttp 212 "OPTIONS /update/cinema/?search=&ip=172.16.3.112 HTTP/1.1" 200 0 +INFO 2023-12-19 15:55:43,777 basehttp 212 "GET /update/cinema/?search=&ip=172.16.3.112 HTTP/1.1" 200 231 +INFO 2023-12-19 15:55:47,133 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 15:55:53,657 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 15:55:54,655 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 15:56:59,785 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 15:57:02,271 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 15:57:03,269 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 15:57:03,955 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 15:57:07,165 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 15:57:08,409 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 15:58:14,896 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 15:58:17,931 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 15:58:18,679 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 15:58:19,477 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 15:58:20,205 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 15:58:21,614 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:00:51,096 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 16:04:42,104 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-19 16:04:43,214 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 16:04:59,059 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-19 16:04:59,959 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 16:05:08,116 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-19 16:05:09,133 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 16:07:33,202 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-19 16:07:34,229 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 16:07:46,365 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:08:03,048 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 16:08:10,862 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 16:08:12,069 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:08:13,009 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:16:29,232 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 16:16:49,228 basehttp 212 "GET /update/cinema/ HTTP/1.1" 200 464 +WARNING 2023-12-19 16:18:43,894 log 241 Not Found: / +WARNING 2023-12-19 16:18:43,894 basehttp 212 "GET / HTTP/1.1" 404 2399 +WARNING 2023-12-19 16:18:44,748 log 241 Not Found: /favicon.ico +WARNING 2023-12-19 16:18:44,748 basehttp 212 "GET /favicon.ico HTTP/1.1" 404 2450 +INFO 2023-12-19 16:18:51,805 basehttp 212 "GET /docs HTTP/1.1" 301 0 +INFO 2023-12-19 16:18:51,969 basehttp 212 "GET /docs/ HTTP/1.1" 200 63565 +INFO 2023-12-19 16:18:52,423 basehttp 212 "GET /static/rest_framework/docs/css/base.css HTTP/1.1" 200 6156 +INFO 2023-12-19 16:18:52,435 basehttp 212 "GET /static/rest_framework/css/bootstrap-theme.min.css HTTP/1.1" 200 23411 +INFO 2023-12-19 16:18:52,439 basehttp 212 "GET /static/rest_framework/docs/css/jquery.json-view.min.css HTTP/1.1" 200 1307 +INFO 2023-12-19 16:18:52,439 basehttp 212 "GET /static/rest_framework/css/bootstrap.min.css HTTP/1.1" 200 121457 +INFO 2023-12-19 16:18:52,439 basehttp 212 "GET /static/rest_framework/css/font-awesome-4.0.3.css HTTP/1.1" 200 21658 +INFO 2023-12-19 16:18:52,456 basehttp 212 "GET /static/rest_framework/js/coreapi-0.1.1.js HTTP/1.1" 200 157600 +INFO 2023-12-19 16:18:52,456 basehttp 212 "GET /docs/schema.js HTTP/1.1" 200 9068 +INFO 2023-12-19 16:18:52,476 basehttp 212 "GET /static/rest_framework/docs/js/jquery.json-view.min.js HTTP/1.1" 200 2700 +INFO 2023-12-19 16:18:52,476 basehttp 212 "GET /static/rest_framework/docs/js/api.js HTTP/1.1" 200 10391 +INFO 2023-12-19 16:18:52,490 basehttp 212 "GET /static/rest_framework/js/bootstrap.min.js HTTP/1.1" 200 39680 +INFO 2023-12-19 16:18:52,520 basehttp 212 "GET /static/rest_framework/js/jquery-3.5.1.min.js HTTP/1.1" 200 89476 +INFO 2023-12-19 16:18:52,559 basehttp 212 "GET /static/rest_framework/fonts/fontawesome-webfont.woff?v=4.0.3 HTTP/1.1" 200 44432 +INFO 2023-12-19 16:18:52,695 basehttp 212 "GET /static/rest_framework/docs/img/favicon.ico HTTP/1.1" 200 5430 +WARNING 2023-12-19 16:19:02,200 log 241 Unauthorized: /update/cinema/refresh/ +WARNING 2023-12-19 16:19:02,201 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 401 43 +INFO 2023-12-19 16:26:49,825 basehttp 212 "OPTIONS /update/cinema/fresh HTTP/1.1" 200 0 +INFO 2023-12-19 16:26:49,837 basehttp 212 "GET /update/cinema/fresh HTTP/1.1" 301 0 +INFO 2023-12-19 16:26:49,842 basehttp 212 "OPTIONS /update/cinema/fresh/ HTTP/1.1" 200 0 +WARNING 2023-12-19 16:26:49,954 log 241 Not Found: /update/cinema/fresh/ +WARNING 2023-12-19 16:26:49,955 basehttp 212 "GET /update/cinema/fresh/ HTTP/1.1" 404 25 +INFO 2023-12-19 16:26:54,643 basehttp 212 "OPTIONS /update/cinema/refresh HTTP/1.1" 200 0 +INFO 2023-12-19 16:26:54,655 basehttp 212 "GET /update/cinema/refresh HTTP/1.1" 301 0 +INFO 2023-12-19 16:26:54,664 basehttp 212 "OPTIONS /update/cinema/refresh/ HTTP/1.1" 200 0 +INFO 2023-12-19 16:26:54,914 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:27:17,390 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\dingxin_toolbox_drf\settings.py changed, reloading. +INFO 2023-12-19 16:27:18,835 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 16:27:23,956 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:27:43,965 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:27:55,049 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:27:56,094 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:27:57,061 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:28:03,103 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 16:28:03,812 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 16:28:04,339 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 16:28:04,832 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 16:28:05,288 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 16:28:05,699 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 16:28:05,939 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 16:28:06,165 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 16:28:06,399 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 16:28:06,931 basehttp 212 "GET /update/cinema/?search=&ip= HTTP/1.1" 200 464 +INFO 2023-12-19 16:28:09,457 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:31:43,865 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:33:22,494 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:35:14,368 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:35:25,755 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:36:05,448 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:37:03,879 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:37:55,636 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:39:03,967 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:39:10,825 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:39:43,606 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:39:45,840 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:39:47,427 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:39:55,884 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:39:57,706 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:40:47,409 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:40:48,756 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:40:57,439 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:41:20,422 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:42:39,519 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:43:06,808 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:43:32,166 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:43:59,980 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:44:52,888 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:45:07,730 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:45:10,420 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:45:10,677 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:46:07,845 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:46:11,612 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:46:14,958 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:46:17,029 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:47:06,913 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:47:10,391 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:48:09,174 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:48:16,658 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:49:29,687 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-19 16:51:19,505 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\dingxin_toolbox_drf\settings.py changed, reloading. +INFO 2023-12-19 16:51:21,002 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-19 16:53:59,122 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 464 +INFO 2023-12-20 11:24:09,125 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-20 11:24:44,584 basehttp 212 "OPTIONS /update/cinema/refresh HTTP/1.1" 200 0 +INFO 2023-12-20 11:24:44,761 basehttp 212 "GET /update/cinema/refresh HTTP/1.1" 301 0 +INFO 2023-12-20 11:24:44,831 basehttp 212 "OPTIONS /update/cinema/refresh/ HTTP/1.1" 200 0 +INFO 2023-12-20 11:24:45,065 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 2801 +INFO 2023-12-20 11:31:24,057 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-20 11:31:25,097 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-20 11:31:30,966 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 3032 +INFO 2023-12-20 11:32:58,388 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-20 11:32:59,323 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-20 11:33:06,027 basehttp 212 "GET /update/cinema/refresh/ HTTP/1.1" 200 3032 +INFO 2023-12-20 11:34:54,872 basehttp 212 "OPTIONS /update/cinema/refresh/?ordering=ip HTTP/1.1" 200 0 +INFO 2023-12-20 11:34:55,164 basehttp 212 "GET /update/cinema/refresh/?ordering=ip HTTP/1.1" 200 3032 +INFO 2023-12-20 11:34:59,550 basehttp 212 "GET /update/cinema/refresh/?ordering=ip HTTP/1.1" 200 3032 +INFO 2023-12-20 11:36:31,874 basehttp 212 "GET /update/cinema/refresh/?ordering=ip HTTP/1.1" 200 3032 +INFO 2023-12-20 11:37:45,867 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-20 11:37:46,850 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-20 11:37:52,583 basehttp 212 "GET /update/cinema/refresh/?ordering=ip HTTP/1.1" 200 3032 +INFO 2023-12-20 11:39:57,661 basehttp 212 "GET /update/cinema/refresh/?ordering=ip HTTP/1.1" 200 3032 +INFO 2023-12-20 11:40:09,488 basehttp 212 "OPTIONS /update/cinema/?search=%09+2.0.33.0338&ip= HTTP/1.1" 200 0 +INFO 2023-12-20 11:40:09,643 basehttp 212 "GET /update/cinema/?search=%09+2.0.33.0338&ip= HTTP/1.1" 200 1170 +INFO 2023-12-20 11:41:01,361 basehttp 212 "GET /update/cinema/refresh/?ordering=ip HTTP/1.1" 200 3032 +INFO 2023-12-20 11:41:08,376 basehttp 212 "OPTIONS /update/cinema/?ordering=ip&search=2.0.33.0338&ip= HTTP/1.1" 200 0 +INFO 2023-12-20 11:41:08,515 basehttp 212 "GET /update/cinema/?ordering=ip&search=2.0.33.0338&ip= HTTP/1.1" 200 1170 +INFO 2023-12-20 11:41:34,714 basehttp 212 "GET /update/cinema/refresh/?ordering=ip HTTP/1.1" 200 3032 +INFO 2023-12-20 11:43:41,018 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\utils\get_version.py changed, reloading. +INFO 2023-12-20 11:43:41,976 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-20 11:43:44,111 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\utils\get_version.py changed, reloading. +INFO 2023-12-20 11:43:45,412 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-20 11:44:14,518 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\utils\get_version.py changed, reloading. +INFO 2023-12-20 11:44:15,443 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-20 11:44:23,572 basehttp 212 "GET /update/cinema/refresh/?ordering=ip HTTP/1.1" 200 3032 +INFO 2023-12-20 11:45:03,182 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\utils\get_version.py changed, reloading. +INFO 2023-12-20 11:45:04,130 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-20 11:45:09,064 basehttp 212 "GET /update/cinema/refresh/?ordering=ip HTTP/1.1" 200 3032 +INFO 2023-12-20 11:45:36,754 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\utils\get_version.py changed, reloading. +INFO 2023-12-20 11:45:37,746 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-20 11:49:14,050 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\utils\get_version.py changed, reloading. +INFO 2023-12-20 11:49:15,590 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-20 11:49:21,108 basehttp 212 "GET /update/cinema/refresh/?ordering=ip HTTP/1.1" 200 3032 +INFO 2023-12-20 11:50:20,718 basehttp 212 "GET /update/cinema/?ordering=ip&search=2.0.33.0338&ip= HTTP/1.1" 200 1170 +INFO 2023-12-20 11:52:42,956 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\utils\get_version.py changed, reloading. +INFO 2023-12-20 11:52:43,855 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-20 11:52:49,371 basehttp 212 "GET /update/cinema/refresh/?ordering=ip HTTP/1.1" 200 3032 +INFO 2023-12-20 11:55:05,324 basehttp 212 "GET /update/cinema/refresh/?ordering=ip HTTP/1.1" 200 3032 +INFO 2023-12-20 11:55:08,021 basehttp 212 "GET /update/cinema/refresh/?ordering=ip HTTP/1.1" 200 3032 +INFO 2023-12-20 11:55:12,330 basehttp 212 "OPTIONS /update/cinema/?ordering=ip&search=%09+2.0.33.0338&ip= HTTP/1.1" 200 0 +INFO 2023-12-20 11:55:12,439 basehttp 212 "GET /update/cinema/?ordering=ip&search=%09+2.0.33.0338&ip= HTTP/1.1" 200 1170 +INFO 2023-12-20 11:55:14,345 basehttp 212 "GET /update/cinema/refresh/?ordering=ip HTTP/1.1" 200 3032 +INFO 2023-12-20 11:55:23,993 basehttp 212 "GET /update/cinema/refresh/?ordering=ip HTTP/1.1" 200 3032 +INFO 2023-12-20 11:56:40,594 basehttp 212 "GET /update/cinema/refresh/?ordering=ip HTTP/1.1" 200 3032 +INFO 2023-12-20 11:56:46,332 basehttp 212 "GET /update/cinema/refresh/?ordering=ip HTTP/1.1" 200 3032 +INFO 2023-12-20 11:57:39,005 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\update\views.py changed, reloading. +INFO 2023-12-20 11:57:39,948 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-20 11:57:46,626 basehttp 212 "GET /update/cinema/refresh/?ordering=ip HTTP/1.1" 200 3032 +INFO 2023-12-20 11:59:15,684 basehttp 212 "GET /update/cinema/refresh/?ordering=ip HTTP/1.1" 200 3032 +INFO 2023-12-20 16:05:41,385 basehttp 212 "OPTIONS /update/cinema/refresh/?ordering=ip HTTP/1.1" 200 0 +INFO 2023-12-20 16:05:41,791 basehttp 212 "GET /update/cinema/refresh/?ordering=ip HTTP/1.1" 200 3032 +INFO 2023-12-20 17:45:30,520 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-20 17:50:55,776 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-20 17:57:29,648 exception 124 Invalid HTTP_HOST header: '172.16.1.63:8000'. You may need to add '172.16.1.63' to ALLOWED_HOSTS. +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\utils\deprecation.py", line 133, in __call__ + response = self.process_request(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\middleware\common.py", line 48, in process_request + host = request.get_host() + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\http\request.py", line 150, in get_host + raise DisallowedHost(msg) +django.core.exceptions.DisallowedHost: Invalid HTTP_HOST header: '172.16.1.63:8000'. You may need to add '172.16.1.63' to ALLOWED_HOSTS. +WARNING 2023-12-20 17:57:29,696 log 241 Bad Request: /report/reportTicket +WARNING 2023-12-20 17:57:29,697 basehttp 212 "POST /report/reportTicket HTTP/1.1" 400 18689 +INFO 2023-12-20 17:57:48,260 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-20 17:57:49,247 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-20 17:59:03,103 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\dingxin_toolbox_drf\settings.py changed, reloading. +INFO 2023-12-20 17:59:04,115 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-20 17:59:21,439 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\urls.py changed, reloading. +INFO 2023-12-20 17:59:22,505 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-20 18:00:12,137 log 241 Internal Server Error: /report/reportTicket +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\utils\deprecation.py", line 136, in __call__ + response = self.process_response(request, response) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\middleware\common.py", line 108, in process_response + return self.response_redirect_class(self.get_full_path_with_slash(request)) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\middleware\common.py", line 87, in get_full_path_with_slash + raise RuntimeError( +RuntimeError: You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH set. Django can't redirect to the slash URL while maintaining POST data. Change your form to point to 172.16.1.63:8000/report/reportTicket/ (note the trailing slash), or set APPEND_SLASH=False in your Django settings. +ERROR 2023-12-20 18:00:12,137 basehttp 212 "POST /report/reportTicket HTTP/1.1" 500 19163 +ERROR 2023-12-20 18:03:43,230 log 241 Internal Server Error: /report/reportTicket +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\utils\deprecation.py", line 136, in __call__ + response = self.process_response(request, response) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\middleware\common.py", line 108, in process_response + return self.response_redirect_class(self.get_full_path_with_slash(request)) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\middleware\common.py", line 87, in get_full_path_with_slash + raise RuntimeError( +RuntimeError: You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH set. Django can't redirect to the slash URL while maintaining POST data. Change your form to point to 172.16.1.63:8000/report/reportTicket/ (note the trailing slash), or set APPEND_SLASH=False in your Django settings. +ERROR 2023-12-20 18:03:43,231 basehttp 212 "POST /report/reportTicket HTTP/1.1" 500 19163 +INFO 2023-12-20 18:03:44,011 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=fda07948392a64ae591a34aa3654e0b2&timeStamp=1703066617 HTTP/1.1" 200 21 +INFO 2023-12-20 18:04:10,374 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\urls.py changed, reloading. +INFO 2023-12-20 18:04:11,361 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-20 18:04:34,464 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=fb94d1d6e078e7c6a19b0c5a94c4724a&timeStamp=1703066667 HTTP/1.1" 301 0 +ERROR 2023-12-20 18:06:10,631 log 241 Internal Server Error: /report/reportTicket +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\utils\deprecation.py", line 136, in __call__ + response = self.process_response(request, response) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\middleware\common.py", line 108, in process_response + return self.response_redirect_class(self.get_full_path_with_slash(request)) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\middleware\common.py", line 87, in get_full_path_with_slash + raise RuntimeError( +RuntimeError: You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH set. Django can't redirect to the slash URL while maintaining POST data. Change your form to point to 172.16.1.63:8000/report/reportTicket/ (note the trailing slash), or set APPEND_SLASH=False in your Django settings. +ERROR 2023-12-20 18:06:10,633 basehttp 212 "POST /report/reportTicket HTTP/1.1" 500 19163 +INFO 2023-12-20 18:06:30,249 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-20 18:06:31,215 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-20 18:06:43,421 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=5a4c395037334d8ee3b1eef41017e4a2&timeStamp=1703066795 HTTP/1.1" 301 0 +INFO 2023-12-20 18:08:09,558 basehttp 212 "GET /docs HTTP/1.1" 301 0 +INFO 2023-12-20 18:08:09,745 basehttp 212 "GET /docs/ HTTP/1.1" 200 66117 +INFO 2023-12-20 18:08:10,228 basehttp 212 "GET /static/rest_framework/css/font-awesome-4.0.3.css HTTP/1.1" 200 21658 +INFO 2023-12-20 18:08:10,262 basehttp 212 "GET /docs/schema.js HTTP/1.1" 200 10044 +INFO 2023-12-20 18:08:10,279 basehttp 212 "GET /static/rest_framework/css/bootstrap.min.css HTTP/1.1" 200 121457 +INFO 2023-12-20 18:08:10,279 basehttp 212 "GET /static/rest_framework/css/bootstrap-theme.min.css HTTP/1.1" 200 23411 +INFO 2023-12-20 18:08:10,296 basehttp 212 "GET /static/rest_framework/docs/css/base.css HTTP/1.1" 200 6156 +INFO 2023-12-20 18:08:10,310 basehttp 212 "GET /static/rest_framework/docs/css/jquery.json-view.min.css HTTP/1.1" 200 1307 +INFO 2023-12-20 18:08:10,327 basehttp 212 "GET /static/rest_framework/js/coreapi-0.1.1.js HTTP/1.1" 200 157600 +INFO 2023-12-20 18:08:10,329 basehttp 212 "GET /static/rest_framework/docs/js/jquery.json-view.min.js HTTP/1.1" 200 2700 +INFO 2023-12-20 18:08:10,336 basehttp 212 "GET /static/rest_framework/docs/js/api.js HTTP/1.1" 200 10391 +INFO 2023-12-20 18:08:10,337 basehttp 212 "GET /static/rest_framework/js/bootstrap.min.js HTTP/1.1" 200 39680 +INFO 2023-12-20 18:08:10,352 basehttp 212 "GET /static/rest_framework/js/jquery-3.5.1.min.js HTTP/1.1" 200 89476 +INFO 2023-12-20 18:08:10,577 basehttp 212 "GET /static/rest_framework/fonts/fontawesome-webfont.woff?v=4.0.3 HTTP/1.1" 200 44432 +INFO 2023-12-20 18:08:10,698 basehttp 212 "GET /static/rest_framework/docs/img/favicon.ico HTTP/1.1" 200 5430 +INFO 2023-12-20 18:08:27,664 basehttp 212 "GET /data/getCinemaInfo HTTP/1.1" 301 0 +INFO 2023-12-20 18:08:27,685 basehttp 212 "GET /data/getCinemaInfo/ HTTP/1.1" 200 21 +INFO 2023-12-20 18:08:57,307 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=5a4c395037334d8ee3b1eef41017e4a2&timeStamp=1703066795 HTTP/1.1" 301 0 +INFO 2023-12-20 18:08:57,307 basehttp 212 "GET /data/getCinemaInfo/?cinemaCode=14105121&sign=5a4c395037334d8ee3b1eef41017e4a2&timeStamp=1703066795 HTTP/1.1" 200 21 +INFO 2023-12-20 18:09:29,441 basehttp 212 "GET /data/getCinemaInfo/?cinemaCode=14105121&sign=5a4c395037334d8ee3b1eef41017e4a2&timeStamp=1703066795 HTTP/1.1" 200 21 +INFO 2023-12-20 18:09:37,355 basehttp 212 "GET //data/getCinemaInfo?cinemaCode=14105121&sign=b0e3375bc5bbbf838e5c43f70b576ec9&timeStamp=1703066970 HTTP/1.1" 301 0 +ERROR 2023-12-20 18:09:41,268 log 241 Internal Server Error: /report/reportTicket +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\utils\deprecation.py", line 136, in __call__ + response = self.process_response(request, response) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\middleware\common.py", line 108, in process_response + return self.response_redirect_class(self.get_full_path_with_slash(request)) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\middleware\common.py", line 87, in get_full_path_with_slash + raise RuntimeError( +RuntimeError: You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH set. Django can't redirect to the slash URL while maintaining POST data. Change your form to point to 172.16.1.63:8000/report/reportTicket/ (note the trailing slash), or set APPEND_SLASH=False in your Django settings. +ERROR 2023-12-20 18:09:41,268 basehttp 212 "POST /report/reportTicket HTTP/1.1" 500 19163 +INFO 2023-12-20 18:10:38,097 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=baefc96385228f6251245b65d4efa51d&timeStamp=1703067031 HTTP/1.1" 301 0 +INFO 2023-12-20 18:11:12,253 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-20 18:11:31,117 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=e0fdf122d08e4fb3273c6b2879c2bc05&timeStamp=1703067069 HTTP/1.1" 301 0 +INFO 2023-12-20 18:11:31,226 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=cfb1ccbbcc8c57973c05a57fbfddb068&timeStamp=1703067084 HTTP/1.1" 301 0 +INFO 2023-12-20 18:11:32,589 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=f264506de29f977375d4a26c8fdf9a7d&timeStamp=1703067085 HTTP/1.1" 301 0 +INFO 2023-12-20 18:11:53,559 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-20 18:11:54,523 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-20 18:12:08,578 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=6c17d23cc39e3b7114469d505fea8f2a&timeStamp=1703067114 HTTP/1.1" 301 0 +ERROR 2023-12-20 18:12:25,743 log 241 Internal Server Error: /report/reportTicket +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\utils\deprecation.py", line 136, in __call__ + response = self.process_response(request, response) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\middleware\common.py", line 108, in process_response + return self.response_redirect_class(self.get_full_path_with_slash(request)) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\middleware\common.py", line 87, in get_full_path_with_slash + raise RuntimeError( +RuntimeError: You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH set. Django can't redirect to the slash URL while maintaining POST data. Change your form to point to 172.16.1.63:8000/report/reportTicket/ (note the trailing slash), or set APPEND_SLASH=False in your Django settings. +ERROR 2023-12-20 18:12:25,745 basehttp 212 "POST /report/reportTicket HTTP/1.1" 500 19163 +INFO 2023-12-20 18:14:20,551 basehttp 212 "GET /report/reportTicket HTTP/1.1" 301 0 +ERROR 2023-12-20 18:14:20,601 log 241 Internal Server Error: /report/reportTicket/ +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 204, in _get_response + self.check_response(response, callback) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 332, in check_response + raise ValueError( +ValueError: The view mock.views.report_ticket didn't return an HttpResponse object. It returned None instead. +ERROR 2023-12-20 18:14:20,602 basehttp 212 "GET /report/reportTicket/ HTTP/1.1" 500 67254 +WARNING 2023-12-20 18:14:20,961 log 241 Not Found: /favicon.ico +WARNING 2023-12-20 18:14:20,962 basehttp 212 "GET /favicon.ico HTTP/1.1" 404 2785 +ERROR 2023-12-20 18:14:29,618 log 241 Internal Server Error: /report/reportTicket/ +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 204, in _get_response + self.check_response(response, callback) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 332, in check_response + raise ValueError( +ValueError: The view mock.views.report_ticket didn't return an HttpResponse object. It returned None instead. +ERROR 2023-12-20 18:14:29,618 basehttp 212 "GET /report/reportTicket/ HTTP/1.1" 500 67254 +INFO 2023-12-20 18:14:56,518 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-20 18:14:57,790 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-20 18:15:18,341 log 241 Internal Server Error: /report/reportTicket +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\utils\deprecation.py", line 136, in __call__ + response = self.process_response(request, response) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\middleware\common.py", line 108, in process_response + return self.response_redirect_class(self.get_full_path_with_slash(request)) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\middleware\common.py", line 87, in get_full_path_with_slash + raise RuntimeError( +RuntimeError: You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH set. Django can't redirect to the slash URL while maintaining POST data. Change your form to point to 172.16.1.63:8000/report/reportTicket/ (note the trailing slash), or set APPEND_SLASH=False in your Django settings. +ERROR 2023-12-20 18:15:18,341 basehttp 212 "POST /report/reportTicket HTTP/1.1" 500 19163 +ERROR 2023-12-20 18:15:25,149 log 241 Internal Server Error: /report/reportTicket/ +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 204, in _get_response + self.check_response(response, callback) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 332, in check_response + raise ValueError( +ValueError: The view mock.views.report_ticket didn't return an HttpResponse object. It returned None instead. +ERROR 2023-12-20 18:15:25,151 basehttp 212 "GET /report/reportTicket/ HTTP/1.1" 500 67391 +ERROR 2023-12-20 18:18:27,970 log 241 Internal Server Error: /report/reportTicket +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\utils\deprecation.py", line 136, in __call__ + response = self.process_response(request, response) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\middleware\common.py", line 108, in process_response + return self.response_redirect_class(self.get_full_path_with_slash(request)) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\middleware\common.py", line 87, in get_full_path_with_slash + raise RuntimeError( +RuntimeError: You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH set. Django can't redirect to the slash URL while maintaining POST data. Change your form to point to 172.16.1.63:8000/report/reportTicket/ (note the trailing slash), or set APPEND_SLASH=False in your Django settings. +ERROR 2023-12-20 18:18:27,972 basehttp 212 "POST /report/reportTicket HTTP/1.1" 500 19163 +INFO 2023-12-20 18:19:30,929 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-20 18:19:44,851 basehttp 212 "GET /data/getCinemaInfo/?cinemaCode=14105121&sign=5a4c395037334d8ee3b1eef41017e4a2&timeStamp=1703066795 HTTP/1.1" 200 21 +INFO 2023-12-20 18:19:49,335 basehttp 212 "GET /docs/ HTTP/1.1" 200 66117 +INFO 2023-12-20 18:19:49,419 basehttp 212 "GET /docs/schema.js HTTP/1.1" 200 10044 +WARNING 2023-12-20 18:21:20,844 log 241 Not Found: /report/reportTicket +WARNING 2023-12-20 18:21:20,844 basehttp 212 "POST /report/reportTicket HTTP/1.1" 404 2643 +INFO 2023-12-20 18:22:44,996 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=4319caf8dd3d1a028d2431d29de10bd8&timeStamp=1703067758 HTTP/1.1" 301 0 +INFO 2023-12-20 18:23:49,063 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=9035c16a4c01abaf9ce02391b597471d&timeStamp=1703067822 HTTP/1.1" 301 0 +WARNING 2023-12-20 18:24:37,393 log 241 Not Found: /report/reportTicket +WARNING 2023-12-20 18:24:37,394 basehttp 212 "POST /report/reportTicket HTTP/1.1" 404 2643 +INFO 2023-12-20 18:24:39,809 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\urls.py changed, reloading. +INFO 2023-12-20 18:24:40,707 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-20 18:24:53,346 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=deec7df1d114ac14f723cbea8187097e&timeStamp=1703067879 HTTP/1.1" 200 21 +INFO 2023-12-21 08:10:12,533 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-21 08:10:20,966 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=f43c4584bd2405f9376802a9d9690467&timeStamp=1703117398 HTTP/1.1" 200 21 +INFO 2023-12-21 08:11:03,661 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 08:11:04,698 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-21 08:11:11,760 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=a4b2aef58246e9b71d0dbc3907fdd93a&timeStamp=1703117464 HTTP/1.1" 200 21 +INFO 2023-12-21 08:11:57,065 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 08:11:58,174 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-21 08:12:15,256 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 08:12:16,301 autoreload 668 Watching for file changes with StatReloader +WARNING 2023-12-21 08:12:45,922 log 241 Not Found: /report/reportTicket +WARNING 2023-12-21 08:12:45,923 basehttp 212 "POST /report/reportTicket HTTP/1.1" 404 2642 +INFO 2023-12-21 08:13:11,804 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=330f04b13b9e9d1b3a1c988074ee2e2d&timeStamp=1703117584 HTTP/1.1" 200 21 +INFO 2023-12-21 08:13:50,628 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 08:13:51,553 autoreload 668 Watching for file changes with StatReloader +WARNING 2023-12-21 08:15:40,853 log 241 Not Found: /report/reportTicket +WARNING 2023-12-21 08:15:40,854 basehttp 212 "POST /report/reportTicket HTTP/1.1" 404 2642 +INFO 2023-12-21 08:17:10,865 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 08:17:11,873 autoreload 668 Watching for file changes with StatReloader +WARNING 2023-12-21 08:18:59,853 log 241 Not Found: /report/reportTicket +WARNING 2023-12-21 08:18:59,854 basehttp 212 "POST /report/reportTicket HTTP/1.1" 404 2642 +WARNING 2023-12-21 08:21:23,408 log 241 Not Found: /report/reportTicket +WARNING 2023-12-21 08:21:23,409 basehttp 212 "POST /report/reportTicket HTTP/1.1" 404 2642 +INFO 2023-12-21 08:21:23,649 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 08:21:24,853 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-21 08:21:31,082 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=1aa4155a8e30c3e5eeef13dd866e2901&timeStamp=1703118083 HTTP/1.1" 200 534 +INFO 2023-12-21 08:21:51,180 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=c996ceef06b0ee358d583eb41f6e4922&timeStamp=1703118104 HTTP/1.1" 200 534 +INFO 2023-12-21 08:24:45,429 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 08:24:46,499 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-21 08:28:15,108 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 08:28:16,322 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-21 08:28:27,190 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 08:28:28,191 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-21 08:28:47,022 log 241 Internal Server Error: /data/getCinemaInfo +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py", line 47, in get_cinema_info + return JsonResponse(response_dara) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\http\response.py", line 724, in __init__ + raise TypeError( +TypeError: In order to allow non-dict objects to be serialized set the safe parameter to False. +ERROR 2023-12-21 08:28:47,024 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=fbf4b4c5a735f0dab3015639bc2afa29&timeStamp=1703118519 HTTP/1.1" 500 18252 +INFO 2023-12-21 08:30:58,323 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 08:30:59,326 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-21 08:31:16,813 log 241 Internal Server Error: /data/getCinemaInfo +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py", line 48, in get_cinema_info + return JsonResponse(response_dara) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\http\response.py", line 724, in __init__ + raise TypeError( +TypeError: In order to allow non-dict objects to be serialized set the safe parameter to False. +ERROR 2023-12-21 08:31:16,815 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=208d5084a3111ff17753ed038e554530&timeStamp=1703118669 HTTP/1.1" 500 18252 +INFO 2023-12-21 08:31:54,899 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 08:31:55,894 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-21 08:32:47,389 log 241 Internal Server Error: /data/getCinemaInfo +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py", line 49, in get_cinema_info + return JsonResponse(response_dara) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\http\response.py", line 724, in __init__ + raise TypeError( +TypeError: In order to allow non-dict objects to be serialized set the safe parameter to False. +ERROR 2023-12-21 08:32:47,391 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=19d151623052f0f16669e4da5c92de68&timeStamp=1703118760 HTTP/1.1" 500 18252 +INFO 2023-12-21 08:33:58,634 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 08:33:59,584 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-21 08:34:03,936 log 241 Internal Server Error: /data/getCinemaInfo +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py", line 49, in get_cinema_info + return JsonResponse(response_dara) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\http\response.py", line 724, in __init__ + raise TypeError( +TypeError: In order to allow non-dict objects to be serialized set the safe parameter to False. +ERROR 2023-12-21 08:34:03,942 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=278239fd1ac60d8b2c28e2e982b08ec4&timeStamp=1703118836 HTTP/1.1" 500 18252 +INFO 2023-12-21 08:34:30,431 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 08:34:31,378 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-21 08:34:35,790 log 241 Internal Server Error: /data/getCinemaInfo +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py", line 49, in get_cinema_info + return JsonResponse(response_dara) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\http\response.py", line 724, in __init__ + raise TypeError( +TypeError: In order to allow non-dict objects to be serialized set the safe parameter to False. +ERROR 2023-12-21 08:34:35,792 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=58ed951333f69f86419599b5fdb2e4f1&timeStamp=1703118868 HTTP/1.1" 500 18252 +INFO 2023-12-21 08:34:59,076 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 08:35:00,141 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-21 08:35:07,747 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=5eaa4b297ed992cb467d140ca1e773cd&timeStamp=1703118900 HTTP/1.1" 200 534 +INFO 2023-12-21 08:37:24,403 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 08:37:25,394 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-21 08:37:37,772 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=f7ca26e79abd3d2225e348da66463fbf&timeStamp=1703119043 HTTP/1.1" 200 534 +INFO 2023-12-21 08:38:18,245 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 08:38:19,222 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-21 08:38:26,848 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 08:38:27,807 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-21 08:38:33,496 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 08:38:35,006 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-21 08:39:37,948 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 08:39:39,003 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-21 08:47:00,762 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=582a04be17c20337921fc5f72b8fa3b5&timeStamp=1703119613 HTTP/1.1" 200 534 +INFO 2023-12-21 09:35:53,965 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\models.py changed, reloading. +INFO 2023-12-21 09:35:54,988 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-21 09:39:31,726 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\models.py changed, reloading. +INFO 2023-12-21 09:39:32,618 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-21 09:39:35,917 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\models.py changed, reloading. +INFO 2023-12-21 11:25:22,797 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-21 11:25:27,288 log 241 Internal Server Error: /data/getCinemaInfo +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py", line 42, in get_cinema_info + req_url = ZZ_URL + request.path +NameError: name 'ZZ_URL' is not defined +ERROR 2023-12-21 11:25:27,289 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=5e7f768dd499de0eb4aabd60d2f4036e&timeStamp=1703129120 HTTP/1.1" 500 17997 +INFO 2023-12-21 11:28:51,461 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 11:28:52,374 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-21 11:28:58,260 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=97e3f2b84bcb131554522e44eff1d455&timeStamp=1703129330 HTTP/1.1" 200 534 +INFO 2023-12-21 11:35:39,489 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-21 11:35:50,120 log 241 Internal Server Error: /data/getCinemaInfo +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py", line 24, in get_cinema_info + if mock_service_switch['getCinemaInfo'] == '1': +TypeError: 'ZZMockModel' object is not subscriptable +ERROR 2023-12-21 11:35:50,121 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=93c5499597a3a346e38bfef2e74f32fc&timeStamp=1703129742 HTTP/1.1" 500 18039 +INFO 2023-12-21 11:36:39,538 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 11:36:40,430 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-21 11:36:45,754 log 241 Internal Server Error: /data/getCinemaInfo +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py", line 25, in get_cinema_info + if mock_service_switch['getCinemaInfo'] == '1': +TypeError: 'ZZMockModel' object is not subscriptable +ERROR 2023-12-21 11:36:45,755 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=5664e1b29921392c13f4d5b67e854f29&timeStamp=1703129798 HTTP/1.1" 500 18039 +INFO 2023-12-21 11:37:30,679 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 11:37:31,672 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-21 11:37:34,842 log 241 Internal Server Error: /data/getCinemaInfo +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py", line 24, in get_cinema_info + print(mock_service_switch.get('getCinemaInfo')) +AttributeError: 'ZZMockModel' object has no attribute 'get' +ERROR 2023-12-21 11:37:34,843 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=db9409d81199d5baa21953069e3543db&timeStamp=1703129847 HTTP/1.1" 500 18053 +INFO 2023-12-21 11:40:46,866 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 11:40:47,881 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-21 11:40:52,954 log 241 Internal Server Error: /data/getCinemaInfo +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py", line 25, in get_cinema_info + if mock_service_switch['getCinemaInfo'] == '1': +TypeError: 'ZZMockModel' object is not subscriptable +ERROR 2023-12-21 11:40:52,955 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=4ba8a9338a14a14b9e6d2d4d480e7a2e&timeStamp=1703130045 HTTP/1.1" 500 18039 +INFO 2023-12-21 11:41:18,487 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 11:41:19,494 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-21 11:41:24,733 log 241 Internal Server Error: /data/getCinemaInfo +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py", line 25, in get_cinema_info + if mock_service_switch['getCinemaInfo'] == '1': + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\db\models\query.py", line 418, in __getitem__ + raise TypeError( +TypeError: QuerySet indices must be integers or slices, not str. +ERROR 2023-12-21 11:41:24,735 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=ed574f4d393bdb902182be6dd6f2d24a&timeStamp=1703130077 HTTP/1.1" 500 18208 +INFO 2023-12-21 11:43:53,835 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 11:43:54,947 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-21 11:44:05,489 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 11:44:06,498 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-21 11:44:12,148 log 241 Internal Server Error: /data/getCinemaInfo +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py", line 25, in get_cinema_info + if mock_service_switch['getCinemaInfo'] == '1': +TypeError: 'ZZMockModel' object is not subscriptable +ERROR 2023-12-21 11:44:12,149 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=d720d990b243872e952422dc7fa77512&timeStamp=1703130244 HTTP/1.1" 500 18039 +INFO 2023-12-21 11:44:30,718 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 11:44:31,643 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-21 11:44:35,194 log 241 Internal Server Error: /data/getCinemaInfo +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py", line 25, in get_cinema_info + if mock_service_switch['getCinemaInfo'] is True: +TypeError: 'ZZMockModel' object is not subscriptable +ERROR 2023-12-21 11:44:35,196 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=514727055fd8e0e7ceb8b5ed3153e4de&timeStamp=1703130267 HTTP/1.1" 500 18040 +INFO 2023-12-21 11:45:00,049 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 11:45:01,250 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-21 11:45:03,945 log 241 Internal Server Error: /data/getCinemaInfo +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py", line 25, in get_cinema_info + return mock_service.mock(ip, 'getCinemaInfo') + File "D:\Code\Work\Python\dingxin_toolbox_drf\mock\utils\mock_service.py", line 12, in mock + mock_data = get_cinema_info_tmp.get(dict(cinema_obj)) +TypeError: 'Cinema' object is not iterable +ERROR 2023-12-21 11:45:03,946 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=197ad4d5a10e483520bd83454743150e&timeStamp=1703130296 HTTP/1.1" 500 18169 +INFO 2023-12-21 11:45:54,233 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\mock_templates\get_cinema_info_tmp.py changed, reloading. +INFO 2023-12-21 11:45:55,135 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-21 11:45:58,680 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=a05665034a33cdbc0ed68686dc506f47&timeStamp=1703130351 HTTP/1.1" 200 534 +INFO 2023-12-21 11:49:30,575 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\utils\mock_service.py changed, reloading. +INFO 2023-12-21 11:49:31,528 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-21 11:49:41,003 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=d1b03f4c7e27d81125dc459c29a103bb&timeStamp=1703130573 HTTP/1.1" 200 534 +INFO 2023-12-21 11:51:24,566 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\utils\mock_service.py changed, reloading. +INFO 2023-12-21 11:51:25,520 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-21 11:51:34,742 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=4a81211e7e04c466614e7b3a2216e293&timeStamp=1703130687 HTTP/1.1" 200 402 +INFO 2023-12-21 11:52:29,920 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=535036617a482af648c66df044ee4eb9&timeStamp=1703130742 HTTP/1.1" 200 534 +INFO 2023-12-21 14:27:45,607 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=a68b66800017de6e3df1a672b122e919&timeStamp=1703140058 HTTP/1.1" 200 534 +INFO 2023-12-21 14:29:05,258 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\utils\mock_service.py changed, reloading. +INFO 2023-12-21 14:29:06,306 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-21 14:29:10,950 basehttp 212 "GET /data/getCinemaInfo?cinemaCode=14105121&sign=cf8acad08330c0aa38d888b447827046&timeStamp=1703140143 HTTP/1.1" 200 402 +INFO 2023-12-21 14:45:12,499 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 14:45:13,533 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-21 14:45:52,374 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 14:45:53,399 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-21 14:46:37,695 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 14:46:38,735 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-21 14:47:13,439 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 14:47:14,380 autoreload 668 Watching for file changes with StatReloader +WARNING 2023-12-21 14:50:50,964 log 241 Not Found: /report/reportTicket +WARNING 2023-12-21 14:50:50,964 basehttp 212 "POST /report/reportTicket HTTP/1.1" 404 2642 +INFO 2023-12-21 14:51:41,783 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\mock_templates\__init__.py changed, reloading. +INFO 2023-12-21 14:51:42,770 autoreload 668 Watching for file changes with StatReloader +WARNING 2023-12-21 14:51:52,044 log 241 Not Found: /report/reportTicket +WARNING 2023-12-21 14:51:52,044 basehttp 212 "POST /report/reportTicket HTTP/1.1" 404 2642 +WARNING 2023-12-21 14:52:26,612 log 241 Not Found: /report/reportTicket +WARNING 2023-12-21 14:52:26,613 basehttp 212 "POST /report/reportTicket HTTP/1.1" 404 2642 +WARNING 2023-12-21 14:53:49,453 log 241 Not Found: /report/reportTicket +WARNING 2023-12-21 14:53:49,457 basehttp 212 "POST /report/reportTicket HTTP/1.1" 404 2642 +INFO 2023-12-21 14:53:56,661 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\mock_templates\report_ticket_tmp.py changed, reloading. +INFO 2023-12-21 14:53:57,540 autoreload 668 Watching for file changes with StatReloader +WARNING 2023-12-21 14:55:04,025 log 241 Not Found: /report/reportTicket +WARNING 2023-12-21 14:55:04,025 basehttp 212 "POST /report/reportTicket HTTP/1.1" 404 2642 +WARNING 2023-12-21 14:55:23,665 log 241 Not Found: /report/reportTicket +WARNING 2023-12-21 14:55:23,666 basehttp 212 "POST /report/reportTicket HTTP/1.1" 404 2642 +INFO 2023-12-21 14:55:49,420 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\urls.py changed, reloading. +INFO 2023-12-21 14:55:50,459 autoreload 668 Watching for file changes with StatReloader +WARNING 2023-12-21 14:56:59,006 log 241 Forbidden (CSRF cookie not set.): /report/reportTicket +WARNING 2023-12-21 14:56:59,007 basehttp 212 "POST /report/reportTicket HTTP/1.1" 403 2801 +WARNING 2023-12-21 14:57:11,569 log 241 Forbidden (CSRF cookie not set.): /report/reportTicket +WARNING 2023-12-21 14:57:11,570 basehttp 212 "POST /report/reportTicket HTTP/1.1" 403 2801 +INFO 2023-12-21 14:59:05,595 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 14:59:06,544 autoreload 668 Watching for file changes with StatReloader +WARNING 2023-12-21 14:59:07,631 log 241 Forbidden (CSRF cookie not set.): /report/reportTicket +WARNING 2023-12-21 14:59:07,633 basehttp 212 "POST /report/reportTicket HTTP/1.1" 403 2801 +WARNING 2023-12-21 14:59:38,194 log 241 Forbidden (CSRF cookie not set.): /report/reportTicket +WARNING 2023-12-21 14:59:38,198 basehttp 212 "POST /report/reportTicket HTTP/1.1" 403 2801 +INFO 2023-12-21 14:59:50,746 autoreload 668 Watching for file changes with StatReloader +WARNING 2023-12-21 15:00:52,891 log 241 Forbidden (CSRF cookie not set.): /report/reportTicket +WARNING 2023-12-21 15:00:52,892 basehttp 212 "POST /report/reportTicket HTTP/1.1" 403 2801 +WARNING 2023-12-21 15:01:40,567 log 241 Forbidden (CSRF cookie not set.): /report/reportTicket +WARNING 2023-12-21 15:01:40,568 basehttp 212 "POST /report/reportTicket HTTP/1.1" 403 2801 +WARNING 2023-12-21 15:02:10,118 log 241 Forbidden (CSRF cookie not set.): /report/reportTicket +WARNING 2023-12-21 15:02:10,120 basehttp 212 "POST /report/reportTicket HTTP/1.1" 403 2801 +WARNING 2023-12-21 15:03:57,817 log 241 Forbidden (CSRF cookie not set.): /report/reportTicket +WARNING 2023-12-21 15:03:57,818 basehttp 212 "POST /report/reportTicket HTTP/1.1" 403 2801 +WARNING 2023-12-21 15:04:47,434 log 241 Forbidden (CSRF cookie not set.): /report/reportTicket +WARNING 2023-12-21 15:04:47,434 basehttp 212 "POST /report/reportTicket HTTP/1.1" 403 2801 +INFO 2023-12-21 15:04:59,789 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 15:05:00,764 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-21 15:05:55,364 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 15:05:56,665 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-21 15:06:05,332 basehttp 212 "POST /report/reportTicket HTTP/1.1" 200 75 +ERROR 2023-12-21 15:14:14,453 log 241 Internal Server Error: /report/reportTicket +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 204, in _get_response + self.check_response(response, callback) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 332, in check_response + raise ValueError( +ValueError: The view mock.views.report_ticket didn't return an HttpResponse object. It returned None instead. +ERROR 2023-12-21 15:14:14,454 basehttp 212 "POST /report/reportTicket HTTP/1.1" 500 18987 +INFO 2023-12-21 15:14:29,801 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 15:14:30,797 autoreload 668 Watching for file changes with StatReloader +ERROR 2023-12-21 15:15:58,906 log 241 Internal Server Error: /report/reportTicket +Traceback (most recent call last): + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\exception.py", line 55, in inner + response = get_response(request) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 204, in _get_response + self.check_response(response, callback) + File "D:\Code\Work\Python\dingxin_toolbox_drf\venv\lib\site-packages\django\core\handlers\base.py", line 332, in check_response + raise ValueError( +ValueError: The view mock.views.report_ticket didn't return an HttpResponse object. It returned None instead. +ERROR 2023-12-21 15:15:58,907 basehttp 212 "POST /report/reportTicket HTTP/1.1" 500 18987 +INFO 2023-12-21 15:16:15,891 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\utils\mock_service.py changed, reloading. +INFO 2023-12-21 15:16:16,941 autoreload 668 Watching for file changes with StatReloader +INFO 2023-12-21 15:17:03,542 basehttp 212 "POST /report/reportTicket HTTP/1.1" 200 75 +INFO 2023-12-21 15:17:09,530 autoreload 266 D:\Code\Work\Python\dingxin_toolbox_drf\mock\views.py changed, reloading. +INFO 2023-12-21 15:17:10,490 autoreload 668 Watching for file changes with StatReloader diff --git a/mock/migrations/0001_initial.py b/mock/migrations/0001_initial.py new file mode 100644 index 0000000..60e59e3 --- /dev/null +++ b/mock/migrations/0001_initial.py @@ -0,0 +1,34 @@ +# Generated by Django 4.2.7 on 2023-12-21 01:47 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ] + + operations = [ + migrations.CreateModel( + name='ZZMockModel', + fields=[ + ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('ip', models.CharField(help_text='影院ip', max_length=20, verbose_name='影院ip')), + ('reportTicket', models.BooleanField(help_text='票房数据上报接口', verbose_name='票房数据上报接口')), + ('reportFilmSchedule', models.BooleanField(help_text='排片数据上报接口', verbose_name='排片数据上报接口')), + ('uploadScreenSeatInfo', models.BooleanField(help_text='座位信息上报接口', verbose_name='座位信息上报接口')), + ('downloadFilmInfo', models.BooleanField(help_text='影片信息下载接口', verbose_name='影片信息下载接口')), + ('getCinemaInfo', models.BooleanField(help_text='影院信息下载接口', verbose_name='影院信息下载接口')), + ('getScreenInfo', models.BooleanField(help_text='影厅信息下载接口', verbose_name='影厅信息下载接口')), + ('getOvertimeTicketStatus', models.BooleanField(help_text='超时票务受理情况查询接口', verbose_name='超时票务受理情况查询接口')), + ('validError', models.BooleanField(help_text='数据清洗错误查询接口', verbose_name='数据清洗错误查询接口')), + ], + options={ + 'verbose_name': '专资接口模拟', + 'verbose_name_plural': '专资接口模拟', + 'db_table': 'zz_mock', + }, + ), + ] diff --git a/mock/mock_templates/__init__.py b/mock/mock_templates/__init__.py new file mode 100644 index 0000000..e72163f --- /dev/null +++ b/mock/mock_templates/__init__.py @@ -0,0 +1,2 @@ +__all__ = ['get_cinema_info_tmp', + 'report_ticket_tmp'] diff --git a/mock/mock_templates/get_cinema_info_tmp.py b/mock/mock_templates/get_cinema_info_tmp.py new file mode 100644 index 0000000..179e487 --- /dev/null +++ b/mock/mock_templates/get_cinema_info_tmp.py @@ -0,0 +1,45 @@ +import pymysql +from pymysql.cursors import DictCursor + + +def get(cinema_data): + db_config = { + 'host': cinema_data.ip, + 'user': cinema_data.db_user, + 'password': cinema_data.db_pwd, + 'database': 'cine', + 'connect_timeout': 5, + } + + db_conn = pymysql.Connect(**db_config) + db_cursor = db_conn.cursor(cursor=DictCursor) + # cinema_info + cinema_info_sql_str = 'SELECT * FROM cinema_info;' + db_cursor.execute(cinema_info_sql_str) + cinema_info_data = db_cursor.fetchone() + # cinema_set + cinema_set_sql_str = 'SELECT * FROM cinema_set;' + db_cursor.execute(cinema_set_sql_str) + cinema_set_data = db_cursor.fetchone() + # cinema_hall_info + cinema_hall_info_sql_str = 'SELECT * FROM cinema_hall_info;' + db_cursor.execute(cinema_hall_info_sql_str) + cinema_hall_info_data = db_cursor.fetchall() + hall_num = len(cinema_hall_info_data) + db_conn.close() + mock_data = {'message': '操作成功', + 'data': { + 'cinemaChainName': cinema_info_data['cinema_chain_name'], + 'manager': cinema_info_data['cinema_manager'], + 'screens': hall_num, + 'managerTel': cinema_info_data['cinema_telephone'], + 'cinemaName': cinema_set_data['cinema_platform_name'], + 'cinemaCode': cinema_set_data['cinema_num'], # 适配字段 + 'cinemaLevel': cinema_info_data['cinema_level'], + 'businessStatus': '12', # 定义字段 + 'officialName': cinema_info_data['official_name'], + 'fax': cinema_info_data['cinema_fax'] + }, + 'code': '200', + 'status': 'success'} + return mock_data diff --git a/mock/mock_templates/report_ticket_tmp.py b/mock/mock_templates/report_ticket_tmp.py new file mode 100644 index 0000000..26b30bd --- /dev/null +++ b/mock/mock_templates/report_ticket_tmp.py @@ -0,0 +1,3 @@ +def get(): + mock_data = {'message': '操作成功', 'data': {}, 'code': '200', 'status': 'success'} + return mock_data diff --git a/mock/models.py b/mock/models.py index 71a8362..ed5a031 100644 --- a/mock/models.py +++ b/mock/models.py @@ -1,3 +1,25 @@ from django.db import models + # Create your models here. + +class ZZMockModel(models.Model): + ip = models.CharField(verbose_name='影院ip', max_length=20, null=False, help_text='影院ip') + reportTicket = models.BooleanField(verbose_name='票房数据上报接口', null=False, help_text='票房数据上报接口') + reportFilmSchedule = models.BooleanField(verbose_name='排片数据上报接口', null=False, help_text='排片数据上报接口') + uploadScreenSeatInfo = models.BooleanField(verbose_name='座位信息上报接口', null=False, + help_text='座位信息上报接口') + downloadFilmInfo = models.BooleanField(verbose_name='影片信息下载接口', null=False, help_text='影片信息下载接口') + getCinemaInfo = models.BooleanField(verbose_name='影院信息下载接口', null=False, help_text='影院信息下载接口') + getScreenInfo = models.BooleanField(verbose_name='影厅信息下载接口', null=False, help_text='影厅信息下载接口') + getOvertimeTicketStatus = models.BooleanField(verbose_name='超时票务受理情况查询接口', null=False, + help_text='超时票务受理情况查询接口') + validError = models.BooleanField(verbose_name='数据清洗错误查询接口', null=False, help_text='数据清洗错误查询接口') + + def __str__(self): + return self.ip + + class Meta: + verbose_name = '专资接口模拟' + verbose_name_plural = '专资接口模拟' + db_table = 'zz_mock' diff --git a/mock/urls.py b/mock/urls.py index a7f36ae..4545cb0 100644 --- a/mock/urls.py +++ b/mock/urls.py @@ -19,6 +19,6 @@ from django.urls import path, include from mock.views import * urlpatterns = [ - # path('report/reportTicket/', report_ticket), + path('report/reportTicket', report_ticket), path('data/getCinemaInfo', get_cinema_info), ] diff --git a/mock/utils/__init__.py b/mock/utils/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/mock/utils/mock_service.py b/mock/utils/mock_service.py new file mode 100644 index 0000000..0edd141 --- /dev/null +++ b/mock/utils/mock_service.py @@ -0,0 +1,41 @@ +import requests +from update.models import Cinema +from django.http.response import JsonResponse +from mock.mock_templates import * + +ZZ_URL = 'https://zzcs.yinghezhong.com' + + +def mock(_ip, _api, *args, **kwargs): + print('mock') + cinema_obj = Cinema.objects.filter(ip=_ip).first() + if _api == 'getCinemaInfo': + mock_data = get_cinema_info_tmp.get(cinema_obj) + return JsonResponse(mock_data, json_dumps_params={'ensure_ascii': False}) + if _api == 'reportTicket': + mock_data = report_ticket_tmp.get() + return JsonResponse(mock_data, json_dumps_params={'ensure_ascii': False}) + +def bypass(_r): + print('bypass') + print(_r.method, _r.path) # GET /data/getCinemaInfo + print(_r.GET) # + print(_r.POST) + if _r.method == 'GET': + req_url = ZZ_URL + _r.path + req_params = dict(_r.GET) + print(req_url) + print(req_params) + response_dara = requests.get(req_url, params=req_params) + print(response_dara.json()) + return JsonResponse(response_dara.json(), json_dumps_params={'ensure_ascii': False}) + if _r.method == 'POST': + req_url = ZZ_URL + _r.path + req_params = dict(_r.GET) + req_data = dict(_r.POST) + print(req_url) + print(req_params) + print(req_data) + response_dara = requests.post(req_url, params=req_params, data=req_data) + print(response_dara.json()) + return JsonResponse(response_dara.json(), json_dumps_params={'ensure_ascii': False}) diff --git a/mock/views.py b/mock/views.py index 175c402..194df53 100644 --- a/mock/views.py +++ b/mock/views.py @@ -1,27 +1,44 @@ +import requests from django.shortcuts import render from django.http.response import JsonResponse +from mock.utils import mock_service +from mock.models import ZZMockModel +from django.views.decorators.csrf import csrf_exempt +ZZ_URL = 'https://zzcs.yinghezhong.com' -# Create your views here. +# 数据上报 # 1、票房数据上报接口 POST /report/reportTicket +@csrf_exempt def report_ticket(request): - if request.method == 'POST': - print(request.headers) - print(request.body) - return JsonResponse({'status': 'success'}) + ip = request.META.get('REMOTE_ADDR') + mock_service_switch = ZZMockModel.objects.filter(ip=ip).first() + if mock_service_switch.reportTicket is True: + return mock_service.mock(ip, 'reportTicket') + else: + return mock_service.bypass(request) + + +# 2、排片数据上报接口 POST /report/reportFilmSchedule +# 3、座位信息上报接口 POST /report/uploadScreenSeatInfo # 数据下载 # 1、影片信息下载接口 GET /data/downloadFilmInfo # 2、影院信息下载接口 GET /data/getCinemaInfo def get_cinema_info(request): - print(request.headers) - print(request.body) - if request.method == 'GET': - print('getCinemaInfo') - print(request.headers) - print(request.body) - return JsonResponse({'status': 'success'}) - + ip = request.META.get('REMOTE_ADDR') + mock_service_switch = ZZMockModel.objects.filter(ip=ip).first() + if mock_service_switch.getCinemaInfo is True: + return mock_service.mock(ip, 'getCinemaInfo') + else: + return mock_service.bypass(request) # 3、影厅信息下载接口 GET /data/getScreenInfo + + +# 超时票务审批 +# 1、超时票务受理情况查询接口 GET /data/getOvertimeTicketStatus +# +# 数据查询 +# 2、数据清洗错误查询接口 POST /query/validError diff --git a/update/migrations/0003_alter_cinema_options_alter_cinema_client_ver_and_more.py b/update/migrations/0003_alter_cinema_options_alter_cinema_client_ver_and_more.py new file mode 100644 index 0000000..5f9829f --- /dev/null +++ b/update/migrations/0003_alter_cinema_options_alter_cinema_client_ver_and_more.py @@ -0,0 +1,62 @@ +# Generated by Django 4.2.7 on 2023-12-21 01:47 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('update', '0002_rename_num_cinema_inner_id_rename_code_cinema_zz_num_and_more'), + ] + + operations = [ + migrations.AlterModelOptions( + name='cinema', + options={'verbose_name': '影院信息', 'verbose_name_plural': '影院信息'}, + ), + migrations.AlterField( + model_name='cinema', + name='client_ver', + field=models.CharField(help_text='鼎新客户端版本', max_length=50, verbose_name='鼎新客户端版本'), + ), + migrations.AlterField( + model_name='cinema', + name='db_pwd', + field=models.CharField(help_text='影院数据库密码', max_length=50, verbose_name='影院数据库密码'), + ), + migrations.AlterField( + model_name='cinema', + name='db_user', + field=models.CharField(help_text='影院数据库账号', max_length=20, verbose_name='影院数据库账号'), + ), + migrations.AlterField( + model_name='cinema', + name='inner_id', + field=models.CharField(help_text='影院4位编码', max_length=4, verbose_name='影院4位编码'), + ), + migrations.AlterField( + model_name='cinema', + name='ip', + field=models.CharField(help_text='影院ip', max_length=20, verbose_name='影院ip'), + ), + migrations.AlterField( + model_name='cinema', + name='name', + field=models.CharField(help_text='影院名称', max_length=100, verbose_name='影院名称'), + ), + migrations.AlterField( + model_name='cinema', + name='sys_ver', + field=models.CharField(help_text='鼎新系统版本', max_length=50, verbose_name='鼎新系统版本'), + ), + migrations.AlterField( + model_name='cinema', + name='update_time', + field=models.DateTimeField(auto_now=True, help_text='最后更新时间', verbose_name='最后更新时间'), + ), + migrations.AlterField( + model_name='cinema', + name='zz_num', + field=models.CharField(help_text='影院转账8位编码', max_length=8, verbose_name='影院转账8位编码'), + ), + ]