2022-07-09 00:05:10,056 (__init__.py:574 MainThread) ERROR - TeleBot: "Infinity polling exception: parameters are of unsupported type"
2022-07-09 00:05:10,105 (__init__.py:576 MainThread) ERROR - TeleBot: "Exception traceback:
Traceback (most recent call last):
File "C:\Python38-64\lib\site-packages\telebot\__init__.py", line 570, in infinity_polling
self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout,
File "C:\Python38-64\lib\site-packages\telebot\__init__.py", line 621, in polling
self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout,
File "C:\Python38-64\lib\site-packages\telebot\__init__.py", line 695, in __threaded_polling
raise e
File "C:\Python38-64\lib\site-packages\telebot\__init__.py", line 651, in __threaded_polling
self.worker_pool.raise_exceptions()
File "C:\Python38-64\lib\site-packages\telebot\util.py", line 147, in raise_exceptions
raise self.exception_info
File "C:\Python38-64\lib\site-packages\telebot\util.py", line 93, in run
task(*args, **kwargs)
File "C:\Users\egris\Desktop\Мой Магазин\241242.py", line 26, in button_message
user = cursor.execute('SELECT * FROM users WHERE User_id=?', (int(us_id)),).fetchall();
ValueError: parameters are of unsupported type
"