shamhi / NotCoinBot

Bot that mines coins in Notcoin
https://t.me/notcoin_bot
MIT License
69 stars 23 forks source link

Traceback (most recent call last): #10

Closed THMaST3R closed 8 months ago

THMaST3R commented 8 months ago

what is the problem?

Traceback (most recent call last):
  File "/root/NotCoinBot/main.py", line 27, in <module>
    asyncio.run(main())
  File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/root/NotCoinBot/main.py", line 21, in main
    await launch_process(logger=logger)
  File "/root/NotCoinBot/utils/launch_farming.py", line 87, in launch_process
    await compose(clients)
  File "/root/NotCoinBot/venv/lib/python3.10/site-packages/pyrogram/methods/utilities/compose.py", line 70, in compose
    await asyncio.gather(*[c.start() for c in clients])
  File "/root/NotCoinBot/venv/lib/python3.10/site-packages/pyrogram/methods/utilities/start.py", line 73, in start
    self.me = await self.get_me()
  File "/root/NotCoinBot/venv/lib/python3.10/site-packages/pyrogram/methods/users/get_me.py", line 41, in get_me
    r = await self.invoke(
  File "/root/NotCoinBot/venv/lib/python3.10/site-packages/pyrogram/methods/advanced/invoke.py", line 86, in invoke
    await self.fetch_peers(getattr(r, "users", []))
  File "/root/NotCoinBot/venv/lib/python3.10/site-packages/pyrogram/client.py", line 571, in fetch_peers
    await self.storage.update_peers(parsed_peers)
  File "/root/NotCoinBot/venv/lib/python3.10/site-packages/pyrogram/storage/sqlite_storage.py", line 147, in update_peers
    self.conn.execute(
sqlite3.OperationalError: database is locked