Skip to content
This repository was archived by the owner on Apr 1, 2024. It is now read-only.
This repository was archived by the owner on Apr 1, 2024. It is now read-only.

bot does not start or work after starting on telegram and /stat or /balance returns this error #32

@lord-dubious

Description

@lord-dubious

Object does not exist
Traceback (most recent call last):
File "/home/dark/.local/lib/python3.10/site-packages/pyrogram/dispatcher.py", line 240, in handler_worker
await handler.callback(self.client, *args)
File "/home/dark/Desktop/NotCoinBot/bot/plugins/nc_manage.py", line 73, in send_stats
start_balance = await get_start_balance(session_id=session_id)
File "/home/dark/Desktop/NotCoinBot/db/functions.py", line 102, in get_start_balance
stat = await Statistic.get(session=session)
File "/usr/local/lib/python3.10/dist-packages/tortoise/queryset.py", line 1020, in _execute
raise DoesNotExist("Object does not exist")
tortoise.exceptions.DoesNotExist: Object does not exist

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions