Ошибка в Python | End Way - форум программирования и сливов различных скриптов
  • Присоединяйтесь к нам в телеграм канал! EndWay канал | EndSoft канал | EWStudio канал
  • Хочешь поставить скрипт, но не умеешь?
    А может ты хочешь свой уникальный скрипт?

    Тогда добро пожаловать в нашу студию разработки!

    Телеграм бот: EWStudioBot
    Телеграм канал: EWStudio

Ошибка в Python

loki8811

Джун
Автор темы
16 Дек 2023
9
0
0
Dimahastl,

C:\Users\lken\Desktop\Гавно шоп с фиксами>py main.py
base.py [LINE:171] #INFO [2023-12-16 12:51:34,214] Scheduler started
database was found (users | 1/18)
database was found (settings | 2/18)
database was found (payment systems | 3/18)
database was found (Refills | 4/18)
database was found (Categories | 5/18)
database was found (Sub-Categories | 6/18)
database was found (Items | 7/18)
database was found (Goods | 8/18)
database was found (Promocodes| 9/18)
database was found (Active Promocodes | 10/18)
database was found (Purchaches | 11/18)
database was found (Languages | 12/18)
database was found (Rates | 13/18)
database was found (AD Buttons | 14/18)
database was found (Mail Buttons | 15/18)
database was found (Contests | 16/18)
database was found (Contests Members | 17/18)
database was found (Contests Settings | 18/18)
executor.py [LINE:362] #INFO [2023-12-16 12:51:34,746] Bot: tweeeesss [@tertrtetet_bot]
executor.py [LINE:358] #WARNING [2023-12-16 12:51:35,246] Updates were skipped successfully.
base_events.py [LINE:1692] #ERROR [2023-12-16 12:51:35,262] Task exception was never retrieved
future: <Task finished name='Task-6' coro=<check_updates() done, defined at C:\Users\lken\Desktop\Гавно шоп с фиксами\tgbot\utils\utils_functions.py:204> exception=ClientConnectorCertificateError(ConnectionKey(host='sites.google.com', port=443, is_ssl=True, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=None), SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))>
Traceback (most recent call last):
File "C:\Users\lken\AppData\Local\Programs\Python\Python38\lib\site-packages\aiohttp\connector.py", line 980, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa
File "C:\Users\lken\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 1042, in create_connection
transport, protocol = await self._create_connection_transport(
File "C:\Users\lken\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 1072, in _create_connection_transport
await waiter
File "C:\Users\lken\AppData\Local\Programs\Python\Python38\lib\asyncio\futures.py", line 257, in __await__
yield self # This tells Task to wait for completion.
File "C:\Users\lken\AppData\Local\Programs\Python\Python38\lib\asyncio\tasks.py", line 349, in __wakeup
future.result()
File "C:\Users\lken\AppData\Local\Programs\Python\Python38\lib\asyncio\futures.py", line 175, in result
raise self._exception
File "C:\Users\lken\AppData\Local\Programs\Python\Python38\lib\asyncio\sslproto.py", line 529, in data_received
ssldata, appdata = self._sslpipe.feed_ssldata(data)
File "C:\Users\lken\AppData\Local\Programs\Python\Python38\lib\asyncio\sslproto.py", line 189, in feed_ssldata
self._sslobj.do_handshake()
File "C:\Users\lken\AppData\Local\Programs\Python\Python38\lib\ssl.py", line 944, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\lken\AppData\Local\Programs\Python\Python38\lib\asyncio\tasks.py", line 280, in __step
result = coro.send(None)
File "C:\Users\lken\Desktop\Гавно шоп с фиксами\tgbot\utils\utils_functions.py", line 206, in check_updates
ress = await session.get(f'
File "C:\Users\lken\AppData\Local\Programs\Python\Python38\lib\site-packages\aiohttp\client.py", line 536, in _request
conn = await self._connector.connect(
File "C:\Users\lken\AppData\Local\Programs\Python\Python38\lib\site-packages\aiohttp\connector.py", line 540, in connect
proto = await self._create_connection(req, traces, timeout)
File "C:\Users\lken\AppData\Local\Programs\Python\Python38\lib\site-packages\aiohttp\connector.py", line 901, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "C:\Users\lken\AppData\Local\Programs\Python\Python38\lib\site-packages\aiohttp\connector.py", line 1209, in _create_direct_connection
raise last_exc
File "C:\Users\lken\AppData\Local\Programs\Python\Python38\lib\site-packages\aiohttp\connector.py", line 1178, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "C:\Users\lken\AppData\Local\Programs\Python\Python38\lib\site-packages\aiohttp\connector.py", line 982, in _wrap_create_connection
raise ClientConnectorCertificateError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host sites.google.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')]
base.py [LINE:886] #INFO [2023-12-16 12:51:35,293] Added job "update_profit_week" to job store "default"
base.py [LINE:886] #INFO [2023-12-16 12:51:35,293] Added job "update_profit_day" to job store "default"
base.py [LINE:886] #INFO [2023-12-16 12:51:35,293] Added job "autobackup_db" to job store "default"
base.py [LINE:886] #INFO [2023-12-16 12:51:35,309] Added job "check_updates" to job store "default"
base.py [LINE:886] #INFO [2023-12-16 12:51:35,309] Added job "check_rates" to job store "default"
=======================
Bot Was Started


dispatcher.py [LINE:358] #INFO [2023-12-16 12:51:35,309] Start polling.
 
Последнее редактирование:

loki8811

Джун
Автор темы
16 Дек 2023
9
0
0
Json Qiest,
C:\Users\lken>pip install --upgrade certifi
Requirement already satisfied: certifi in c:\users\lken\appdata\local\programs\python\python311\lib\site-packages (2022.12.7)
Collecting certifi
Downloading certifi-2023.11.17-py3-none-any.whl.metadata (2.2 kB)
Downloading certifi-2023.11.17-py3-none-any.whl (162 kB)
---------------------------------------- 162.5/162.5 kB 695.4 kB/s eta 0:00:00
Installing collected packages: certifi
Attempting uninstall: certifi
Found existing installation: certifi 2022.12.7
Uninstalling certifi-2022.12.7:
Successfully uninstalled certifi-2022.12.7
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
aiopayok 0.2.1 requires certifi<2023.0.0,>=2022.5.18, but you have certifi 2023.11.17 which is incompatible.
Successfully installed certifi-2023.11.17
 

iq_hydra

Джун
14 Дек 2023
13
5
0
А че ты виртуальное окружение не поднял и вообще на винде лучше установить линус и на нем уже скрипты точить, а не вот это вот все!
 

Stagex

Бот
8 Янв 2023
109
221
0
iq_hydra, всё прекрасно работает и на винде, самое умное решение это снести под чистую пайтон и заново установить его, 3.10 версию(процедура менее пяти минут занимает). У него вообще 3.8 - без комментариев.
 
Активность:
Пока что здесь никого нет