Files
douyin-imbot/logs/douyin_imbot_20250402-181701.log
2025-04-02 21:01:25 +08:00

110 lines
11 KiB
Plaintext

2025-04-02 18:17:01,503 - root - INFO - 日志系统初始化完成
2025-04-02 18:17:01,504 - root - INFO - 日志文件: C:\Users\32075\OneDrive\文档\Code\RPA_Script\douyin-imbot\logs\douyin_imbot_20250402-181701.log
2025-04-02 18:17:03,127 - __main__ - INFO - Playwright浏览器已安装
2025-04-02 18:17:03,129 - douyin_imbot.config.settings - INFO - 已从文件加载设置
2025-04-02 18:17:03,651 - douyin_imbot.browser.browser_manager - INFO - 找到 1 个配置文件: ['default']
2025-04-02 18:17:03,652 - douyin_imbot.ui.main_window - INFO - 获取到的配置文件列表: ['default']
2025-04-02 18:17:03,713 - douyin_imbot.ui.main_window - INFO - 默认选择配置文件: default
2025-04-02 18:17:03,809 - douyin_imbot.ui.main_window - INFO - 控制面板设置完成
2025-04-02 18:17:03,864 - douyin_imbot.ui.main_window - INFO - 设置面板设置完成
2025-04-02 18:17:03,900 - douyin_imbot.ui.main_window - INFO - 关于面板设置完成
2025-04-02 18:17:03,923 - douyin_imbot.ui.main_window - INFO - UI 组件创建完成
2025-04-02 18:17:03,924 - douyin_imbot.ui.main_window - INFO - 主窗口初始化完成
2025-04-02 18:17:04,424 - douyin_imbot.ui.main_window - INFO - 正在刷新配置文件列表...
2025-04-02 18:17:04,425 - douyin_imbot.browser.browser_manager - INFO - 已清除配置文件缓存
2025-04-02 18:17:04,426 - douyin_imbot.browser.browser_manager - INFO - 找到 1 个配置文件: ['default']
2025-04-02 18:17:04,427 - douyin_imbot.ui.main_window - INFO - 刷新后的配置文件列表: ['default']
2025-04-02 18:17:06,921 - douyin_imbot.ui.main_window - INFO - 打开配置文件管理对话框
2025-04-02 18:17:10,306 - douyin_imbot.ui.main_window - INFO - 正在刷新配置文件列表...
2025-04-02 18:17:10,308 - douyin_imbot.browser.browser_manager - INFO - 已清除配置文件缓存
2025-04-02 18:17:10,310 - douyin_imbot.browser.browser_manager - INFO - 找到 1 个配置文件: ['default']
2025-04-02 18:17:10,310 - douyin_imbot.ui.main_window - INFO - 刷新后的配置文件列表: ['default']
2025-04-02 18:44:19,899 - douyin_imbot.ui.main_window - INFO - 正在刷新配置文件列表...
2025-04-02 18:44:19,900 - douyin_imbot.browser.browser_manager - INFO - 已清除配置文件缓存
2025-04-02 18:44:19,901 - douyin_imbot.browser.browser_manager - INFO - 找到 1 个配置文件: ['default']
2025-04-02 18:44:19,901 - douyin_imbot.ui.main_window - INFO - 刷新后的配置文件列表: ['default']
2025-04-02 18:46:04,221 - douyin_imbot.ui.main_window - INFO - 正在刷新配置文件列表...
2025-04-02 18:46:04,228 - douyin_imbot.browser.browser_manager - INFO - 已清除配置文件缓存
2025-04-02 18:47:59,171 - douyin_imbot.browser.browser_manager - INFO - 找到 1 个配置文件: ['default']
2025-04-02 18:47:59,172 - douyin_imbot.ui.main_window - INFO - 刷新后的配置文件列表: ['default']
2025-04-02 18:48:02,423 - douyin_imbot.ui.main_window - INFO - 打开配置文件管理对话框
2025-04-02 18:48:26,067 - douyin_imbot.config.settings - INFO - 设置已保存到文件
2025-04-02 18:48:26,067 - douyin_imbot.browser.profile_manager - INFO - 已设置浏览器缓存目录: C:/Users/32075/OneDrive/文档/Code/RPA_Script/douyin-imbot/browser_profiles
2025-04-02 18:48:29,059 - douyin_imbot.ui.main_window - INFO - 正在刷新配置文件列表...
2025-04-02 18:48:29,060 - douyin_imbot.browser.browser_manager - INFO - 已清除配置文件缓存
2025-04-02 18:48:29,061 - douyin_imbot.browser.browser_manager - INFO - 找到 1 个配置文件: ['default']
2025-04-02 18:48:29,062 - douyin_imbot.ui.main_window - INFO - 刷新后的配置文件列表: ['default']
2025-04-02 18:48:35,761 - douyin_imbot.ui.main_window - INFO - 打开配置文件管理对话框
2025-04-02 18:48:45,518 - douyin_imbot.browser.profile_manager - INFO - 已删除配置文件目录: C:\Users\32075\DouYinBot_Browser_Cache\Profile_8da040dd-3aae-43bf-9dbb-b9778b8402a6
2025-04-02 18:48:45,520 - douyin_imbot.config.settings - INFO - 设置已保存到文件
2025-04-02 18:48:45,520 - douyin_imbot.browser.profile_manager - INFO - 已删除配置文件: 小一
2025-04-02 18:48:46,917 - douyin_imbot.ui.main_window - INFO - 配置文件已更改,列表已刷新
2025-04-02 18:48:47,017 - douyin_imbot.ui.main_window - INFO - 正在刷新配置文件列表...
2025-04-02 18:48:47,018 - douyin_imbot.browser.browser_manager - INFO - 已清除配置文件缓存
2025-04-02 18:48:47,020 - douyin_imbot.browser.browser_manager - INFO - 找到 1 个配置文件: ['default']
2025-04-02 18:48:47,020 - douyin_imbot.ui.main_window - INFO - 刷新后的配置文件列表: ['default']
2025-04-02 18:48:52,072 - douyin_imbot.browser.profile_manager - INFO - 已删除配置文件目录: C:\Users\32075\DouYinBot_Browser_Cache\Profile_1935cfa3-8dff-4365-92de-cc53174d90ee
2025-04-02 18:48:52,074 - douyin_imbot.config.settings - INFO - 设置已保存到文件
2025-04-02 18:48:52,074 - douyin_imbot.browser.profile_manager - INFO - 已删除配置文件: 测试
2025-04-02 18:48:53,134 - douyin_imbot.ui.main_window - INFO - 配置文件已更改,列表已刷新
2025-04-02 18:48:53,244 - douyin_imbot.ui.main_window - INFO - 正在刷新配置文件列表...
2025-04-02 18:48:53,247 - douyin_imbot.browser.browser_manager - INFO - 已清除配置文件缓存
2025-04-02 18:48:53,248 - douyin_imbot.browser.browser_manager - INFO - 找到 1 个配置文件: ['default']
2025-04-02 18:48:53,248 - douyin_imbot.ui.main_window - INFO - 刷新后的配置文件列表: ['default']
2025-04-02 18:49:04,317 - douyin_imbot.config.settings - INFO - 设置已保存到文件
2025-04-02 18:49:04,318 - douyin_imbot.browser.profile_manager - INFO - 已创建新的浏览器配置文件: 测试
2025-04-02 18:49:05,700 - douyin_imbot.ui.main_window - INFO - 配置文件已更改,列表已刷新
2025-04-02 18:49:05,807 - douyin_imbot.ui.main_window - INFO - 正在刷新配置文件列表...
2025-04-02 18:49:05,809 - douyin_imbot.browser.browser_manager - INFO - 已清除配置文件缓存
2025-04-02 18:49:05,810 - douyin_imbot.browser.browser_manager - INFO - 找到 1 个配置文件: ['default']
2025-04-02 18:49:05,811 - douyin_imbot.ui.main_window - INFO - 刷新后的配置文件列表: ['default']
2025-04-02 18:49:07,539 - douyin_imbot.ui.main_window - INFO - 正在刷新配置文件列表...
2025-04-02 18:49:07,541 - douyin_imbot.browser.browser_manager - INFO - 已清除配置文件缓存
2025-04-02 18:49:07,543 - douyin_imbot.browser.browser_manager - INFO - 找到 1 个配置文件: ['default']
2025-04-02 18:49:07,543 - douyin_imbot.ui.main_window - INFO - 刷新后的配置文件列表: ['default']
2025-04-02 18:49:11,328 - douyin_imbot.ui.main_window - INFO - 正在刷新配置文件列表...
2025-04-02 18:49:11,330 - douyin_imbot.browser.browser_manager - INFO - 已清除配置文件缓存
2025-04-02 18:49:11,331 - douyin_imbot.browser.browser_manager - INFO - 找到 1 个配置文件: ['default']
2025-04-02 18:49:11,331 - douyin_imbot.ui.main_window - INFO - 刷新后的配置文件列表: ['default']
2025-04-02 18:49:11,922 - douyin_imbot.ui.main_window - INFO - 正在刷新配置文件列表...
2025-04-02 18:49:11,923 - douyin_imbot.browser.browser_manager - INFO - 已清除配置文件缓存
2025-04-02 18:49:11,924 - douyin_imbot.browser.browser_manager - INFO - 找到 1 个配置文件: ['default']
2025-04-02 18:49:11,925 - douyin_imbot.ui.main_window - INFO - 刷新后的配置文件列表: ['default']
2025-04-02 18:49:12,075 - douyin_imbot.ui.main_window - INFO - 正在刷新配置文件列表...
2025-04-02 18:49:12,077 - douyin_imbot.browser.browser_manager - INFO - 已清除配置文件缓存
2025-04-02 18:49:12,078 - douyin_imbot.browser.browser_manager - INFO - 找到 1 个配置文件: ['default']
2025-04-02 18:49:12,078 - douyin_imbot.ui.main_window - INFO - 刷新后的配置文件列表: ['default']
2025-04-02 18:49:13,249 - douyin_imbot.ui.main_window - INFO - 打开配置文件管理对话框
2025-04-02 18:49:17,438 - douyin_imbot.browser.browser_manager - INFO - 使用用户数据目录: C:/Users/32075/OneDrive/文档/Code/RPA_Script/douyin-imbot/browser_profiles\Profile_e619c102-eb4e-4791-94fe-493df357abc2
2025-04-02 18:49:19,542 - douyin_imbot.config.settings - INFO - 设置已保存到文件
2025-04-02 18:49:19,543 - douyin_imbot.browser.browser_manager - INFO - 已启动浏览器,使用配置文件: 测试
2025-04-02 18:49:24,527 - douyin_imbot.browser.browser_manager - ERROR - 导航时出错: Page.goto: Target page, context or browser has been closed
Call log:
- navigating to "https://www.douyin.com/", waiting until "load"
2025-04-02 18:49:27,632 - douyin_imbot.ui.main_window - INFO - 正在刷新配置文件列表...
2025-04-02 18:49:27,634 - douyin_imbot.browser.browser_manager - INFO - 已清除配置文件缓存
2025-04-02 18:49:27,635 - douyin_imbot.browser.browser_manager - INFO - 找到 1 个配置文件: ['Profile_e619c102-eb4e-4791-94fe-493df357abc2']
2025-04-02 18:49:27,636 - douyin_imbot.ui.main_window - INFO - 刷新后的配置文件列表: ['Profile_e619c102-eb4e-4791-94fe-493df357abc2']
2025-04-02 18:49:27,637 - douyin_imbot.ui.main_window - INFO - 用户选择配置文件: Profile_e619c102-eb4e-4791-94fe-493df357abc2
2025-04-02 18:49:32,994 - douyin_imbot.ui.main_window - INFO - 启动机器人,使用配置: Profile_e619c102-eb4e-4791-94fe-493df357abc2
2025-04-02 18:49:33,004 - douyin_imbot.ui.main_window - ERROR - 启动机器人失败: BrowserManager.launch_browser() got an unexpected keyword argument 'profile_name'. Did you mean 'profile_id'?
2025-04-02 18:49:33,007 - douyin_imbot.ui.main_window - ERROR - Traceback (most recent call last):
File "C:\Users\32075\OneDrive\文档\Code\RPA_Script\douyin-imbot\douyin_imbot\ui\main_window.py", line 514, in start_bot
page = self.browser_manager.launch_browser(
headless=False, profile_name=self.current_profile
)
TypeError: BrowserManager.launch_browser() got an unexpected keyword argument 'profile_name'. Did you mean 'profile_id'?
2025-04-02 18:49:35,566 - douyin_imbot.ui.main_window - INFO - 启动机器人,使用配置: Profile_e619c102-eb4e-4791-94fe-493df357abc2
2025-04-02 18:49:35,567 - douyin_imbot.ui.main_window - ERROR - 启动机器人失败: BrowserManager.launch_browser() got an unexpected keyword argument 'profile_name'. Did you mean 'profile_id'?
2025-04-02 18:49:35,568 - douyin_imbot.ui.main_window - ERROR - Traceback (most recent call last):
File "C:\Users\32075\OneDrive\文档\Code\RPA_Script\douyin-imbot\douyin_imbot\ui\main_window.py", line 514, in start_bot
page = self.browser_manager.launch_browser(
headless=False, profile_name=self.current_profile
)
TypeError: BrowserManager.launch_browser() got an unexpected keyword argument 'profile_name'. Did you mean 'profile_id'?
2025-04-02 18:50:25,285 - douyin_imbot.ui.main_window - INFO - 启动机器人,使用配置: Profile_e619c102-eb4e-4791-94fe-493df357abc2
2025-04-02 18:50:46,280 - douyin_imbot.ui.main_window - ERROR - 启动机器人失败: BrowserManager.launch_browser() got an unexpected keyword argument 'profile_name'. Did you mean 'profile_id'?