paveL1boyko / MuskEmpireBot

XEmpire Bot
https://t.me/hidden_coding
64 stars 14 forks source link

a lot of errors #18

Open supmyhava opened 2 months ago

supmyhava commented 2 months ago

2024-09-03 17:57:36 | INFO | 56 | 0539908084 | Taps stopped (not enough energy) [198/1023] 2024-09-03 17:57:37 | INFO | 150 | 0539908084 | Level: 20 | Balance: 707.2M | Money per hour: 638.8M 2024-09-03 17:57:37 | INFO | 264 | 0539908084 | Skill: Process Organization upgraded to level: 31 Profit: 13.7M Costs: 137.2M Money stay: 570.2M Skill weight 0.09956 2024-09-03 17:57:38 | INFO | 264 | 0539908084 | Skill: Sam's dream team upgraded to level: 7 Profit: 1.0M Costs: 64.0M Money stay: 506.4M Skill weight 0.01594 2024-09-03 17:57:41 | ERROR | 92 | GLOBAL | 0539906558 | Authorization error: Telegram says: [420 FLOOD_WAIT_X] - A wait of 433 seconds is required (caused by "contacts.ResolveUsername") 2024-09-03 17:57:42 | INFO | 264 | 0539908084 | Skill: Deep Learning upgraded to level: 1 Profit: 770.0k Costs: 80.0M Money stay: 427.1M Skill weight 0.00962 2024-09-03 17:57:44 | ERROR | 395 | 0539906558 | Unknown error Traceback (most recent call last):

File "/root/MuskEmpireBot/main.py", line 13, in asyncio.run(main()) │ │ └ <function main at 0xffff851fc5e0> │ └ <function run at 0xffff84b811c0> └ <module 'asyncio' from '/usr/lib/python3.11/asyncio/init.py'>

