希望没问题,我正在为一个智能门铃项目编译一个小代码,突然这个错误出现在我面前,有解决方案吗
我使用Python3.7和raspberry pi3B中最新版本的telepot库
对不起,我的英语是因为我使用谷歌翻译
错误:
Traceback (most recent call last):
File "/home/pi/.local/lib/python3.7/site-packages/telepot/__init__.py", line 1182, in get_from_telegram_server
allowed_updates=allowed_upd)
File "/home/pi/.local/lib/python3.7/site-packages/telepot/__init__.py", line 1000, in getUpdates
return self._api_request('getUpdates', _rectify(p))
File "/home/pi/.local/lib/python3.7/site-packages/telepot/__init__.py", line 491, in _api_request
return api.request((self._token, method, params, files), **kwargs)
File "/home/pi/.local/lib/python3.7/site-packages/telepot/api.py", line 155, in request
return _parse(r)
File "/home/pi/.local/lib/python3.7/site-packages/telepot/api.py", line 150, in _parse
raise exception.TelegramError(description, error_code, data)
telepot.exception.TelegramError: ('Conflict: terminated by other getUpdates request; make sure that only one bot instance is running', 409, {'ok': False, 'error_code': 409, 'description': 'Conflict: terminated by other getUpdates request; make sure that only one bot instance is running'})
我的代码:https://pastebin.com/2byH6evT
如果您需要任何信息,请与我联系
谢谢你的帮助:)
你好,我发现我自己如何重新解决我基本上重新安装了Telepot,它开始工作 非常感谢所有观看并提供帮助的人:)
RZG
相关问题 更多 >
编程相关推荐