akasakaid / blumtod

Auto claim
434 stars 171 forks source link

error #59

Closed luksiko closed 1 month ago

luksiko commented 1 month ago
Traceback (most recent call last):
  File "/Users/alexeyvassilyev/Sites/blumtod/bot.py", line 622, in <module>
    asyncio.run(main())
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/runners.py", line 194, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/Users/alexeyvassilyev/Sites/blumtod/bot.py", line 600, in main
    res = await BlumTod(
          ^^^^^^^^^^^^^^
  File "/Users/alexeyvassilyev/Sites/blumtod/bot.py", line 220, in start
    result = await get_by_id(uid)
             ^^^^^^^^^^^^^^^^^^^^
  File "/Users/alexeyvassilyev/Sites/blumtod/models.py", line 76, in get_by_id
    "useragent": result["useragent"],
                 ~~~~~~^^^^^^^^^^^^^
IndexError: No item with that key
kiethopt commented 1 month ago

same

akasakaid commented 1 month ago

Ref : https://github.com/akasakaid/blumtod/issues/58#issuecomment-2375832233