#4772 4.0版本在硬字幕样式编辑器中按恢复按钮报错。Traceback (most recent call last):File "videotrans\component\set_ass.py", line 575, in restore_de

16.163* Posted at: 16 hours ago

4.0版本在硬字幕样式编辑器中按恢复按钮报错。Traceback (most recent call last):
File "videotrans\component\set_ass.py", line 575, in restore_defaults
AttributeError: 'ASSStyleDialog' object has no attribute 'Bottom_font_combo'

4 Replies

暂无法确定具体原因,根据报错信息,可能为4.0版本中硬字幕样式编辑器ASSStyleDialog类的属性命名变更所致。请提供软件安装目录下的 logs/ 文件夹中最新的日志文件(复制底部约30行报错信息)以便分析。


Application started at 2026-05-29 09:12:49

[DEBUG] 上次缓存的角色:No,字幕嵌入类型:1,发音语言:en,目标语言:zh-cn,目标语言代码:None,模型:large-v3-turbo,TTS渠道[0]
[DEBUG] NVIDIA_GPU_NUMS=1
[DEBUG] Found 1 GPUs, cost=2s
[DEBUG] process_max_gpu=1,is_multi_gpus=False
[DEBUG] Concurrent task_nums=1, process_max_cpu=0
[DEBUG] start 9 jobs
[DEBUG] 返回缓存的编解码器 Windows-264: libx264
[DEBUG] 返回缓存的编解码器 Windows-265: libx265

该错误是由于4.0版本中 ASSStyleDialog 类的恢复默认功能引用了已不存在的 Bottom_font_combo 属性,属于界面控件命名变更导致的代码bug。

请提供软件安装目录下 logs/ 文件夹中当天的日志文件(复制报错时刻的前后约30行内容),以便精确分析。同时建议检查是否已安装最新补丁,该问题可能在后续版本中得到修复。

大小写问题导致的错误,后续修复

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Related resource