deconstruction_system_20251201_214302.log 11 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. 2025-12-01 21:43:02 - DeconstructionSystem - INFO - [logger.py:58] - DeconstructionLogger initialized successfully
  2. 2025-12-01 21:43:02 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:56] - ScriptWorkflowV2 初始化完成,model_provider: google_genai
  3. 2025-12-01 21:43:02 - DeconstructionSystem.__main__ - INFO - [run_batch_script_v2.py:87] - 处理视频: channel_content_id=53009047 title=人到晚年,看看咱年轻时的模样!😊
  4. 2025-12-01 21:43:02 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:171] - === 开始执行 ScriptWorkflowV2(视频 → L3 单元 → L1/L2 整体解构) ===
  5. 2025-12-01 21:43:02 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:73] - ScriptWorkflowV2 图构建完成 - 流程:视频上传 → L3 单元拆分 → 整体理解
  6. 2025-12-01 21:43:02 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:79] - === ScriptWorkflowV2:执行节点 video_upload ===
  7. 2025-12-01 21:43:02 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:68] - 开始下载视频: https://rescdn.yishihui.com/longvideo/transcode/video/vpc/20250517/93cac5eae2b371328a163f3208a22d10.mp4
  8. 2025-12-01 21:43:02 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:275] - 构建文件路径: /Users/jihuaqiang/piaoquan/aigc_how_decode_base_project_0916_1125/examples/53009047/53009047.mp4
  9. 2025-12-01 21:43:02 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:153] - 未在examples目录下找到同名文件,开始下载...
  10. 2025-12-01 21:43:04 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:203] - 视频下载完成,大小: 19.19 MB
  11. 2025-12-01 21:43:04 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:82] - 视频文件路径: /var/folders/zg/ktsngwv13cd2wp32tyfx17_c0000gn/T/tmp0ol04t3d.mp4
  12. 2025-12-01 21:43:04 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:164] - 上传视频到Gemini: /var/folders/zg/ktsngwv13cd2wp32tyfx17_c0000gn/T/tmp0ol04t3d.mp4
  13. 2025-12-01 21:43:11 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:120] - 等待文件处理...
  14. 2025-12-01 21:43:23 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:149] - 文件处理完成
  15. 2025-12-01 21:43:23 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:172] - 视频上传并处理完成
  16. 2025-12-01 21:43:23 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:114] - 视频上传成功,文件名称: None
  17. 2025-12-01 21:43:23 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:90] - 视频上传完成 - URI: https://generativelanguage.googleapis.com/v1beta/files/1kjf74jxb97p
  18. 2025-12-01 21:43:23 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:107] - === ScriptWorkflowV2:执行节点 content_unit_split ===
  19. 2025-12-01 21:43:23 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:82] - ================================================================================
  20. 2025-12-01 21:43:23 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:83] - 内容单元拆分 (ContentUnitSplitAgent)
  21. 2025-12-01 21:43:23 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:84] - ================================================================================
  22. 2025-12-01 21:43:23 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:79] - 通过 URI 提取的 file_name 获取文件: 1kjf74jxb97p
  23. 2025-12-01 21:43:24 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:101] - 开始视频脚本分析和L3单元拆分...
  24. 2025-12-01 21:43:24 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:258] - 内容单元拆分分析 - 开始视频分析...
  25. 2025-12-01 21:46:21 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:298] - 内容单元拆分分析 - 视频分析完成
  26. 2025-12-01 21:46:21 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:126] - 分析完成,单元数量: 115
  27. 2025-12-01 21:46:21 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:127] - ================================================================================
  28. 2025-12-01 21:46:21 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:117] - L3 单元拆分完成,是否包含 markdown_result: False, 长度: 0
  29. 2025-12-01 21:46:21 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:133] - === ScriptWorkflowV2:执行节点 content_unit_understand ===
  30. 2025-12-01 21:46:21 - DeconstructionSystem.src.components.agents.content_unit_understand - INFO - [content_unit_understand.py:91] - ================================================================================
  31. 2025-12-01 21:46:21 - DeconstructionSystem.src.components.agents.content_unit_understand - INFO - [content_unit_understand.py:92] - 内容整体结构理解 (ContentUnitUnderstandAgent)
  32. 2025-12-01 21:46:21 - DeconstructionSystem.src.components.agents.content_unit_understand - INFO - [content_unit_understand.py:93] - ================================================================================
  33. 2025-12-01 21:46:21 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:79] - 通过 URI 提取的 file_name 获取文件: 1kjf74jxb97p
  34. 2025-12-01 21:46:21 - DeconstructionSystem.src.components.agents.content_unit_understand - ERROR - [content_unit_understand.py:165] - 内容整体结构理解分析失败: Invalid format specifier ' "...",
  35. "整体实质×形式": "...",
  36. "纵向逻辑流": "...",
  37. ' for object of type 'str'
  38. Traceback (most recent call last):
  39. File "/Users/jihuaqiang/piaoquan/aigc_how_decode_base_project_0916_1125/src/components/agents/content_unit_understand.py", line 115, in process
  40. prompt = self._build_analysis_prompt(content_unit_analysis=content_unit_analysis)
  41. File "/Users/jihuaqiang/piaoquan/aigc_how_decode_base_project_0916_1125/src/components/agents/content_unit_understand.py", line 226, in _build_analysis_prompt
  42. "整体解构": {
  43. ^
  44. ...<3 lines>...
  45. },
  46. ^
  47. ValueError: Invalid format specifier ' "...",
  48. "整体实质×形式": "...",
  49. "纵向逻辑流": "...",
  50. ' for object of type 'str'
  51. 2025-12-01 21:46:21 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:143] - 整体结构理解完成,是否包含 markdown_result: True, 长度: 0
  52. 2025-12-01 21:46:21 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:184] - === ScriptWorkflowV2 执行完成 ===
  53. 2025-12-01 21:46:21 - DeconstructionSystem.__main__ - INFO - [run_batch_script_v2.py:87] - 处理视频: channel_content_id=58840748 title=🔴😂笑死了!让狗咬了,还要粘住嘴
  54. 2025-12-01 21:46:21 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:171] - === 开始执行 ScriptWorkflowV2(视频 → L3 单元 → L1/L2 整体解构) ===
  55. 2025-12-01 21:46:21 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:79] - === ScriptWorkflowV2:执行节点 video_upload ===
  56. 2025-12-01 21:46:21 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:68] - 开始下载视频: https://rescdn.yishihui.com/longvideo/transcode/video/vpc/20250929/ce8968e2f346103b83b75c0c8100028e.mp4
  57. 2025-12-01 21:46:21 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:275] - 构建文件路径: /Users/jihuaqiang/piaoquan/aigc_how_decode_base_project_0916_1125/examples/58840748/58840748.mp4
  58. 2025-12-01 21:46:21 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:153] - 未在examples目录下找到同名文件,开始下载...
  59. 2025-12-01 21:46:25 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:203] - 视频下载完成,大小: 21.70 MB
  60. 2025-12-01 21:46:25 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:82] - 视频文件路径: /var/folders/zg/ktsngwv13cd2wp32tyfx17_c0000gn/T/tmps2tqgrz8.mp4
  61. 2025-12-01 21:46:25 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:164] - 上传视频到Gemini: /var/folders/zg/ktsngwv13cd2wp32tyfx17_c0000gn/T/tmps2tqgrz8.mp4
  62. 2025-12-01 21:46:56 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:120] - 等待文件处理...
  63. 2025-12-01 21:47:02 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:149] - 文件处理完成
  64. 2025-12-01 21:47:02 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:172] - 视频上传并处理完成
  65. 2025-12-01 21:47:02 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:114] - 视频上传成功,文件名称: None
  66. 2025-12-01 21:47:02 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:90] - 视频上传完成 - URI: https://generativelanguage.googleapis.com/v1beta/files/6pj7fkikrh5g
  67. 2025-12-01 21:47:02 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:107] - === ScriptWorkflowV2:执行节点 content_unit_split ===
  68. 2025-12-01 21:47:02 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:82] - ================================================================================
  69. 2025-12-01 21:47:02 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:83] - 内容单元拆分 (ContentUnitSplitAgent)
  70. 2025-12-01 21:47:02 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:84] - ================================================================================
  71. 2025-12-01 21:47:02 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:79] - 通过 URI 提取的 file_name 获取文件: 6pj7fkikrh5g
  72. 2025-12-01 21:47:02 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:101] - 开始视频脚本分析和L3单元拆分...
  73. 2025-12-01 21:47:02 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:258] - 内容单元拆分分析 - 开始视频分析...