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

[错误报告]: 在 v2.2.3版本使用Jellyseerr进行订阅电视剧依然出错 #3780

Open
4 tasks done
ericlokz opened this issue Jan 21, 2025 · 0 comments
Open
4 tasks done
Labels
bug Something isn't working

Comments

@ericlokz
Copy link

确认

  • 我的版本是最新版本,我的版本号与 version 相同。
  • 我已经 issue 中搜索过,确认我的问题没有被提出过。
  • 我已经 Telegram频道 中搜索过,确认我的问题没有被提出过。
  • 我已经修改标题,将标题中的 描述 替换为我遇到的问题。

当前程序版本

v2.2.3

运行环境

Docker

问题类型

主程序运行问题

问题描述

更新至v2.2.3之后,使用Jellyseerr订阅某些电视剧或者动漫依然会提交失败,日志如下:

发生问题时系统日志和配置文件

INFO:    thetvdb - 开始获取TVDB信息: 454898 ...

INFO:    themoviedb - 正在识别 Tales Of Herding Gods ...

INFO:    themoviedb - Tales Of Herding Gods TMDB识别结果:电视剧 牧神记 (2024) 236534

INFO:    emby - 牧神记 (2024) 在媒体库 OUGA 中找到了这些季集:{1: [1, 2, 3, 4, 5, 14]}

INFO:     172.17.0.4:54248 - "GET /api/v3/series/lookup?apikey=B3y-H-ltyAchjzvi3YMMc2Bm6G6fN2F2&term=tvdb%3A454898 HTTP/1.1" 200 OK

INFO:     172.17.0.4:54266 - "PUT /api/v3/series?apikey=B3y-H-ltyAchjzvi3YMMc2Bm6G6fN2F2 HTTP/1.1" 500 Internal Server Error

ERROR:    Exception in ASGI application

Traceback (most recent call last):

  File "/usr/local/lib/python3.11/site-packages/uvicorn/protocols/http/h11_impl.py", line 428, in run_asgi

    result = await app(  # type: ignore[func-returns-value]

             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__

    return await self.app(scope, receive, send)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 276, in __call__

    await super().__call__(scope, receive, send)

  File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 122, in __call__

    await self.middleware_stack(scope, receive, send)

  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 184, in __call__

    raise exc

  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in __call__

    await self.app(scope, receive, _send)

  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 83, in __call__

    await self.app(scope, receive, send)

  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__

    raise exc

  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__

    await self.app(scope, receive, sender)

  File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__

    raise e

  File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__

    await self.app(scope, receive, send)

  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 718, in __call__

    await route.handle(scope, receive, send)

  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle

    await self.app(scope, receive, send)

  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 66, in app

    response = await func(request)

               ^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 237, in app

    raw_response = await run_endpoint_function(

                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 165, in run_endpoint_function

    return await run_in_threadpool(dependant.call, **values)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.11/site-packages/starlette/concurrency.py", line 41, in run_in_threadpool

    return await anyio.to_thread.run_sync(func, *args)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.11/site-packages/anyio/to_thread.py", line 56, in run_sync

    return await get_async_backend().run_sync_in_worker_thread(

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 2461, in run_sync_in_worker_thread

    return await future

           ^^^^^^^^^^^^

  File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 962, in run

    result = context.run(func, *args)

             ^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/app/api/servarr.py", line 688, in arr_update_series

    return arr_add_series(tv)

           ^^^^^^^^^^^^^^^^^^

  File "/app/app/api/servarr.py", line 649, in arr_add_series

    subscribe = Subscribe.get_by_tmdbid(db, tmdbid=tv.tmdbId,

                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/app/db/__init__.py", line 179, in wrapper

    raise err

  File "/app/app/db/__init__.py", line 177, in wrapper

    result = func(*args, **kwargs)

             ^^^^^^^^^^^^^^^^^^^^^

TypeError: Subscribe.get_by_tmdbid() got multiple values for argument 'tmdbid'
@ericlokz ericlokz added the bug Something isn't working label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant