Ошибка при бд, че делать могу бд скинут текст Task exception was never retrieved future: <Task finished name='Task-11' coro=<Dispatcher._process_polling_updates() done, defined at C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py:407> exception=TypeError("float() argument must be a string or a real number, not 'NoneType'")> Traceback (most recent call last): File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 415, in _process_polling_updates for responses in itertools.chain.from_iterable(await self.process_updates(updates, fast)): File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 235, in process_updates return await asyncio.gather(*tasks) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\handler.py", line 117, in notify response = await handler_obj.handler(*args, **partial_data) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 256, in process_update return await self.message_handlers.notify(update.message) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\handler.py", line 117, in notify response = await handler_obj.handler(*args, **partial_data) File "C:\Users\Administrator\Desktop\casic\bot\handlers\profile.py", line 108, in profile ref_today_profit = float(ref_today) * (float(perc) / 100) TypeError: float() argument must be a string or a real number, not 'NoneType'
ЛОГИН, в общем, вероятнее всего, у тебя беда не с БД, а с самим скриптом. А именно с частью сбора данных с БД, которая коряво работает (иначе я не знаю, почему он ничего не присваивает переменной)