You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR
[2024-10-25 23:09:03]
ERROR Exception in ASGI application
Traceback (most recent call last)
File "/usr/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/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/uvicorn/middleware/message_logger.py", line 86, in __call__
raise exc from None
File "/usr/lib/python3.11/site-packages/uvicorn/middleware/message_logger.py", line 82, in __call__
await self.app(scope, inner_receive, inner_send)
File "/usr/lib/python3.11/site-packages/fastapi/applications.py", line 282, in __call__
await super().__call__(scope, receive, send)
File "/usr/lib/python3.11/site-packages/starlette/applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/usr/lib/python3.11/site-packages/starlette/middleware/errors.py", line 184, in __call__
raise exc
File "/usr/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/usr/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
raise exc
File "/usr/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/usr/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
raise e
File "/usr/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/usr/lib/python3.11/site-packages/starlette/routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/usr/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/usr/lib/python3.11/site-packages/starlette/routing.py", line 69, in app
await response(scope, receive, send)
File "/usr/lib/python3.11/site-packages/sse_starlette/sse.py", line 233, in __call__
async with anyio.create_task_group() as task_group
File "/usr/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 597, in __aexit__
raise exceptions[0]
File "/usr/lib/python3.11/site-packages/sse_starlette/sse.py", line 236, in wrap
await func()
File "/usr/lib/python3.11/site-packages/sse_starlette/sse.py", line 221, in stream_response
async fordatain self.body_iterator
File "/usr/lib/python3.11/site-packages/starlette/concurrency.py", line 63, in iterate_in_threadpool
yield await anyio.to_thread.run_sync(_next, iterator)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/anyio/to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/starlette/concurrency.py", line 53, in _next
return next(iterator)
^^^^^^^^^^^^^^
File "/app/module/searcher/searcher.py", line 32, in analyse_keyword
torrents = self.search_torrents(rss_item)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/module/searcher/searcher.py", line 24, in search_torrents
return self.get_torrents(rss_item.url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/module/network/request_contents.py", line 22, in get_torrents
soup = self.get_xml(_url, retry)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/module/network/request_contents.py", line 46, in get_xml
return xml.etree.ElementTree.fromstring(req.text)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/xml/etree/ElementTree.py", line 1350, in XML
parser.feed(text)
xml.etree.ElementTree.ParseError syntax error: line 1, column 0
The text was updated successfully, but these errors were encountered:
确认
当前程序版本
3.1.18
问题类型
其他问题
问题描述
使用了番剧搜索功能,但是没有任何响应,看了下日志,有如下报错
发生问题时系统日志
The text was updated successfully, but these errors were encountered: