vanhbakaa / PocketFi

Python bot for Pocketfi telegram bot.I have made some improvement to avoid bot detection! Join the bot here
https://t.me/pocketfi_bot/Mining?startapp=6624523270
MIT License
45 stars 4 forks source link

Error when starting app #1

Open gkillg opened 1 month ago

gkillg commented 1 month ago

Hello! I was about to try out your code, and i've got an error,but i like your idea about bot! OS: Windows 10 LTSC Here's error:

Traceback (most recent call last): File "D:\Programs\Python\projects\PocketFi-main\main.py", line 4, in from bot.utils.launcher import process File "D:\Programs\Python\projects\PocketFi-main\bot\utils__init.py", line 2, in from . import launcher File "D:\Programs\Python\projects\PocketFi-main\bot\utils\launcher.py", line 8, in from better_proxy import Proxy File "D:\Programs\Python\Lib\site-packages\better_proxy__init__.py", line 1, in from .proxy import Proxy File "D:\Programs\Python\Lib\site-packages\better_proxy\proxy.py", line 28, in class Proxy(BaseModel): File "D:\Programs\Python\Lib\site-packages\pydantic\main.py", line 299, in new__ fields[ann_name] = ModelField.infer( ^^^^^^^^^^^^^^^^^ File "D:\Programs\Python\Lib\site-packages\pydantic\fields.py", line 411, in infer return cls( ^^^^ File "D:\Programs\Python\Lib\site-packages\pydantic\fields.py", line 342, in init self.prepare() File "D:\Programs\Python\Lib\site-packages\pydantic\fields.py", line 451, in prepare self._type_analysis() File "D:\Programs\Python\Lib\site-packages\pydantic\fields.py", line 626, in _type_analysis raise TypeError(f'Fields of type "{origin}" are not supported.') TypeError: Fields of type "<class 'types.UnionType'>" are not supported.

Thank you for the bot!

vanhbakaa commented 1 month ago

what is your python version ?

EmmyManifest commented 1 month ago

Select an action:

1. Run clicker
2. Create session

1 2024-10-02 02:12:39 | INFO | 219 - lfg | Start after 26s... 2024-10-02 02:12:39 | ERROR | 212 - lfg | Unknown error: list index out of range 2024-10-02 02:13:42 | ERROR | 212 - lfg | Unknown error: list index out of range 2024-10-02 02:14:59 | ERROR | 212 - lfg | Unknown error: list index out of range