Ankündigung

Einklappen
Keine Ankündigung bisher.

smarthomeNG1.4.2 start fehler

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    smarthomeNG1.4.2 start fehler

    wer kann helfen?

    wolte auf 1.4.2 mit jessie pip3 aktuell.
    unter 1.3 alles gut. als wo kann der fehler liegen?

    File "/usr/lib/python3.4/logging/config.py", line 689, in configure_handler
    formatter = self.config['formatters'][formatter]
    File "/usr/lib/python3.4/logging/config.py", line 317, in __getitem__
    value = dict.__getitem__(self, key)
    KeyError: 'busmonitor'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "/usr/lib/python3.4/logging/config.py", line 557, in configure
    handler = self.configure_handler(handlers[name])
    File "/usr/lib/python3.4/logging/config.py", line 692, in configure_handler
    '%r: %s' % (formatter, e))
    ValueError: Unable to set formatter 'busmonitor': 'busmonitor'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "/usr/local/smarthome/bin/smarthome.py", line 1051, in <module>
    sh = SmartHome(extern_conf_dir=extern_conf_dir)
    File "/usr/local/smarthome/bin/smarthome.py", line 195, in __init__
    self.initLogging()
    File "/usr/local/smarthome/bin/smarthome.py", line 367, in initLogging
    logging.config.dictConfig(doc)
    File "/usr/lib/python3.4/logging/config.py", line 789, in dictConfig
    dictConfigClass(config).configure()
    File "/usr/lib/python3.4/logging/config.py", line 565, in configure
    '%r: %s' % (name, e))
    ValueError: Unable to configure handler 'busmonitor_file': Unable to set formatter 'busmonitor': 'busmonitor'


    #2
    wie sieht deine logging.yaml aus?

    Kommentar


      #3
      Orginal alles wie im repo

      Kommentar


        #4
        wo kommt der key "busmonitor" her? im repo heisst das "knx_busmonitor"
        https://github.com/smarthomeNG/smart...g.yaml.default


        Bitte poste mal wie "original" das File ist :> Ich glaube nur was ich sehe.

        Kommentar


          #5
          Hier mein logging.
          Angehängte Dateien

          Kommentar


            #6
            Im Abschnitt formatters: definierst Du den Formatter busmonitor_format:. Du referenzierst aber im Handler busmonitor_file: den Formatter busmonitor, der nicht definiert ist.

            Da weichst Du entgegen Deiner Aussage vom Original im Repo ab.
            Zuletzt geändert von Msinn; 09.03.2018, 11:10.
            Viele Grüße
            Martin

            There is no cloud. It's only someone else's computer.

            Kommentar


              #7
              Msinn sag ich ihm ja immer diese beratungsresistenz ;-)

              Kommentar


                #8
                Ok Ache auf mein Haupt,
                hatte vergessen die default umzu...
                jetzt ist es besser, nur er logt den knx-bus nicht in die knx-bus log seperat.

                Kommentar


                  #9
                  Hast Du denn das KNX Plugin dementsprechend konfiguriert?
                  Viele Grüße
                  Martin

                  There is no cloud. It's only someone else's computer.

                  Kommentar


                    #10
                    Habe im Plugin.yanl auf logger
                    busmonitor: logger
                    das reicht doch oder?

                    Kommentar


                      #11
                      Sollte.

                      Genau kann ich das nicht sagen, da ich die Möglichkeit nicht nutze.
                      Viele Grüße
                      Martin

                      There is no cloud. It's only someone else's computer.

                      Kommentar

                      Lädt...
                      X