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

下载的时候报错 Connection aborted.', ConnectionResetError,然后不停重复下载。(似乎不是一次性下载成功处理音频的时候也会报错) #371

Open
tomridder opened this issue Jan 22, 2025 · 1 comment

Comments

@tomridder
Copy link

Traceback (most recent call last):
File "D:\VideoLingo\batch\utils\batch_processor.py", line 98, in
process_batch()
File "D:\VideoLingo\batch\utils\batch_processor.py", line 86, in process_batch
df.to_excel('batch/tasks_setting.xlsx', index=False)
File "C:\Users\14027.conda\envs\videolingo\lib\site-packages\pandas\util_decorators.py", line 333, in wrapper
return func(*args, **kwargs)
File "C:\Users\14027.conda\envs\videolingo\lib\site-packages\pandas\core\generic.py", line 2417, in to_excel
formatter.write(
File "C:\Users\14027.conda\envs\videolingo\lib\site-packages\pandas\io\formats\excel.py", line 952, in write
writer._write_cells(
File "C:\Users\14027.conda\envs\videolingo\lib\site-packages\pandas\io\excel_openpyxl.py", line 490, in _write_cells
xcell.value, fmt = self._value_with_fmt(cell.val)
File "C:\Users\14027.conda\envs\videolingo\lib\site-packages\openpyxl\cell\cell.py", line 218, in value
self._bind_value(value)
File "C:\Users\14027.conda\envs\videolingo\lib\site-packages\openpyxl\cell\cell.py", line 197, in _bind_value
value = self.check_string(value)
File "C:\Users\14027.conda\envs\videolingo\lib\site-packages\openpyxl\cell\cell.py", line 165, in check_string
raise IllegalCharacterError(f"{value} cannot be used in worksheets.")
[download] Got error: ('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None)) cannot be used in worksheets.
请按任意键继续. . .

=======================

请问是我的vps的问题还是下载程序的问题。能否改进下下载程序

@Huanshere
Copy link
Owner

似乎是 excel 中出现了 IllegalCharacterError 的问题

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

No branches or pull requests

2 participants