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

irst_chunk = await stream.__anext__() # peek first chunk #33

Closed
StephanotZaf opened this issue Feb 17, 2023 · 1 comment
Closed

irst_chunk = await stream.__anext__() # peek first chunk #33

StephanotZaf opened this issue Feb 17, 2023 · 1 comment
Labels
invalid This doesn't seem right

Comments

@StephanotZaf
Copy link

Traceback (most recent call last):
File "/var/www/youtube-dl-api/venv/lib64/python3.9/site-packages/uvicorn/protocols/http/httptools_impl.py", line 419, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/var/www/youtube-dl-api/venv/lib64/python3.9/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in call
return await self.app(scope, receive, send)
File "/var/www/youtube-dl-api/venv/lib64/python3.9/site-packages/fastapi/applications.py", line 212, in call
await super().call(scope, receive, send)
File "/var/www/youtube-dl-api/venv/lib64/python3.9/site-packages/starlette/applications.py", line 112, in call
await self.middleware_stack(scope, receive, send)
File "/var/www/youtube-dl-api/venv/lib64/python3.9/site-packages/starlette/middleware/errors.py", line 181, in call
raise exc
File "/var/www/youtube-dl-api/venv/lib64/python3.9/site-packages/starlette/middleware/errors.py", line 159, in call
await self.app(scope, receive, _send)
File "/var/www/youtube-dl-api/venv/lib64/python3.9/site-packages/starlette/exceptions.py", line 82, in call
raise exc
File "/var/www/youtube-dl-api/venv/lib64/python3.9/site-packages/starlette/exceptions.py", line 71, in call
await self.app(scope, receive, sender)
File "/var/www/youtube-dl-api/venv/lib64/python3.9/site-packages/starlette/routing.py", line 656, in call
await route.handle(scope, receive, send)
File "/var/www/youtube-dl-api/venv/lib64/python3.9/site-packages/starlette/routing.py", line 259, in handle
await self.app(scope, receive, send)
File "/var/www/youtube-dl-api/venv/lib64/python3.9/site-packages/starlette/routing.py", line 61, in app
response = await func(request)
File "/var/www/youtube-dl-api/venv/lib64/python3.9/site-packages/fastapi/routing.py", line 226, in app
raw_response = await run_endpoint_function(
File "/var/www/youtube-dl-api/venv/lib64/python3.9/site-packages/fastapi/routing.py", line 159, in run_endpoint_function
return await dependant.call(**values)
File "/var/www/youtube-dl-api/server.py", line 23, in api_dl
first_chunk = await stream.anext() # peek first chunk

@xcodian xcodian added the invalid This doesn't seem right label Feb 18, 2023
@xcodian
Copy link
Owner

xcodian commented Feb 18, 2023

I appreciate the high effort issue

@xcodian xcodian closed this as not planned Won't fix, can't repro, duplicate, stale Feb 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants