akasakaid / pixelversexyzbot

Auto tap-tap / click pixelversexyzbot
https://t.me/pixelversexyzbot?start=629438076
58 stars 15 forks source link

Error when run #1

Closed whatever193 closed 5 months ago

whatever193 commented 5 months ago

Traceback (most recent call last): File "C:\Users\accli\OneDrive\Desktop\Auto Game Tele\pixelversexyzbot-main\bot.py", line 180, in main() File "C:\Users\accli\OneDrive\Desktop\Auto Game Tele\pixelversexyzbot-main\bot.py", line 175, in main client = login(phone) ^^^^^^^^^^^^ File "C:\Users\accli\OneDrive\Desktop\Auto Game Tele\pixelversexyzbot-main\bot.py", line 56, in login client = TelegramClient(f'{session_folder}/{phone}',api_id=api_id,api_hash=api_hash) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\accli\OneDrive\Desktop\Auto Game Tele\pixelversexyzbot-main\env\Lib\site-packages\telethon\client\telegrambaseclient.py", line 290, in init session = SQLiteSession(str(session)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\accli\OneDrive\Desktop\Auto Game Tele\pixelversexyzbot-main\env\Lib\site-packages\telethon\sessions\sqlite.py", line 47, in init c = self._cursor() ^^^^^^^^^^^^^^ File "C:\Users\accli\OneDrive\Desktop\Auto Game Tele\pixelversexyzbot-main\env\Lib\site-packages\telethon\sessions\sqlite.py", line 242, in _cursor self._conn = sqlite3.connect(self.filename, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ sqlite3.OperationalError: unable to open database file

akasakaid commented 5 months ago
git pull

i just update the bot.py

whatever193 commented 5 months ago

Thank you but i see this error " File "C:\Users\accli\OneDrive\Desktop\Auto Game Tele\pixelversexyzbot-main (1)\pixelversexyzbot-main\bot.py", line 118, in bot if int(energy) > int(min_energy): ^^^^^^^^^^^^^^^ TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'"

akasakaid commented 5 months ago

are you already copy file .env.exampleto .env ??

whatever193 commented 5 months ago

Sr. My bad, thank you for help

akasakaid commented 5 months ago

Okay, you are welcome !!, i will close this issue !