- Introduced new logging modules for action tracking, error logging, and performance tracking to improve observability. - Added functions for retrieving debug and error log paths in `path_config.py`. - Updated various components to utilize the new logging system, enhancing error handling and performance diagnostics. - Implemented a GUI component for viewing error logs, improving user experience in monitoring application issues. - Cleaned up unnecessary blank lines and improved code readability across multiple files.
29 lines
1.7 KiB
Plaintext
29 lines
1.7 KiB
Plaintext
============================================================
|
|
自动测试GUI启动功能
|
|
============================================================
|
|
开始自动GUI测试...
|
|
注意: 测试将启动GUI窗口,请不要手动操作
|
|
|
|
[1] 设置环境变量,启用自动启动...
|
|
|
|
[2] 启动GUI进程...
|
|
[信息] 命令: C:\Users\12742\AppData\Local\Programs\Python\Python312\python.exe gui/gui_app.py
|
|
[OK] GUI进程已启动,PID: 209032
|
|
|
|
[3] 监听GUI输出...
|
|
[GUI] Traceback (most recent call last):
|
|
[GUI] File "C:\Users\12742\Desktop\douyin_guaji-main\gui\gui_app.py", line 14, in <module>
|
|
|
|
[检测] GUI进程已退出
|
|
|
|
[FAIL] GUI进程已退出,退出码: 1
|
|
[测试结果] 失败 - GUI启动后退出
|
|
|
|
[最后输出]:
|
|
Traceback (most recent call last):
|
|
File "C:\Users\12742\Desktop\douyin_guaji-main\gui\gui_app.py", line 14, in <module>
|
|
|
|
============================================================
|
|
|
|
测试异常: 'gbk' codec can't encode character '\u2717' in position 9: illegal multibyte sequence
|