Files
douyin_guaji-main/pyright_report.txt
T
Your Name 2cd81c05a3 fix: Adjust configuration settings and improve error handling
- Updated `config.json` to modify `yanghao_recommend_interval_seconds` for better timing control.
- Refactored logging in `douyin_detection.py` to enhance readability and error handling.
- Improved pixel loading and error management in image processing functions across multiple modules.
- Enhanced GUI elements in `gui_app.py` to support new configuration options and improve user experience.
2025-12-21 21:55:30 +08:00

249 lines
58 KiB
Plaintext

c:\Users\12742\Desktop\douyin_guaji-main\Underlying_Operations.py
c:\Users\12742\Desktop\douyin_guaji-main\Underlying_Operations.py:887:49 - error: "category_dir" is unbound (reportUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\Underlying_Operations.py:887:66 - error: "picname" is not defined (reportUndefinedVariable)
c:\Users\12742\Desktop\douyin_guaji-main\Underlying_Operations.py:892:28 - error: "img2" is possibly unbound (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\Underlying_Operations.py:892:49 - error: "text2" is unbound (reportUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\Underlying_Operations.py:893:43 - error: "img2" is unbound (reportUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\Underlying_Operations.py:895:43 - error: "img1" is unbound (reportUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\Underlying_Operations.py:914:33 - error: "img" is unbound (reportUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\Underlying_Operations.py:914:37 - error: Cannot access attribute "save" for class "Unbound" (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\Underlying_Operations.py:919:20 - error: "pic_path" is not defined (reportUndefinedVariable)
c:\Users\12742\Desktop\douyin_guaji-main\Underlying_Operations.py:923:31 - error: "pic_path" is not defined (reportUndefinedVariable)
c:\Users\12742\Desktop\douyin_guaji-main\Underlying_Operations.py:927:30 - error: "pic_path" is not defined (reportUndefinedVariable)
c:\Users\12742\Desktop\douyin_guaji-main\Underlying_Operations.py:930:30 - error: "pic_path" is not defined (reportUndefinedVariable)
c:\Users\12742\Desktop\douyin_guaji-main\Underlying_Operations.py:935:12 - error: "change_color" is not defined (reportUndefinedVariable)
c:\Users\12742\Desktop\douyin_guaji-main\Underlying_Operations.py:937:16 - error: "change_color" is not defined (reportUndefinedVariable)
c:\Users\12742\Desktop\douyin_guaji-main\Underlying_Operations.py:1030:12 - error: "picname" is not defined (reportUndefinedVariable)
c:\Users\12742\Desktop\douyin_guaji-main\Underlying_Operations.py:1034:34 - error: "picname" is not defined (reportUndefinedVariable)
c:\Users\12742\Desktop\douyin_guaji-main\Underlying_Operations.py:1037:36 - error: "picname" is not defined (reportUndefinedVariable)
c:\Users\12742\Desktop\douyin_guaji-main\Underlying_Operations.py:1056:38 - error: "picname" is not defined (reportUndefinedVariable)
c:\Users\12742\Desktop\douyin_guaji-main\Underlying_Operations.py:1063:25 - error: "picname" is not defined (reportUndefinedVariable)
c:\Users\12742\Desktop\douyin_guaji-main\Underlying_Operations.py:1074:62 - error: "picname" is not defined (reportUndefinedVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_detection.py
c:\Users\12742\Desktop\douyin_guaji-main\douyin_detection.py:561:25 - error: Operator "+" not supported for types "int | Unbound" and "int | Unbound"
聽聽Operator "+" not supported for types "Unbound" and "Unbound" (reportOperatorIssue)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_detection.py:561:26 - error: "scan_x_start" is possibly unbound (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_detection.py:561:41 - error: "scan_x_end" is possibly unbound (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_detection.py:562:25 - error: "scan_y" is possibly unbound (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_detection.py:563:36 - error: "img" is not defined (reportUndefinedVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_detection.py:563:54 - error: "scan_y" is possibly unbound (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_detection.py:570:24 - error: "scan_y" is possibly unbound (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_detection.py:571:30 - error: "scan_x_start" is possibly unbound (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_detection.py:572:28 - error: "scan_x_end" is possibly unbound (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai.py
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai.py:471:46 - error: Argument of type "float" cannot be assigned to parameter "seconds" of type "int" in function "delay"
聽聽"float" is not assignable to "int" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai.py:478:42 - error: Argument of type "float" cannot be assigned to parameter "seconds" of type "int" in function "delay"
聽聽"float" is not assignable to "int" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai.py:504:46 - error: Argument of type "float" cannot be assigned to parameter "seconds" of type "int" in function "delay"
聽聽"float" is not assignable to "int" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai.py:511:42 - error: Argument of type "float" cannot be assigned to parameter "seconds" of type "int" in function "delay"
聽聽"float" is not assignable to "int" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai.py:596:35 - error: "logging" is not a known attribute of module "cv2.utils" (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai.py:597:39 - error: "logging" is not a known attribute of module "cv2.utils" (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai.py:827:29 - error: "datetime" is possibly unbound (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai.py:1011:26 - error: No overloads for "format_exception" match the provided arguments (reportCallIssue)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai.py:1011:54 - error: Argument of type "type[BaseException] | BaseException | TracebackType | Unknown | None" cannot be assigned to parameter "exc" of type "BaseException" in function "format_exception"
聽聽Type "type[BaseException] | BaseException | TracebackType | Unknown | None" is not assignable to type "BaseException"
聽聽聽聽"TracebackType" is not assignable to "BaseException" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai.py:1196:54 - error: Argument of type "float" cannot be assigned to parameter "seconds" of type "int" in function "delay"
聽聽"float" is not assignable to "int" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai.py:1282:46 - error: Argument of type "float" cannot be assigned to parameter "seconds" of type "int" in function "delay"
聽聽"float" is not assignable to "int" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai.py:1290:46 - error: Argument of type "float" cannot be assigned to parameter "seconds" of type "int" in function "delay"
聽聽"float" is not assignable to "int" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai.py:1292:46 - error: Argument of type "float" cannot be assigned to parameter "seconds" of type "int" in function "delay"
聽聽"float" is not assignable to "int" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai.py:1312:38 - error: Argument of type "float" cannot be assigned to parameter "seconds" of type "int" in function "delay"
聽聽"float" is not assignable to "int" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai.py:1324:38 - error: Argument of type "float" cannot be assigned to parameter "seconds" of type "int" in function "delay"
聽聽"float" is not assignable to "int" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai.py:1351:42 - error: Argument of type "float" cannot be assigned to parameter "seconds" of type "int" in function "delay"
聽聽"float" is not assignable to "int" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai.py:1357:42 - error: Argument of type "float" cannot be assigned to parameter "seconds" of type "int" in function "delay"
聽聽"float" is not assignable to "int" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai.py:1366:42 - error: Argument of type "float" cannot be assigned to parameter "seconds" of type "int" in function "delay"
聽聽"float" is not assignable to "int" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai.py:1372:46 - error: Argument of type "float" cannot be assigned to parameter "seconds" of type "int" in function "delay"
聽聽"float" is not assignable to "int" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai.py:1545:42 - error: Argument of type "float" cannot be assigned to parameter "seconds" of type "int" in function "delay"
聽聽"float" is not assignable to "int" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai_core.py
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai_core.py:417:13 - warning: Expression value is unused (reportUnusedExpression)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai_core.py:417:13 - error: "dur2" is possibly unbound (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai_core.py:429:31 - error: "dur2" is possibly unbound (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai_core.py:690:24 - error: "skip_if_gt" is possibly unbound (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai_core.py:797:8 - error: "skip_if_gt" is possibly unbound (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai_core.py:802:24 - error: "skip_if_gt" is possibly unbound (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai_core.py:812:33 - error: "skip_if_gt" is possibly unbound (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai_core.py:817:44 - error: "skip_if_gt" is possibly unbound (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai_core.py:819:32 - error: "skip_if_gt" is possibly unbound (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai_core.py:820:52 - error: "skip_if_gt" is possibly unbound (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai_core.py:825:46 - error: "skip_if_gt" is possibly unbound (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai_core.py:832:32 - error: "skip_if_gt" is possibly unbound (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai_core.py:833:52 - error: "skip_if_gt" is possibly unbound (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai_core.py:854:24 - error: "skip_if_lt" is possibly unbound (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai_core.py:1223:44 - error: "touch_high_value_room" is not a known attribute of module "douyin_high_value_room" (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai_detail.py
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai_detail.py:762:41 - error: Function with declared return type "bool" must return value on all code paths
聽聽"None" is not assignable to "bool" (reportReturnType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai_flow.py
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai_flow.py:79:5 - error: "_name" is possibly unbound (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_fudai_flow.py:79:12 - error: "_value" is possibly unbound (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_logger.py
c:\Users\12742\Desktop\douyin_guaji-main\douyin_logger.py:261:20 - error: Expression of type "None" cannot be assigned to parameter of type "dict[Unknown, Unknown]"
聽聽"None" is not assignable to "dict[Unknown, Unknown]" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_logger.py:263:23 - error: Expression of type "None" cannot be assigned to parameter of type "float"
聽聽"None" is not assignable to "float" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_logging.py
c:\Users\12742\Desktop\douyin_guaji-main\douyin_logging.py:32:28 - error: Expression of type "None" cannot be assigned to parameter of type "str"
聽聽"None" is not assignable to "str" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_logging.py:59:22 - error: Expression of type "None" cannot be assigned to parameter of type "str"
聽聽"None" is not assignable to "str" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_logging.py:60:21 - error: Expression of type "None" cannot be assigned to parameter of type "str"
聽聽"None" is not assignable to "str" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_logging.py:254:19 - error: Operator "-" not supported for types "float" and "float | None"
聽聽Operator "-" not supported for types "float" and "None" (reportOperatorIssue)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_logging.py:298:17 - error: "frame" is possibly unbound (reportPossiblyUnboundVariable)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_logging.py:324:24 - error: No overloads for "format_exception" match the provided arguments (reportCallIssue)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_logging.py:324:52 - error: Argument of type "type[BaseException] | BaseException | TracebackType | Unknown" cannot be assigned to parameter "exc" of type "BaseException" in function "format_exception"
聽聽Type "type[BaseException] | BaseException | TracebackType | Unknown" is not assignable to type "BaseException"
聽聽聽聽"TracebackType" is not assignable to "BaseException" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_lottery.py
c:\Users\12742\Desktop\douyin_guaji-main\douyin_lottery.py:16:5 - error: Function declaration "wait_for_lottery_result" is obscured by a declaration of the same name (reportRedeclaration)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_lottery.py:57:5 - error: Function declaration "process_lottery_result" is obscured by a declaration of the same name (reportRedeclaration)
c:\Users\12742\Desktop\douyin_guaji-main\douyin_reservation_verify.py
c:\Users\12742\Desktop\douyin_guaji-main\douyin_reservation_verify.py:181:49 - error: "_normalize_room_title" is not a known attribute of module "douyin_high_value_room" (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\fix_indent_smart.py
c:\Users\12742\Desktop\douyin_guaji-main\fix_indent_smart.py:77:76 - error: "group" is not a known attribute of "None" (reportOptionalMemberAccess)
c:\Users\12742\Desktop\douyin_guaji-main\fix_indentation.py
c:\Users\12742\Desktop\douyin_guaji-main\fix_indentation.py:43:72 - error: "group" is not a known attribute of "None" (reportOptionalMemberAccess)
c:\Users\12742\Desktop\douyin_guaji-main\fix_indentation.py:77:72 - error: "group" is not a known attribute of "None" (reportOptionalMemberAccess)
c:\Users\12742\Desktop\douyin_guaji-main\gui_app.py
c:\Users\12742\Desktop\douyin_guaji-main\gui_app.py:33:16 - error: Import "ttkbootstrap" could not be resolved (reportMissingImports)
c:\Users\12742\Desktop\douyin_guaji-main\gui_app.py:34:14 - error: Import "ttkbootstrap.scrolled" could not be resolved (reportMissingImports)
c:\Users\12742\Desktop\douyin_guaji-main\gui_app.py:38:14 - error: Import "ttkbootstrap.constants" could not be resolved (reportMissingImports)
c:\Users\12742\Desktop\douyin_guaji-main\gui_app.py:38:44 - error: "LEFT" is declared as Final and cannot be reassigned (reportGeneralTypeIssues)
c:\Users\12742\Desktop\douyin_guaji-main\gui_app.py:38:50 - error: "RIGHT" is declared as Final and cannot be reassigned (reportGeneralTypeIssues)
c:\Users\12742\Desktop\douyin_guaji-main\gui_app.py:38:57 - error: "BOTH" is declared as Final and cannot be reassigned (reportGeneralTypeIssues)
c:\Users\12742\Desktop\douyin_guaji-main\gui_app.py:38:63 - error: "X" is declared as Final and cannot be reassigned (reportGeneralTypeIssues)
c:\Users\12742\Desktop\douyin_guaji-main\gui_app.py:38:66 - error: "Y" is declared as Final and cannot be reassigned (reportGeneralTypeIssues)
c:\Users\12742\Desktop\douyin_guaji-main\gui_app.py:1334:41 - error: Cannot access attribute "analyse_pic_word" for class "underlying_operations"
聽聽Attribute "analyse_pic_word" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\gui_app.py:1516:9 - error: Argument of type "PhotoImage" cannot be assigned to parameter "value" of type "None" in function "__setitem__"
聽聽"PhotoImage" is not assignable to "None" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\run_cli.py
c:\Users\12742\Desktop\douyin_guaji-main\run_cli.py:236:20 - error: Cannot access attribute "reconfigure" for class "TextIO"
聽聽Attribute "reconfigure" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\run_cli.py:240:20 - error: Cannot access attribute "reconfigure" for class "TextIO"
聽聽Attribute "reconfigure" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\run_cli.py:273:18 - error: Cannot access attribute "_save_step_screenshot" for class "fudai_analyse"
聽聽Attribute "_save_step_screenshot" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\run_cli.py:276:31 - error: Cannot access attribute "_scale_from_base" for class "fudai_analyse"
聽聽Attribute "_scale_from_base" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\run_cli.py:281:26 - error: Cannot access attribute "yanghao_comment_btn_x" for class "fudai_analyse"
聽聽Attribute "yanghao_comment_btn_x" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\run_cli.py:281:58 - error: Cannot access attribute "yanghao_comment_btn_y" for class "fudai_analyse"
聽聽Attribute "yanghao_comment_btn_y" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\run_cli.py:284:22 - error: Cannot access attribute "_save_step_screenshot" for class "fudai_analyse"
聽聽Attribute "_save_step_screenshot" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\run_cli.py:287:26 - error: Cannot access attribute "yanghao_comment_input_x" for class "fudai_analyse"
聽聽Attribute "yanghao_comment_input_x" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\run_cli.py:287:60 - error: Cannot access attribute "yanghao_comment_input_y" for class "fudai_analyse"
聽聽Attribute "yanghao_comment_input_y" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\run_cli.py:290:22 - error: Cannot access attribute "_save_step_screenshot" for class "fudai_analyse"
聽聽Attribute "_save_step_screenshot" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\run_cli.py:292:31 - error: Cannot access attribute "_scale_from_base" for class "fudai_analyse"
聽聽Attribute "_scale_from_base" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\run_cli.py:293:30 - error: Cannot access attribute "yanghao_comment_input_x" for class "fudai_analyse"
聽聽Attribute "yanghao_comment_input_x" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\run_cli.py:294:30 - error: Cannot access attribute "yanghao_comment_input_y" for class "fudai_analyse"
聽聽Attribute "yanghao_comment_input_y" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\run_cli.py:299:22 - error: Cannot access attribute "_save_step_screenshot" for class "fudai_analyse"
聽聽Attribute "_save_step_screenshot" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\run_cli.py:304:22 - error: Cannot access attribute "_save_step_screenshot" for class "fudai_analyse"
聽聽Attribute "_save_step_screenshot" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\run_cli.py:307:26 - error: Cannot access attribute "yanghao_comment_close_x" for class "fudai_analyse"
聽聽Attribute "yanghao_comment_close_x" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\run_cli.py:307:60 - error: Cannot access attribute "yanghao_comment_close_y" for class "fudai_analyse"
聽聽Attribute "yanghao_comment_close_y" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\run_cli.py:310:22 - error: Cannot access attribute "_save_step_screenshot" for class "fudai_analyse"
聽聽Attribute "_save_step_screenshot" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\run_cli.py:329:18 - error: Cannot assign to attribute "yanghao_use_recommend_flow" for class "fudai_analyse"
聽聽Attribute "yanghao_use_recommend_flow" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\run_cli.py:340:18 - error: Cannot access attribute "_yanghao_recommend_flow" for class "fudai_analyse"
聽聽Attribute "_yanghao_recommend_flow" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\run_cli.py:362:18 - error: Cannot assign to attribute "auto_join_fansclub" for class "fudai_analyse"
聽聽Attribute "auto_join_fansclub" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\run_cli.py:364:18 - error: Cannot assign to attribute "fansclub_fail_action" for class "fudai_analyse"
聽聽Attribute "fansclub_fail_action" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\run_cli.py:380:22 - error: Cannot assign to attribute "reservation_back_swipe_delay_fast_seconds" for class "fudai_analyse"
聽聽Attribute "reservation_back_swipe_delay_fast_seconds" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\run_cli.py:400:18 - error: Cannot assign to attribute "enable_ocr_mode1" for class "fudai_analyse"
聽聽Attribute "enable_ocr_mode1" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\run_cli.py:402:18 - error: Cannot assign to attribute "enable_ocr_mode1" for class "fudai_analyse"
聽聽Attribute "enable_ocr_mode1" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\tools\legacy\ocr_optimizer.py
c:\Users\12742\Desktop\douyin_guaji-main\tools\legacy\ocr_optimizer.py:125:22 - error: Argument of type "Literal[1]" cannot be assigned to parameter "key" of type "str" in function "__getitem__"
聽聽"Literal[1]" is not assignable to "str" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\tools\legacy\ocr_optimizer.py:215:18 - error: Import "tencentcloud.common" could not be resolved (reportMissingImports)
c:\Users\12742\Desktop\douyin_guaji-main\tools\legacy\ocr_optimizer.py:216:18 - error: Import "tencentcloud.common.profile.client_profile" could not be resolved (reportMissingImports)
c:\Users\12742\Desktop\douyin_guaji-main\tools\legacy\ocr_optimizer.py:217:18 - error: Import "tencentcloud.common.profile.http_profile" could not be resolved (reportMissingImports)
c:\Users\12742\Desktop\douyin_guaji-main\tools\legacy\ocr_optimizer.py:218:18 - error: Import "tencentcloud.ocr.v20181119" could not be resolved (reportMissingImports)
c:\Users\12742\Desktop\douyin_guaji-main\tools\legacy\view_image_coords.py
c:\Users\12742\Desktop\douyin_guaji-main\tools\legacy\view_image_coords.py:13:20 - error: Cannot access attribute "reconfigure" for class "TextIO"
聽聽Attribute "reconfigure" is unknown (reportAttributeAccessIssue)
c:\Users\12742\Desktop\douyin_guaji-main\web_gui.py
c:\Users\12742\Desktop\douyin_guaji-main\web_gui.py:607:30 - error: "get" is not a known attribute of "None" (reportOptionalMemberAccess)
c:\Users\12742\Desktop\douyin_guaji-main\web_gui.py:610:30 - error: "get" is not a known attribute of "None" (reportOptionalMemberAccess)
c:\Users\12742\Desktop\douyin_guaji-main\web_gui.py:613:32 - error: "get" is not a known attribute of "None" (reportOptionalMemberAccess)
c:\Users\12742\Desktop\douyin_guaji-main\web_gui.py:619:22 - error: "get" is not a known attribute of "None" (reportOptionalMemberAccess)
c:\Users\12742\Desktop\douyin_guaji-main\web_gui.py:621:44 - error: Argument of type "list[int]" cannot be assigned to parameter "edges" of type "list[float]" in function "_bucket"
聽聽"list[int]" is not assignable to "list[float]"
聽聽聽聽Type parameter "_T@list" is invariant, but "int" is not the same as "float"
聽聽聽聽Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\web_gui.py:623:22 - error: "get" is not a known attribute of "None" (reportOptionalMemberAccess)
c:\Users\12742\Desktop\douyin_guaji-main\web_gui.py:625:44 - error: Argument of type "list[int]" cannot be assigned to parameter "edges" of type "list[float]" in function "_bucket"
聽聽"list[int]" is not assignable to "list[float]"
聽聽聽聽Type parameter "_T@list" is invariant, but "int" is not the same as "float"
聽聽聽聽Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\web_gui.py:627:23 - error: "get" is not a known attribute of "None" (reportOptionalMemberAccess)
c:\Users\12742\Desktop\douyin_guaji-main\web_gui.py:631:50 - error: Argument of type "list[int]" cannot be assigned to parameter "edges" of type "list[float]" in function "_bucket"
聽聽"list[int]" is not assignable to "list[float]"
聽聽聽聽Type parameter "_T@list" is invariant, but "int" is not the same as "float"
聽聽聽聽Consider switching from "list" to "Sequence" which is covariant (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\web_gui.py:779:38 - error: Argument of type "Unknown | None" cannot be assigned to parameter "x" of type "ConvertibleToInt" in function "__new__"
聽聽Type "Unknown | None" is not assignable to type "ConvertibleToInt"
聽聽聽聽Type "None" is not assignable to type "ConvertibleToInt"
聽聽聽聽聽聽"None" is not assignable to "str"
聽聽聽聽聽聽"None" is incompatible with protocol "Buffer"
聽聽聽聽聽聽聽聽"__buffer__" is not present
聽聽聽聽聽聽"None" is incompatible with protocol "SupportsInt"
聽聽聽聽聽聽聽聽"__int__" is not present
聽聽聽聽聽聽"None" is incompatible with protocol "SupportsIndex"
... (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\web_gui.py:779:38 - error: Argument of type "Unknown | None" cannot be assigned to parameter "x" of type "ConvertibleToInt" in function "__new__"
聽聽Type "Unknown | None" is not assignable to type "ConvertibleToInt"
聽聽聽聽Type "None" is not assignable to type "ConvertibleToInt"
聽聽聽聽聽聽"None" is not assignable to "str"
聽聽聽聽聽聽"None" is incompatible with protocol "Buffer"
聽聽聽聽聽聽聽聽"__buffer__" is not present
聽聽聽聽聽聽"None" is incompatible with protocol "SupportsInt"
聽聽聽聽聽聽聽聽"__int__" is not present
聽聽聽聽聽聽"None" is incompatible with protocol "SupportsIndex" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\web_gui.py:1322:9 - error: Method "log_message" overrides class "BaseHTTPRequestHandler" in an incompatible manner
聽聽Parameter 2 name mismatch: base parameter is named "format", override parameter is named "fmt" (reportIncompatibleMethodOverride)
c:\Users\12742\Desktop\douyin_guaji-main\webgui_launcher.py
c:\Users\12742\Desktop\douyin_guaji-main\webgui_launcher.py:53:49 - error: Argument of type "tuple[Literal['w'], Literal['e'], Literal['n'], Literal['s']]" cannot be assigned to parameter "sticky" of type "str" in function "grid_configure"
聽聽"tuple[Literal['w'], Literal['e'], Literal['n'], Literal['s']]" is not assignable to "str" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\webgui_launcher.py:71:65 - error: Argument of type "tuple[Literal['w'], Literal['e']]" cannot be assigned to parameter "sticky" of type "str" in function "grid_configure"
聽聽"tuple[Literal['w'], Literal['e']]" is not assignable to "str" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\webgui_launcher.py:82:65 - error: Argument of type "tuple[Literal['w'], Literal['e']]" cannot be assigned to parameter "sticky" of type "str" in function "grid_configure"
聽聽"tuple[Literal['w'], Literal['e']]" is not assignable to "str" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\webgui_launcher.py:120:62 - error: Argument of type "tuple[Literal['w'], Literal['e'], Literal['n'], Literal['s']]" cannot be assigned to parameter "sticky" of type "str" in function "grid_configure"
聽聽"tuple[Literal['w'], Literal['e'], Literal['n'], Literal['s']]" is not assignable to "str" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\webgui_launcher.py:136:63 - error: Argument of type "tuple[Literal['w'], Literal['e']]" cannot be assigned to parameter "sticky" of type "str" in function "grid_configure"
聽聽"tuple[Literal['w'], Literal['e']]" is not assignable to "str" (reportArgumentType)
c:\Users\12742\Desktop\douyin_guaji-main\webgui_launcher.py:308:57 - error: "readline" is not a known attribute of "None" (reportOptionalMemberAccess)
140 errors, 1 warning, 0 informations