seriaati / hoyo-buddy

A feature-rich, easy to use, beautifully designed Discord bot made for Hoyoverse gamers
https://hb.seria.moe
GNU General Public License v3.0
50 stars 1 forks source link

CookieError: Illegal key 'https://m.hoyolab.com/#/accountCenter/postList?id' #196

Closed sentry-io[bot] closed 2 months ago

sentry-io[bot] commented 2 months ago

Sentry Issue: HOYO-BUDDY-FV

CookieError: Illegal key 'https://m.hoyolab.com/#/accountCenter/postList?id'
(10 additional frame(s) were not displayed)
...
  File "/root/repos/hoyo-buddy/hoyo_buddy/web_app/app.py", line 75, in on_route_change
    view = await self._handle_login_routes(route, parsed_params)
  File "/root/repos/hoyo-buddy/hoyo_buddy/web_app/app.py", line 379, in _handle_login_routes
    view = await self._handle_finish(params, locale)
  File "/root/repos/hoyo-buddy/hoyo_buddy/web_app/app.py", line 279, in _handle_finish
    client = genshin.Client(

2024-09-19 08:01:46.763 | ERROR    | concurrent.futures._base:_invoke_callbacks:342 - exception calling callback for <Future at 0x72f9d510e0d0 state=finished raised CookieError>
Traceback (most recent call last):

  File "/root/repos/hoyo-buddy/run_web_app.py", line 45, in <module>
    ft.app(
    |  -> <function app at 0x72f9ee45b060>
    -> <module 'flet' from '/root/repos/hoyo-buddy/.venv/lib/python3.11/site-packages/flet/__init__.py'>

  File "/root/repos/hoyo-buddy/.venv/lib/python3.11/site-packages/flet_runtime/app.py", line 70, in app
    return asyncio.run(
           |       -> <function run at 0x72f9ef912d40>
           -> <module 'asyncio' from '/root/.pyenv/versions/3.11.5/lib/python3.11/asyncio/__init__.py'>
  File "/root/.pyenv/versions/3.11.5/lib/python3.11/asyncio/runners.py", line 190, in run
    return runner.run(main)
           |      |   -> <coroutine object app_async at 0x72f9e7ecf300>
           |      -> <function Runner.run at 0x72f9ef953ba0>
           -> <asyncio.runners.Runner o...