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-09-16 11:02:52,999 - scheduler.py - 定时任务 同步CookieCloud站点 执行失败:Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration. - Traceback (most recent call last):
ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.
File "src/lxml/parser.pxi", line 1911, in lxml.etree._parseMemoryDocument
File "src/lxml/etree.pyx", line 3212, in lxml.etree.HTML
^^^^^^^^^^^^^^^^^^^^^
html = etree.HTML(html_text)
File "/app/app/utils/site.py", line 13, in is_logged_in
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
if not indexer.get("public") and not SiteUtils.is_logged_in(res.text):
File "/app/app/chain/site.py", line 267, in sync_cookies
job["func"](*args, **kwargs)
File "/app/app/scheduler.py", line 374, in start
【ERROR】2024-09-16 11:02:52,999 - scheduler.py - 定时任务 同步CookieCloud站点 执行失败:Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration. - Traceback (most recent call last):
【INFO】2024-09-16 11:02:52,285 - site.py - 站点【咖啡】连通性正常,不同步CookieCloud数据
【WARNING】2024-09-16 11:02:51,431 - site.py - 获取RSS链接失败:https://www.pttime.org/
【INFO】2024-09-16 11:02:50,363 - site.py - 站点【PT时间】连通性正常,不同步CookieCloud数据
【INFO】2024-09-16 11:02:48,349 - site.py - 站点【动漫花园】连通性正常,不同步CookieCloud数据
【INFO】2024-09-16 11:02:46,548 - site.py - 站点【MiKan】连通性正常,不同步CookieCloud数据
【INFO】2024-09-16 11:02:45,806 - site.py - 站点【Nyaa】连通性正常,不同步CookieCloud数据
【INFO】2024-09-16 11:02:45,064 - site.py - 开始同步CookieCloud站点 ...
发生问题时系统日志和配置文件
No response
The text was updated successfully, but these errors were encountered:
确认
当前程序版本
v1.9.16
运行环境
Docker
问题类型
主程序运行问题
问题描述
同步cookiecloud站点失败,无论是使用自建服务器还是mp内置服务器都报这个错误
【ERROR】2024-09-16 11:02:52,999 - scheduler.py - 定时任务 同步CookieCloud站点 执行失败:Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration. - Traceback (most recent call last):
报错时日志:
【INFO】2024-09-16 11:02:53,002 - command.py - 处理事件:system.error - []
ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.
File "src/lxml/parser.pxi", line 1911, in lxml.etree._parseMemoryDocument
File "src/lxml/etree.pyx", line 3212, in lxml.etree.HTML
^^^^^^^^^^^^^^^^^^^^^
html = etree.HTML(html_text)
File "/app/app/utils/site.py", line 13, in is_logged_in
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
if not indexer.get("public") and not SiteUtils.is_logged_in(res.text):
File "/app/app/chain/site.py", line 267, in sync_cookies
job["func"](*args, **kwargs)
File "/app/app/scheduler.py", line 374, in start
【ERROR】2024-09-16 11:02:52,999 - scheduler.py - 定时任务 同步CookieCloud站点 执行失败:Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration. - Traceback (most recent call last):
【INFO】2024-09-16 11:02:52,285 - site.py - 站点【咖啡】连通性正常,不同步CookieCloud数据
【WARNING】2024-09-16 11:02:51,431 - site.py - 获取RSS链接失败:https://www.pttime.org/
【INFO】2024-09-16 11:02:50,363 - site.py - 站点【PT时间】连通性正常,不同步CookieCloud数据
【INFO】2024-09-16 11:02:48,349 - site.py - 站点【动漫花园】连通性正常,不同步CookieCloud数据
【INFO】2024-09-16 11:02:46,548 - site.py - 站点【MiKan】连通性正常,不同步CookieCloud数据
【INFO】2024-09-16 11:02:45,806 - site.py - 站点【Nyaa】连通性正常,不同步CookieCloud数据
【INFO】2024-09-16 11:02:45,064 - site.py - 开始同步CookieCloud站点 ...
发生问题时系统日志和配置文件
No response
The text was updated successfully, but these errors were encountered: