in _process_polling_updates
for responses in itertools.chain.from_iterable(await self.process_updates(updates, fast)):
File "C:\Users\gogus\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\gogus\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\handler.py", line 116, in notify
response = await handler_obj.handler(*args, **partial_data)
File "C:\Users\gogus\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\gogus\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\handler.py", line 116, in notify
response = await handler_obj.handler(*args, **partial_data)
File "c:\Users\gogus\Desktop\myProject\anonChataiogram\main.py", line 30, in start
users = db.get_user()
File "c:\Users\gogus\Desktop\myProject\anonChataiogram\db.py", line 29, in get_user
return self.cursor.execute("SELECT active, user_id FROM users").fetchall()
sqlite3.OperationalError: no such column: active
В чём ошибка?
/paste
Сообщение от Георгий Гусев перемещено на HasteBin Размер: 1418 байт
sqlite3.OperationalError: no such column: active
Обсуждают сегодня