vanhbakaa / Clayton

Python bot for Clayton telegram bot. Join here:
https://t.me/claytoncoinbot/game?startapp=6624523270
Apache License 2.0
36 stars 8 forks source link

start work and after some time stop #1

Closed Lesha256 closed 3 weeks ago

Lesha256 commented 3 weeks ago

Traceback (most recent call last): File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\bot\core\tapper.py", line 561, in claim_achievement logger.success(f"{self.session_name} | Claimed lvl{level} of {section} achievement - Earned: {claimed['reward']}") File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_logger.py", line 2048, in success self._log("SUCCESS", False, __self._options, message, args, kwargs) File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_logger.py", line 2017, in _log colored_message = Colorizer.prepare_simple_message(str(message)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_colorizer.py", line 368, in prepare_simple_message parser.feed(string) File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_colorizer.py", line 244, in feed raise ValueError('Closing tag "%s" has no corresponding opening tag' % markup) ValueError: Closing tag "" has no corresponding opening tag

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\bot\core\tapper.py", line 591, in get_achievements await self.check_and_claim_achievements(http_client,data) File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\bot\core\tapper.py", line 575, in check_and_claim_achievements await self.claim_achievement(http_client, "games", reward['level']) File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\bot\core\tapper.py", line 565, in claim_achievement logger.error(f"{self.session_name} | Unknown error while claiming achievement: {e}") File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_logger.py", line 2056, in error self._log("ERROR", False, __self._options, message, args, kwargs) File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_logger.py", line 2017, in _log colored_message = Colorizer.prepare_simple_message(str(message)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_colorizer.py", line 368, in prepare_simple_message parser.feed(string) File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_colorizer.py", line 244, in feed raise ValueError('Closing tag "%s" has no corresponding opening tag' % markup) ValueError: Closing tag "" has no corresponding opening tag

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\bot\core\tapper.py", line 896, in run await self.get_achievements(http_client) File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\bot\core\tapper.py", line 599, in get_achievements logger.error(f"{self.session_name} | Unknown error while claiming daily rewards: {error}") File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_logger.py", line 2056, in error self._log("ERROR", False, __self._options, message, args, kwargs) File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_logger.py", line 2017, in _log colored_message = Colorizer.prepare_simple_message(str(message)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_colorizer.py", line 368, in prepare_simple_message parser.feed(string) File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_colorizer.py", line 244, in feed raise ValueError('Closing tag "%s" has no corresponding opening tag' % markup) ValueError: Closing tag "" has no corresponding opening tag Traceback (most recent call last): File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\bot\core\tapper.py", line 561, in claim_achievement logger.success(f"{self.session_name} | Claimed lvl{level} of {section} achievement - Earned: {claimed['reward']}") File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_logger.py", line 2048, in success self._log("SUCCESS", False, __self._options, message, args, kwargs) File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_logger.py", line 2017, in _log colored_message = Colorizer.prepare_simple_message(str(message)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_colorizer.py", line 368, in prepare_simple_message parser.feed(string) File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_colorizer.py", line 244, in feed raise ValueError('Closing tag "%s" has no corresponding opening tag' % markup) ValueError: Closing tag "" has no corresponding opening tag

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\bot\core\tapper.py", line 591, in get_achievements await self.check_and_claim_achievements(http_client,data) File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\bot\core\tapper.py", line 575, in check_and_claim_achievements await self.claim_achievement(http_client, "games", reward['level']) File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\bot\core\tapper.py", line 565, in claim_achievement logger.error(f"{self.session_name} | Unknown error while claiming achievement: {e}") File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_logger.py", line 2056, in error self._log("ERROR", False, __self._options, message, args, kwargs) File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_logger.py", line 2017, in _log colored_message = Colorizer.prepare_simple_message(str(message)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_colorizer.py", line 368, in prepare_simple_message parser.feed(string) File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_colorizer.py", line 244, in feed raise ValueError('Closing tag "%s" has no corresponding opening tag' % markup) ValueError: Closing tag "" has no corresponding opening tag

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\bot\core\tapper.py", line 896, in run await self.get_achievements(http_client) File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\bot\core\tapper.py", line 599, in get_achievements logger.error(f"{self.session_name} | Unknown error while claiming daily rewards: {error}") File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_logger.py", line 2056, in error self._log("ERROR", False, __self._options, message, args, kwargs) File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_logger.py", line 2017, in _log colored_message = Colorizer.prepare_simple_message(str(message)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_colorizer.py", line 368, in prepare_simple_message parser.feed(string) File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_colorizer.py", line 244, in feed raise ValueError('Closing tag "%s" has no corresponding opening tag' % markup) ValueError: Closing tag "" has no corresponding opening tag

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\main.py", line 13, in asyncio.run(main()) File "C:\Users\TB\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 190, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "C:\Users\TB\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\TB\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 654, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\main.py", line 8, in main await process() File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\bot\utils\launcher.py", line 167, in process await run_tapper1(tg_clients=tg_clients, proxies=proxies, wallets=wallets) File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\bot\core\tapper.py", line 982, in run_tapper1 await Tapper(tg_client=tg_client, multi_thread=False, wallet=None, File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\bot\core\tapper.py", line 935, in run logger.error(f"{self.session_name} | Unknown error: {error}") File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_logger.py", line 2056, in error self._log("ERROR", False, __self._options, message, args, kwargs) File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_logger.py", line 2017, in _log colored_message = Colorizer.prepare_simple_message(str(message)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_colorizer.py", line 368, in prepare_simple_message parser.feed(string) File "C:\Users\TB\Desktop\c\vanhbakaa\Clayton\venv\Lib\site-packages\loguru_colorizer.py", line 244, in feed raise ValueError('Closing tag "%s" has no corresponding opening tag' % markup) ValueError: Closing tag "" has no corresponding opening tag Unclosed client session client_session: <aiocfscrape.CloudflareScraper object at 0x0000027F500A6F50> Unclosed connector connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x0000027F51430D70>, 418516.531)]', '[(<aiohttp.client_proto.ResponseHandler object at 0x0000027F514C4C20>, 418522.875)]'] connector: <aiohttp.connector.TCPConnector object at 0x0000027F50E307D0> Restarting the program in 2 seconds... 2024-11-08 10:30:10 | INFO | 129 - Detected 6 sessions | 0 proxies

Do you want to run the bot with multi-thread? (y/n)