File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run return runner.run(main) │ │ └ <coroutine object main at 0xffff825a4400> │ └ <function Runner.run at 0xffff849fbc40> └ <asyncio.runners.Runner object at 0xffff852a1990> File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) │ │ │ └ <Task pending name='Task-1' coro=<main() running at /root/MuskEmpireBot/main.py:8> wait_for=<_GatheringFuture pending cb=[Tas... │ │ └ <function BaseEventLoop.run_until_complete at 0xffff849f98a0> │ └ <_UnixSelectorEventLoop running=True closed=False debug=False> └ <asyncio.runners.Runner object at 0xffff852a1990> File "/usr/lib/python3.11/asyncio/base_events.py", line 641, in run_until_complete self.run_forever() │ └ <function BaseEventLoop.run_forever at 0xffff849f9800> └ <_UnixSelectorEventLoop running=True closed=False debug=False> File "/usr/lib/python3.11/asyncio/base_events.py", line 608, in run_forever self._run_once() │ └ <function BaseEventLoop._run_once at 0xffff849fb600> └ <_UnixSelectorEventLoop running=True closed=False debug=False> File "/usr/lib/python3.11/asyncio/base_events.py", line 1936, in _run_once handle._run() │ └ <function Handle._run at 0xffff84b819e0> └ <Handle Task.task_wakeup()> File "/usr/lib/python3.11/asyncio/events.py", line 84, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ <member '_args' of 'Handle' objects> │ │ │ │ └ <Handle Task.task_wakeup()> │ │ │ └ <member '_callback' of 'Handle' objects> │ │ └ <Handle Task.task_wakeup()> │ └ <member '_context' of 'Handle' objects> └ <Handle Task.task_wakeup()>

File "/root/MuskEmpireBot/bot/launcher.py", line 88, in run_bot_with_delay await run_bot(tg_client=tg_client, proxy=proxy, additional_data=additional_data) │ │ │ └ [{'User-Agent': 'Mozilla/5.0 (iPad; CPU OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/1... │ │ └ None │ └ <pyrogram.client.Client object at 0xffff825cff90> └ <function run_bot at 0xffff82b5a8e0>

File "/root/MuskEmpireBot/bot/core/bot.py", line 404, in run_bot await CryptoBot(tg_client=tg_client, additional_data=additional_data).run(proxy=proxy) │ │ │ └ None │ │ └ [{'User-Agent': 'Mozilla/5.0 (iPad; CPU OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/1... │ └ <pyrogram.client.Client object at 0xffff825cff90> └ <class 'bot.core.bot.CryptoBot'>

File "/root/MuskEmpireBot/bot/core/bot.py", line 349, in run if await self.login_to_app(proxy): │ │ └ None │ └ <function CryptoBot.login_to_app at 0xffff82621bc0> └ <bot.core.bot.CryptoBot object at 0xffff8260f310>

File "/root/MuskEmpireBot/bot/core/bot.py", line 320, in login_to_app self.http_client.headers["Api-Key"] = tg_web_data.hash │ │ │ └ None │ │ └ <property object at 0xffff826fe6b0> │ └ <aiohttp.client.ClientSession object at 0xffff82521c90> └ <bot.core.bot.CryptoBot object at 0xffff8260f310>

AttributeError: 'NoneType' object has no attribute 'hash' 2024-09-03 17:57:46 | INFO | 387 | 0539908084 | Sleep minutes 33 minutes 2024-09-03 17:58:05 | ERROR | 92 | GLOBAL | 0539906558 | Authorization error: Telegram says: [420 FLOOD_WAIT_X] - A wait of 130 seconds is required (caused by "contacts.ResolveUsername") 2024-09-03 17:58:08 | ERROR | 395 | 0539906558 | Unknown error Traceback (most recent call last):

File "/root/MuskEmpireBot/main.py", line 13, in asyncio.run(main()) │ │ └ <function main at 0xffff851fc5e0> │ └ <function run at 0xffff84b811c0> └ <module 'asyncio' from '/usr/lib/python3.11/asyncio/init.py'>

File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run return runner.run(main) │ │ └ <coroutine object main at 0xffff825a4400>

ngocbae98 commented 2 months ago

yes: Bot stopped (too many errors)

supmyhava commented 2 months ago

2024-09-05 16:46:45 | INFO | 86 | 0507166010 | Wait 48 seconds before start 2024-09-05 16:47:34 | ERROR | 92 | GLOBAL | 0507166010 | Authorization error: Telegram says: [420 FLOOD_WAIT_X] - A wait of 112 seconds is required (caused by "contacts.ResolveUsername") 2024-09-05 16:47:37 | ERROR | 396 | 0507166010 | Unknown error Traceback (most recent call last):

File "/root/MuskEmpireBot/main.py", line 13, in asyncio.run(main()) │ │ └ <function main at 0xffffa74d04a0> │ └ <function run at 0xffffa6b41260> └ <module 'asyncio' from '/root/.pyenv/versions/3.11.0/lib/python3.11/asyncio/init.py'>

File "/root/.pyenv/versions/3.11.0/lib/python3.11/asyncio/runners.py", line 190, in run return runner.run(main) │ │ └ <coroutine object main at 0xffffa4109480> │ └ <function Runner.run at 0xffffa69b8040> └ <asyncio.runners.Runner object at 0xffffa7363e50> File "/root/.pyenv/versions/3.11.0/lib/python3.11/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) │ │ │ └ <Task pending name='Task-1' coro=<main() running at /root/MuskEmpireBot/main.py:8> wait_for=<_GatheringFuture pending cb=[Tas... │ │ └ <function BaseEventLoop.run_until_complete at 0xffffa69b5bc0> │ └ <_UnixSelectorEventLoop running=True closed=False debug=False> └ <asyncio.runners.Runner object at 0xffffa7363e50> File "/root/.pyenv/versions/3.11.0/lib/python3.11/asyncio/base_events.py", line 637, in run_until_complete self.run_forever() │ └ <function BaseEventLoop.run_forever at 0xffffa69b5b20> └ <_UnixSelectorEventLoop running=True closed=False debug=False> File "/root/.pyenv/versions/3.11.0/lib/python3.11/asyncio/base_events.py", line 604, in run_forever self._run_once() │ └ <function BaseEventLoop._run_once at 0xffffa69b7920> └ <_UnixSelectorEventLoop running=True closed=False debug=False> File "/root/.pyenv/versions/3.11.0/lib/python3.11/asyncio/base_events.py", line 1909, in _run_once handle._run() │ └ <function Handle._run at 0xffffa6b41bc0> └ <Handle Task.task_wakeup()> File "/root/.pyenv/versions/3.11.0/lib/python3.11/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) │ │ │ │ │ └ <member '_args' of 'Handle' objects> │ │ │ │ └ <Handle Task.task_wakeup()> │ │ │ └ <member '_callback' of 'Handle' objects> │ │ └ <Handle Task.task_wakeup()> │ └ <member '_context' of 'Handle' objects> └ <Handle Task.task_wakeup()>

File "/root/MuskEmpireBot/bot/launcher.py", line 88, in run_bot_with_delay await run_bot(tg_client=tg_client, proxy=proxy, additional_data=additional_data) │ │ │ └ [{'User-Agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0... │ │ └ None │ └ <pyrogram.client.Client object at 0xffffa458c850> └ <function run_bot at 0xffffa4a559e0>

File "/root/MuskEmpireBot/bot/core/bot.py", line 405, in run_bot await CryptoBot(tg_client=tg_client, additional_data=additional_data).run(proxy=proxy) │ │ │ └ None │ │ └ [{'User-Agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0... │ └ <pyrogram.client.Client object at 0xffffa458c850> └ <class 'bot.core.bot.CryptoBot'>

File "/root/MuskEmpireBot/bot/core/bot.py", line 350, in run if await self.login_to_app(proxy): │ │ └ None │ └ <function CryptoBot.login_to_app at 0xffffa4013240> └ <bot.core.bot.CryptoBot object at 0xffffa4a60890>

File "/root/MuskEmpireBot/bot/core/bot.py", line 321, in login_to_app self.http_client.headers["Api-Key"] = tg_web_data.hash │ │ │ └ None │ │ └ <property object at 0xffffa43f2110> │ └ <aiohttp.client.ClientSession object at 0xffffa40201d0> └ <bot.core.bot.CryptoBot object at 0xffffa4a60890>

AttributeError: 'NoneType' object has no attribute 'hash' 2024-09-05 16:47:46 | ERROR | 92 | GLOBAL | 0507166010 | Authorization error: Telegram says: [420 FLOOD_WAIT_X] - A wait of 299 seconds is required (caused by "contacts.ResolveUsername") 2024-09-05 16:47:49 | ERROR | 396 | 0507166010 | Unknown error

devillom commented 2 months ago

I just disable PVP