Giter Club home page Giter Club logo

Comments (6)

Schrolli91 avatar Schrolli91 commented on August 12, 2024 2

chatIds ist um eine Stelle zu weit eingerückt, soweit ich das sehen kann.
Formatierung ist bei YAML essentiell!

from bw3-core.

janspeller avatar janspeller commented on August 12, 2024 1

Führst du Boswatch als root oder als pi aus?

Bei root: sudo pip3 install python-telegram-bot
Bei pi: pip3 install python-telegram-bot
Ich weiss nicht, ob eine Installation per apt ausreicht.

from bw3-core.

Gonz01990 avatar Gonz01990 commented on August 12, 2024 1

Danke für eure hilfe, anscheinend ware es eine Kombination aus .yaml Syntax und fehlender Abhängigkeit.
Mit dem Befehl sudo apt-get install telegram.bot konnte ich mir helfen.
Jetzt läuft es Danke!

from bw3-core.

Gonz01990 avatar Gonz01990 commented on August 12, 2024

Super schnelle Antwort danke!! Okay ich hab es mal eingerückt. leider klappt es noch nicht. Das hier spuckt das Skript aus

19.10.2022 13:26:51,207 - configYaml      [DEBUG   ] load config file from: /opt/boswatch3/boswatch/../config/server.yaml
19.10.2022 13:26:51,213 - routerManager   [DEBUG   ] build routers
19.10.2022 13:26:51,214 - router          [DEBUG   ] [Router 1] add new router
19.10.2022 13:26:51,216 - wildcard        [DEBUG   ] - boswatch.wildcard loaded
19.10.2022 13:26:51,216 - moduleBase      [DEBUG   ] - module.moduleBase loaded
19.10.2022 13:26:51,216 - modeFilter      [DEBUG   ] - module.filter.modeFilter loaded
19.10.2022 13:26:51,217 - moduleBase      [DEBUG   ] [module.filter.modeFilter] onLoad()
19.10.2022 13:26:51,217 - router          [DEBUG   ] [Router 1] add route: Filter Fms/Pocsag
19.10.2022 13:26:51,218 - pluginBase      [DEBUG   ] - plugin.pluginBase loaded
19.10.2022 13:26:51,219 - routerManager   [ERROR   ] plugin not found: telegram
19.10.2022 13:26:51,219 - bw_server       [CRITICAL] Error while building routers
19.10.2022 13:26:51,220 - bw_server       [ERROR   ] BOSWatch interrupted by an error
19.10.2022 13:26:51,220 - bw_server       [DEBUG   ] Starting shutdown routine
19.10.2022 13:26:51,220 - bw_server       [DEBUG   ] BOSWatch server has stopped ...
--- Logging error ---
Traceback (most recent call last):
  File "/opt/boswatch3/boswatch/network/client.py", line 45, in connect
    self._sock.connect((host, port))
ConnectionRefusedError: [Errno 111] Connection refused

from bw3-core.

janspeller avatar janspeller commented on August 12, 2024

Das koennte mit einer Fehlenden abhaengigkeit zusammenhängen. Hast du python-telegram-bot installiert?

from bw3-core.

Gonz01990 avatar Gonz01990 commented on August 12, 2024

Das koennte mit einer Fehlenden abhaengigkeit zusammenhängen. Hast du python-telegram-bot installiert?

Hallo, ja habe ich installiert.

hier mal eine Auswertung

pi@XXXXXX:/opt/boswatch3/config $ apt list | grep telegram

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

node-telegram-bot-api/stable,stable 2.0.1-1 all
python3-python-telegram-bot-doc/stable,stable 13.3-1 all
python3-python-telegram-bot/stable,stable 13.3-1 all
telegram-cli/stable 1.3.1+git20160323.6547c0b21-2 amd64
telegram-cli/stable 1.3.1+git20160323.6547c0b21-2 i386
telegram-desktop/stable 3.1.1+ds-1deb11u2 amd64
telegram-desktop/stable 3.1.1+ds-1
deb11u2 i386
telegram-purple/stable 1.4.3-3 amd64
telegram-purple/stable 1.4.3-3 i386

from bw3-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.