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

retry download fail #262

Closed
PikuZheng opened this issue May 5, 2023 · 4 comments
Closed

retry download fail #262

PikuZheng opened this issue May 5, 2023 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@PikuZheng
Copy link
Contributor

get this error when trying to redownload a failed download
old version is perfect

ERROR:aiohttp.server:Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
    resp = await request_handler(request)
  File "/usr/local/lib/python3.8/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
  File "app/main.py", line 108, in add
    status = await dqueue.add(url, quality, format, folder, custom_name_prefix)
  File "/app/app/ytdl.py", line 285, in add
    return await self.__add_entry(entry, quality, format, folder, custom_name_prefix, already)
  File "/app/app/ytdl.py", line 265, in __add_entry
    self.queue.put(Download(dldirectory, output, output_chapter, quality, format, self.config.YTDL_OPTIONS, dl))
  File "/app/app/ytdl.py", line 51, in __init__
    self.format = get_format(format, quality)
  File "/app/app/dl_formats.py", line 45, in get_format
    raise Exception(f"Unkown format {format}")
Exception: Unkown format test
@alexta69
Copy link
Owner

alexta69 commented May 5, 2023

Which commit has broken this?

@PikuZheng
Copy link
Contributor Author

I am expected to give more information on Sunday. sorry.

It is currently known that when re-downloading, the "Download Folder" becomes "Format" and the addition fails

@PikuZheng
Copy link
Contributor Author

If the "Download Folder" is not default, this error occurs when the retry button is clicked after the download fails.
I did not find the reason. Sorry.

@alexta69 alexta69 added the help wanted Extra attention is needed label May 13, 2023
@alexta69
Copy link
Owner

Fixed by #310

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants