-
-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Telegram-Plugin bringt Fehler beim Start #490
Comments
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" uname -aLinux host2 5.4.72-v7+ #1356 SMP Thu Oct 22 13:56:54 BST 2020 armv7l GNU/Linux |
Schau mal da: #488 |
Hallo,
gemacht habe ich:
pip install python-telegram-bot (erfolgreich)
BTTokenAPIkey und BOTChatIDAPIKey in config.ini gesetzt
es kommt dieser Fehler
16.11.2020 00:55:28 - pluginLoader [ERROR ] cannot load plugin: Telegram 16.11.2020 00:55:28 - pluginLoader [DEBUG ] cannot load plugin: Telegram Traceback (most recent call last): File "/opt/boswatch/includes/pluginLoader.py", line 106, in loadPlugin return imp.load_module(plugin["name"], *plugin["info"]) File "/opt/boswatch/plugins/Telegram/Telegram.py", line 14, in <module> import telegram File "/usr/local/lib/python2.7/dist-packages/telegram/__init__.py", line 21, in <module> from .base import TelegramObject File "/usr/local/lib/python2.7/dist-packages/telegram/base.py", line 42 _id_attrs: Tuple[Any, ...] = () ^ SyntaxError: invalid syntax 16.11.2020 00:55:28 - pluginLoader [ERROR ] error loading plugin: Telegram 16.11.2020 00:55:28 - pluginLoader [DEBUG ] error loading plugin: Telegram Traceback (most recent call last): File "/opt/boswatch/includes/pluginLoader.py", line 32, in loadPlugins plugin = loadPlugin(i) File "/opt/boswatch/includes/pluginLoader.py", line 106, in loadPlugin return imp.load_module(plugin["name"], *plugin["info"]) File "/opt/boswatch/plugins/Telegram/Telegram.py", line 14, in <module> import telegram File "/usr/local/lib/python2.7/dist-packages/telegram/__init__.py", line 21, in <module> from .base import TelegramObject File "/usr/local/lib/python2.7/dist-packages/telegram/base.py", line 42 _id_attrs: Tuple[Any, ...] = () ^ SyntaxError: invalid syntax 16.11.2020 00:55:28 - boswatch [DEBUG ] starting rtl_fm
Vielen Dank für Eure Hilfe.
The text was updated successfully, but these errors were encountered: