Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alpha pyinstaller 0.5.7 版本的autosub 在翻译字幕时报错 #165

Closed
1br8s4gs4 opened this issue Feb 21, 2021 · 1 comment
Closed

Comments

@1br8s4gs4
Copy link

输出内容如下:
D:\autosub-0.5.7-alpha-win-x64-pyinstaller\autosub_pyinstaller>.\autosub -i ".\0
1.ja_jp.srt" -D zh-cn -F ass -surl translate.google.cn
输入是一个字幕文件。
Traceback (most recent call last):
File "autosub_main_.py", line 25, in
File "autosub_init_.py", line 173, in main
File "autosub\cmdline_utils.py", line 804, in sub_trans
File "autosub\core.py", line 635, in list_to_googletrans
File "site-packages\googletrans\client.py", line 249, in detect
File "site-packages\googletrans\client.py", line 75, in _translate
File "site-packages\googletrans\gtoken.py", line 200, in do
File "site-packages\googletrans\gtoken.py", line 65, in _update
AttributeError: 'NoneType' object has no attribute 'group'
[4728] Failed to execute script main

@BingLingGroup
Copy link
Owner

Duplicated #155

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants