- 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.
28 lines
1.5 KiB
Plaintext
28 lines
1.5 KiB
Plaintext
============================================================
|
|
GUI崩溃捕获测试
|
|
============================================================
|
|
开始GUI崩溃捕获测试...
|
|
注意: 这个测试会启动GUI窗口,请不要手动操作
|
|
|
|
[1] 设置测试环境...
|
|
|
|
[2] 启动GUI进程...
|
|
[OK] GUI进程已启动,PID: 204844
|
|
|
|
[3] 等待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>
|
|
from gui.gui_core import (
|
|
ModuleNotFoundError: No module named 'gui'
|
|
|
|
----------------------------------------
|
|
|
|
============================================================
|
|
|
|
测试异常: 'gbk' codec can't encode character '\u2717' in position 9: illegal multibyte sequence
|