You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
При попытке поменять в 'type' с 'branch' на любой другой параметр, например, 'street' (чтобы узнать по названию, какие улицы находятся рядом с отправленным местоположением), происходит ряд ошибок:
Traceback (most recent call last):
File "C:\Users\shirn\Downloads\bot_eat-main\bot_eat.py", line 62, in
bot.polling()
File "C:\Users\shirn\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\telebot_init_.py", line 1043, in polling
self._threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout,
File "C:\Users\shirn\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\telebot_init.py", line 1121, in _threaded_polling
raise e
File "C:\Users\shirn\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\telebot_init.py", line 1073, in _threaded_polling
self.worker_pool.raise_exceptions()
File "C:\Users\shirn\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\telebot\util.py", line 150, in raise_exceptions
raise self.exception_info
File "C:\Users\shirn\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\telebot\util.py", line 92, in run
task(*args, **kwargs)
File "C:\Users\shirn\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\telebot_init.py", line 6425, in _run_middlewares_and_handler
result = handler'function'
File "C:\Users\shirn\Downloads\bot_eat-main\bot_eat.py", line 49, in func_call
functions.func_search_gis(bot, call, point)
File "C:\Users\shirn\Downloads\bot_eat-main\functions.py", line 50, in func_search_gis
func_output_gis(bot, call)
File "C:\Users\shirn\Downloads\bot_eat-main\functions.py", line 80, in func_output_gis
address=result['result']['items'][0]['address_name'],
KeyError: 'address_name'
Process finished with exit code 1
The text was updated successfully, but these errors were encountered:
При попытке поменять в 'type' с 'branch' на любой другой параметр, например, 'street' (чтобы узнать по названию, какие улицы находятся рядом с отправленным местоположением), происходит ряд ошибок:
Traceback (most recent call last):
File "C:\Users\shirn\Downloads\bot_eat-main\bot_eat.py", line 62, in
bot.polling()
File "C:\Users\shirn\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\telebot_init_.py", line 1043, in polling
self._threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout,
File "C:\Users\shirn\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\telebot_init.py", line 1121, in _threaded_polling
raise e
File "C:\Users\shirn\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\telebot_init.py", line 1073, in _threaded_polling
self.worker_pool.raise_exceptions()
File "C:\Users\shirn\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\telebot\util.py", line 150, in raise_exceptions
raise self.exception_info
File "C:\Users\shirn\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\telebot\util.py", line 92, in run
task(*args, **kwargs)
File "C:\Users\shirn\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\telebot_init.py", line 6425, in _run_middlewares_and_handler
result = handler'function'
File "C:\Users\shirn\Downloads\bot_eat-main\bot_eat.py", line 49, in func_call
functions.func_search_gis(bot, call, point)
File "C:\Users\shirn\Downloads\bot_eat-main\functions.py", line 50, in func_search_gis
func_output_gis(bot, call)
File "C:\Users\shirn\Downloads\bot_eat-main\functions.py", line 80, in func_output_gis
address=result['result']['items'][0]['address_name'],
KeyError: 'address_name'
Process finished with exit code 1
The text was updated successfully, but these errors were encountered: