#2579 ValueError: invalid literal for int() with base 10: '1.5'

140.240* Posted at: 21 hours ago 👁10

Traceback (most recent call last):
File "videotrans\mainwin\_actions.py", line 635, in check_start
ValueError: invalid literal for int() with base 10: '1.5'


=
system:Windows-10-10.0.26200-SP0
version:v3.92
frozen:True
language:zh
root_dir:D:/zimufanyi

1 Replies

这个错误是因为在“高级选项”的“配音调整”区域,您将“同时配音字幕数”或“配音后暂停时间/秒”等需要输入整数的参数,填写成了包含小数点的字符串 '1.5'

解决方法:

  1. 点击菜单栏的 工具 -> 选项 -> 高级选项
  2. 在打开的“高级选项”窗口中,找到“配音调整”区域。
  3. 检查“同时配音字幕数”、“配音后暂停时间/秒”等文本框,确保您输入的是整数(例如 125),而不是 1.52.0 等带小数点的数字。
  4. 将错误的数值修改为整数后,点击“保存”按钮。
  5. 重新启动软件即可。

请查看更多参考文档:

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.

Donate: https://ko-fi.com/jianchang512

Trending Questions