Huanshere / Huanshere/VideoLingo

[red]❌ Expressiveness translation of block 13 failed after 3 retries. 报错如何处理啊?

Open
#433 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
18.5k
Forks
2k
Avg merge
7h 41m
Merged PRs (30d)
12

Description

File "C:\Users\yx\Desktop\VideoLingobylicor250220全量包含中英日韩模型\VideoLingobylicor250220\miniconda\envs\videolingo\lib\site-packages\streamlit\runtime\scriptrunner\exec_code.py", line 88, in exec_func_with_error_handling
result = func()
File "C:\Users\yx\Desktop\VideoLingobylicor250220全量包含中英日韩模型\VideoLingobylicor250220\miniconda\envs\videolingo\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 590, in code_to_exec
exec(code, module.dict)
File "C:\Users\yx\Desktop\VideoLingobylicor250220全量包含中英日韩模型\VideoLingobylicor250220\st.py", line 241, in
main()
File "C:\Users\yx\Desktop\VideoLingobylicor250220全量包含中英日韩模型\VideoLingobylicor250220\st.py", line 235, in main
text_processing_section()
File "C:\Users\yx\Desktop\VideoLingobylicor250220全量包含中英日韩模型\VideoLingobylicor250220\st.py", line 65, in text_processing_section
process_text()
File "C:\Users\yx\Desktop\VideoLingobylicor250220全量包含中英日韩模型\VideoLingobylicor250220\st.py", line 87, in process_text
step4_2_translate_all.translate_all()
File "C:\Users\yx\Desktop\VideoLingobylicor250220全量包含中英日韩模型\VideoLingobylicor250220\core\step4_2_translate_all.py", line 88, in translate_all
results.append(future.result())
File "C:\Users\yx\Desktop\VideoLingobylicor250220全量包含中英日韩模型\VideoLingobylicor250220\miniconda\envs\videolingo\lib\concurrent\futures_base.py", line 451, in result
return self.__get_result()
File "C:\Users\yx\Desktop\VideoLingobylicor250220全量包含中英日韩模型\VideoLingobylicor250220\miniconda\envs\videolingo\lib\concurrent\futures_base.py", line 403, in __get_result
raise self._exception
File "C:\Users\yx\Desktop\VideoLingobylicor250220全量包含中英日韩模型\VideoLingobylicor250220\miniconda\envs\videolingo\lib\concurrent\futures\thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "C:\Users\yx\Desktop\VideoLingobylicor250220全量包含中英日韩模型\VideoLingobylicor250220\core\step4_2_translate_all.py", line 54, in translate_chunk
translation, english_result = translate_lines(chunk, previous_content_prompt, after_content_prompt, things_to_note_prompt, theme_prompt, i)
File "C:\Users\yx\Desktop\VideoLingobylicor250220全量包含中英日韩模型\VideoLingobylicor250220\core\translate_once.py", line 81, in translate_lines
express_result = retry_translation(prompt2, 'expressiveness')
File "C:\Users\yx\Desktop\VideoLingobylicor250220全量包含中英日韩模型\VideoLingobylicor250220\core\translate_once.py", line 46, in retry_translation
raise ValueError(f'[red]❌ {step_name.capitalize()} translation of block {index} failed after 3 retries. Please check output/gpt_log/error.json for more details.[/red]')

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with core/step4_2_translate_all.py and core/translate_once.py, following the block-13 retry path. Check output/gpt_log/error.json for the underlying failure and reproduce the reported translation run. Done means the cause is identified and expressiveness translation completes without the three-retry error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, streamlit
Domain
ai, localization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.